On 5/29/08, Ali Majdzadeh <ali.majdzadeh@xxxxxxxxx> wrote:
Dear Jeroen
I tested your solution but I still get the same error.
Any ideas?
Kind Regards
Ali Majdzadeh Kohbanani2008/5/26 Jeroen van Meeuwen <kanarip@xxxxxxxxxxx>:
Ali Majdzadeh wrote:
Hello All
Following the instructions mentioned at the following address:
http://fedoraproject.org/wiki/Anaconda/Customization
I am trying to build a custom distribution based on CentOs 5.01.
I have performed the following steps:
$ mount /dev/cdrom /mnt
$ mkdir ~/mydistro
$ cp -avp /mnt/* ~/mydistro
$ mv ~/mydistro/CentOS ~/mydistro/mydistro
$ cp /mnt/.discinfo ~/mydistro
$ createrepo -g ~/mydistro/repodata/comps.xml ~/mydistro/mydistro
$ mkdir -p ~/mydistro/mydistro/base
$ cp -avp ~/mydistro/repodata/* ~/mydistro/mydistro/base
$ buildinstall --version 2 --product "MyDistro" --release "MyDistro Linux" --prodpath mydistro ~/mydistro
$ rm -Rf ~/mydistro/.olddata
$ pkgorder ~/mydistro i386 mydistro | tee ~/mydistro/pkgfile
In the last step, i get the following error:
kernel-xen-2.6.18-53.el5.i686.rpm
kernel-PAE-devel-2.6.18-53.el5.i686.rpm
kernel-debug-devel-2.6.18-53.el5.i686.rpm
kernel-PAE-2.6.18-53.el5.i686.rpm
kernel-xen-devel-2.6.18-53.el5.i686.rpm
kernel-debug-2.6.18-53.el5.i686.rpm
kernel-2.6.18-53.el5.i686.rpm
kernel-doc-2.6.18-53.el5.noarch.rpm
kernel-headers-2.6.18-53.el5.i386.rpm
kernel-devel-2.6.18-53.el5.i686.rpm
Traceback (most recent call last):
File "/usr/lib/anaconda-runtime/pkgorder", line 164, in ?
addGroups(ds, ["core", "base", "text-internet"])
File "/usr/lib/anaconda-runtime/pkgorder", line 104, in addGroups
processTransaction(ds)
File "/usr/lib/anaconda-runtime/pkgorder", line 76, in processTransaction
ds.populateTs(keepold=0)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 150, in populateTs
self.downloadHeader(txmbr.po)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 774, in downloadHeader
raise Errors.RepoError, saved_repo_error
yum.Errors.RepoError: failure: CentOS/kudzu-1.2.57.1.15-1.el5.centos.i386.rpm from anaconda: [Errno 256] No more mirrors to try.
Any ideas? Why does it try to check the yum mirrors? Is there anyway to perform the operation locally?
Thanks in advance.
It does operate locally, it's a general error message.
Please try running:
createrepo -o ~/mydistro/. -g ~/mydistro/repodata/comps.xml \
~/mydistro/mydistro
Followed by:(there's an additional / at the end of the base location or "topdir")
pkgorder ~/mydistro/ i386 mydistro | tee ~/mydistro/pkgfile
-Jeroen
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
--
Best Regards,
George Machitidze
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list