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.
Kind Regards Ali Majdzadeh Kohbanani
Just as an aside, when I tried to build my own customized distribution, I gave up on following what scant documentation was available (mainly on the wiki) and just read the source for documentation. I highly recommend it if you can read python.
The failure point seems to be familiar, and I'm pretty sure that it's a CentOS patch to anaconda that's causing the problem. Thanks for reminding me to submit this to the CentOS guys.
In anaconda-centos-splittree_allow_missing_RPMSdir.patch there is a patch that changes this line:
- p = os.popen('find %s/ -type f -not -name .discinfo' % self.dist_dir, 'r')
to this line
+ p = os.popen('find %s/ -type f -not -name .discinfo -not -name *.rpm' % self.dist_dir, 'r')
which breaks on my machine. I honestly have no idea how CentOS builds with this patch, unless they're using a weird version of find.
I changed the line to this:
+ p = os.popen('find %s/ -type f -not -name .discinfo -not -name '*.rpm'' % self.dist_dir, 'r')
And that got things working again
HTH. Let me know if this works. Are there any CentOS developers on this list who can tell me how to submit a patch?
Matt
On Mon, 2008-05-26 at 17:19 +0330, 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.
Kind Regards Ali Majdzadeh Kohbanani
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Matt Rose wrote:
Just as an aside, when I tried to build my own customized distribution, I gave up on following what scant documentation was available (mainly on the wiki) and just read the source for documentation. I highly recommend it if you can read python.
The failure point seems to be familiar, and I'm pretty sure that it's a CentOS patch to anaconda that's causing the problem. Thanks for reminding me to submit this to the CentOS guys.
In anaconda-centos-splittree_allow_missing_RPMSdir.patch there is a patch that changes this line:
p = os.popen('find %s/ -type f -not -name .discinfo' % self.dist_dir, 'r')
to this line
p = os.popen('find %s/ -type f -not -name .discinfo -not -name *.rpm' % self.dist_dir, 'r')
which breaks on my machine. I honestly have no idea how CentOS builds with this patch, unless they're using a weird version of find.
I changed the line to this:
p = os.popen('find %s/ -type f -not -name .discinfo -not -name \'*.rpm\'' % self.dist_dir, 'r')
And that got things working again
HTH. Let me know if this works. Are there any CentOS developers on this list who can tell me how to submit a patch?
Matt
Hi Matt,
I'm not one of the CentOS developers, but think I can give you some directions.
CentOS has a bugtracker here: http://bugs.centos.org/my_view_page.php You can create an issue there. And maybe additionally a note to centos-devel@centos.org?
Cheers, Niels
Thanks for the guidance. Maybe we can get this in for CentOS 5.2
I've signed up to the CentOS bug tracking system, I'll submit a Patch to the patchfile.
Matt
On Mon, 2008-05-26 at 16:48 +0200, Niels de Vos wrote:
Matt Rose wrote:
Just as an aside, when I tried to build my own customized distribution, I gave up on following what scant documentation was available (mainly on the wiki) and just read the source for documentation. I highly recommend it if you can read python.
The failure point seems to be familiar, and I'm pretty sure that it's a CentOS patch to anaconda that's causing the problem. Thanks for reminding me to submit this to the CentOS guys.
In anaconda-centos-splittree_allow_missing_RPMSdir.patch there is a patch that changes this line:
p = os.popen('find %s/ -type f -not -name .discinfo' % self.dist_dir, 'r')
to this line
p = os.popen('find %s/ -type f -not -name .discinfo -not -name *.rpm' % self.dist_dir, 'r')
which breaks on my machine. I honestly have no idea how CentOS builds with this patch, unless they're using a weird version of find.
I changed the line to this:
p = os.popen('find %s/ -type f -not -name .discinfo -not -name \'*.rpm\'' % self.dist_dir, 'r')
And that got things working again
HTH. Let me know if this works. Are there any CentOS developers on this list who can tell me how to submit a patch?
Matt
Hi Matt,
I'm not one of the CentOS developers, but think I can give you some directions.
CentOS has a bugtracker here: http://bugs.centos.org/my_view_page.php You can create an issue there. And maybe additionally a note to centos-devel@centos.org?
Cheers, Niels
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
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:
pkgorder ~/mydistro/ i386 mydistro | tee ~/mydistro/pkgfile
(there's an additional / at the end of the base location or "topdir")
-Jeroen
Hello Jeroen Thanks for your mail. I am going to test it. Thanks again.
Kind Regards Ali Majdzadeh Kohbanani
2008/5/26, Jeroen van Meeuwen kanarip@kanarip.com:
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:
pkgorder ~/mydistro/ i386 mydistro | tee ~/mydistro/pkgfile
(there's an additional / at the end of the base location or "topdir")
-Jeroen
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Dear Jeroen I tested your solution but I still get the same error. Any ideas?
Kind Regards Ali Majdzadeh Kohbanani
2008/5/26 Jeroen van Meeuwen kanarip@kanarip.com:
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:
pkgorder ~/mydistro/ i386 mydistro | tee ~/mydistro/pkgfile
(there's an additional / at the end of the base location or "topdir")
-Jeroen
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Strange... Have you submitted a bug?
On 5/29/08, Ali Majdzadeh ali.majdzadeh@gmail.com wrote:
Dear Jeroen I tested your solution but I still get the same error. Any ideas?
Kind Regards Ali Majdzadeh Kohbanani
2008/5/26 Jeroen van Meeuwen kanarip@kanarip.com:
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:
pkgorder ~/mydistro/ i386 mydistro | tee ~/mydistro/pkgfile
(there's an additional / at the end of the base location or "topdir")
-Jeroen
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Hello George No, I have not. Would you please tell me where I should submit a bug? By the way, I tested the same procedure under Fedora Core 9, but the error still remains.
Kind Regards Ali Majdzadeh Kohbanani
2008/5/29, George Machitidze giomac@gmail.com:
Strange... Have you submitted a bug?
On 5/29/08, Ali Majdzadeh ali.majdzadeh@gmail.com wrote:
Dear Jeroen I tested your solution but I still get the same error. Any ideas?
Kind Regards Ali Majdzadeh Kohbanani
2008/5/26 Jeroen van Meeuwen kanarip@kanarip.com:
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:
pkgorder ~/mydistro/ i386 mydistro | tee ~/mydistro/pkgfile
(there's an additional / at the end of the base location or "topdir")
-Jeroen
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
-- Best Regards, George Machitidze _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Hi,
At first check that you have "kudzu" package in list and as file, if you'll not find anything, try to search at http://bugzilla.redhat.com, only then submit it...
On 5/30/08, Ali Majdzadeh ali.majdzadeh@gmail.com wrote:
Hello George No, I have not. Would you please tell me where I should submit a bug? By the way, I tested the same procedure under Fedora Core 9, but the error still remains.
Kind Regards Ali Majdzadeh Kohbanani
2008/5/29, George Machitidze giomac@gmail.com:
Strange... Have you submitted a bug?
On 5/29/08, Ali Majdzadeh ali.majdzadeh@gmail.com wrote:
Dear Jeroen I tested your solution but I still get the same error. Any ideas?
Kind Regards Ali Majdzadeh Kohbanani
2008/5/26 Jeroen van Meeuwen kanarip@kanarip.com:
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:
pkgorder ~/mydistro/ i386 mydistro | tee ~/mydistro/pkgfile
(there's an additional / at the end of the base location or "topdir")
-Jeroen
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
-- Best Regards, George Machitidze _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Hi Goerge Thanks for your mail. Just for reconfirmation, is the following process to build a customized distribution correct? 1) createrepo 2) pkgorder 3) buildinstall 4) splittree.py
Kind Regards Ali Majdzadeh Kohbanani
2008/5/30 George Machitidze giomac@gmail.com:
Hi,
At first check that you have "kudzu" package in list and as file, if you'll not find anything, try to search at http://bugzilla.redhat.com, only then submit it...
On 5/30/08, Ali Majdzadeh ali.majdzadeh@gmail.com wrote:
Hello George No, I have not. Would you please tell me where I should submit a bug? By the way, I tested the same procedure under Fedora Core 9, but the error still remains.
Kind Regards Ali Majdzadeh Kohbanani
2008/5/29, George Machitidze giomac@gmail.com:
Strange... Have you submitted a bug?
On 5/29/08, Ali Majdzadeh ali.majdzadeh@gmail.com wrote:
Dear Jeroen I tested your solution but I still get the same error. Any ideas?
Kind Regards Ali Majdzadeh Kohbanani
2008/5/26 Jeroen van Meeuwen kanarip@kanarip.com:
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:
pkgorder ~/mydistro/ i386 mydistro | tee ~/mydistro/pkgfile
(there's an additional / at the end of the base location or "topdir")
-Jeroen
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
-- Best Regards, George Machitidze _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
-- Best Regards, George Machitidze
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Ali Majdzadeh wrote:
Hi Goerge Thanks for your mail. Just for reconfirmation, is the following process to build a customized distribution correct?
- createrepo
- pkgorder
- buildinstall
- splittree.py
Revisor[1] uses:
1) createrepo 2) buildinstall
then, if size of tree does not fit on a single disc: 3) pkgorder 4) splittree 5) createrepo --split
6) create ISO images (mkisofs) 7) implantisomd5
Kind regards,
Jeroen van Meeuwen
anaconda-devel@lists.stg.fedoraproject.org