I'm trying to build a multi CD kit for old servers that only have a DCROM reader I've build several kits, and none of them is working. e.g. - Starting from the Fedora DVD as local repo, using "select all" packages, a 5 CD kit is built. Then the installation completes without errors, but the resulting system does not boot. Recovering with the rescue cd, the installation log shows that many packages have been skipped due to errors - Starting with the online repos (base and updates) and fedora-7-gold.cfg, the installation fails and anaconda produces a traceback.
If I produce a minimal base kit, with just the base system that fit into a single CD, then the installation kit works fine; the kit gets broken only when it is split into multiple CD media.
Sorry but I haven't saved the traceback nor the install log.
Thanks for your support.
Andrea.
I've did the installa again, saving anaconda traceback ... anacdump.txt
Please exclude yum and yum-updatesd from the updates repository using:
exclude=yum yum-updatesd
in the /etc/revisor/conf.d/ configuration files.
I've applied the suggested change. Now the installation process completes successfully. However the system is unusable/unbootable. I'll attach the installation log.
Thanks
Installation log for an unusable system obtained with a multi CD kit fc7-log.tgz
What version of Revisor are you using?[[BR]] Could you also supply your system's architecture and the architecture you're trying to compose?[[BR]] What version of yum is installed on the system?[[BR]] Would you please attach the involved configuration files and kickstart -if you're using any?[[BR]][[BR]] Thank you, in advance,[[BR]] [[BR]] Jeroen van Meeuwen[[BR]] -kanarip
Revisor and yum versions are:
yum-3.2.1-1.fc7 revisor-2.0.4.1-2.fc7
Regarding the architecture, I'm yousr trying to build a general purpose installtion media for servers not equipped with DVD reader; a 5 CD set is required to accomodate all patckages. I'm currently testing the installation media using a VMware Server 1.0.3 VM. I've previously tried Qemu, and a physical system (DELL Poweredge440) with same results. The 5 CD set now builds successfully, but installation fails.
Configuration files are the stock recisor config, with the single modification needed to exclude yum and you-updatesd to avoid anaconda crash:
[updates] name=Fedora 7 - i386 - Updates
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f7&arch=i386
exclude=yum yum-updatesd enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
The kickstart file is the stock fedora-7-gold.cfg.
I need to say that the same problem occur with a DVD local repository and no kickstart file:
[fedora-local] name=Fedora 7 - Moonshine - i386 - DVD baseurl=http://localhost/FC7 enabled=0 gpgcheck=1
This builds a 5 CD set, the installation completes, but the system obtained is unusable.
Looking at the installation log, and comparing with a working system's installation log file obtained using a DVD, it looks to me that something is broken in the order the package are installed. Maybe the first CD does not contain the right packages, or they are not installed in the correct order; maybe something broken in dependency processing. What looks clear is that something is missing while executing the rpm scripts, since AFAIK they are executed in the chrooted environment of the system being installed. Then the installation script fails, and the package is skipped; this initiate a chain reaction so that many packages are then skipped and the resulting system is incomplete/unusable. Well, I'm just guessing.
Thanks for your support. I'm also attaching the config files.
attachment revisor.conf
attachment revisor-f7-i386.conf
attachment fedora-7-gold.cfg
You guys figured out the dependencies issue yet? It would be great to get multi-cd install-sets working.
Please update to revisor-2.0.4.2-1.fc8 from the development repository and see if the issue still exist.[[BR]] [[BR]] yum --enablerepo=development update revisor
Replying to [comment:6 kanarip]:
With NO kikcstart (select all packages) and a local repository defined as follows:
... name=Fedora 7 - Moonshine - i386 - DVD
baseurl=file:///FC7 enabled=0 gpgcheck=1
I get a traceback (see below) I'm now trying with online repositories and fedora-7-gold.cfg kickstart, but this will take more than 12 hours ...
--------traceback------ Running /usr/lib/anaconda-runtime/pkgorder /var/tmp/revisor-pungi/7/f7-i386/i386/os i386 Fedora Got an error from /usr/lib/anaconda-runtime/pkgorder Traceback (most recent call last): File "/usr/lib/anaconda-runtime/pkgorder", line 169, in addGroups(ds, ["core", "base", "text-internet"]) File "/usr/lib/anaconda-runtime/pkgorder", line 105, in addGroups processTransaction(ds) File "/usr/lib/anaconda-runtime/pkgorder", line 77, in processTransaction ds.populateTs(keepold=0) File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 201, in populateTs self.downloadHeader(txmbr.po) File "/usr/lib/python2.5/site-packages/yum/init.py", line 863, in downloadHeader cache=repo.http_caching != 'none', File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 599, in getHeader cache=cache, File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 567, in _getFile http_headers=headers, File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 411, in urlgrab return self._mirror_try(func, url, kw) File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 397, in _mirror_try return func_ref( (fullurl,), *kwargs ) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 927, in urlgrab return self._retry(opts, retryfunc, url, filename) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 845, in _retry r = apply(func, (opts,) + args, {}) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 915, in retryfunc fo._do_grab() File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 1196, in _do_grab else: new_fo = open(self.filename, 'wb') IOError: [Errno 2] No such file or directory: u'/var/tmp/yum-root-wq85fI/anaconda/headers/ifd-egate-0.05-17.i386.hdr'
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/revisor/ready_screen.py", line 173, in button_forward_clicked self.gui.displayBuildMedia() File "/usr/lib/python2.5/site-packages/revisor/gui.py", line 274, in displayBuildMedia self.BuildMedia.start() File "/usr/lib/python2.5/site-packages/revisor/build_media.py", line 69, in start self.base.lift_off() File "/usr/lib/python2.5/site-packages/revisor/base.py", line 787, in lift_off self.buildInstallationMedia() File "/usr/lib/python2.5/site-packages/revisor/base.py", line 1031, in buildInstallationMedia mypungi.doPackageorder() File "/usr/lib/python2.5/site-packages/pypungi/pungi.py", line 146, in doPackageorder self._doRunCommand(pkgorder, output=pkgorderfile) File "/usr/lib/python2.5/site-packages/pypungi/pungi.py", line 77, in _doRunCommand raise OSError, "Got an error from %s" % command[0] OSError: Got an error from /usr/lib/anaconda-runtime/pkgorder
Have you ran with the online repos enabled also? Please exclude yum and yum-updatesd from the updates repository:[[BR]] {{{ [updates] exclude=yum yum-updatesd }}}
Replying to [comment:8 kanarip]:
I'm now running revisor with the online repos and the exclusion of yum and yum-updatesd that you suggest (as always). I'm using the kickstart file fedora-7-gold.cfg. The build is still running, so I don't know how it will do. I only know that it will take very long (about from 12 to 16 hours). I'd prefer working with the local repo based on DVD (just 4 hours to get the traceback ...) However, the current run (online repos, exclusions, fedora-7-gold.cfg) has produced to date the following errors/warnings: No Package Matching mcelog No Package Matching diskdumputils No Package Matching prctl No Package Matching iprutils No Package Matching SysVinit No Package Matching yaboot No Package Matching ppc64-utils No Package Matching elilo No Package Matching s390utils No Package Matching bluez-pin No Package Matching nautilus-sendto-bluetooth No Package Matching plone No Package Matching zope
Is it going to fail? Ciao.
No, if Revisor suspects it's gonna fail due to some error, it asks you whether you want to continue. These are just warnings.
Replying to [comment:10 kanarip]:
I have a new traceback. Using online repositories this time it took about 26 hours to get the traceback. It looks to me that this is the only difference with using DVD based local repository, so please I would like to do any further testing using the DVD local repository, that will save about 22 hours ...
Here is the traceback:
{{{ Reading configuration file /etc/revisor/revisor.conf No Package Matching mcelog No Package Matching diskdumputils No Package Matching prctl No Package Matching iprutils No Package Matching SysVinit No Package Matching yaboot No Package Matching ppc64-utils No Package Matching elilo No Package Matching s390utils No Package Matching bluez-pin No Package Matching nautilus-sendto-bluetooth No Package Matching plone No Package Matching zope Running /usr/lib/anaconda-runtime/pkgorder /var/tmp/revisor-pungi/7/f7-i386/i386/os i386 Fedora Got an error from /usr/lib/anaconda-runtime/pkgorder Traceback (most recent call last): File "/usr/lib/anaconda-runtime/pkgorder", line 169, in addGroups(ds, ["core", "base", "text-internet"]) File "/usr/lib/anaconda-runtime/pkgorder", line 105, in addGroups processTransaction(ds) File "/usr/lib/anaconda-runtime/pkgorder", line 77, in processTransaction ds.populateTs(keepold=0) File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 201, in populateTs self.downloadHeader(txmbr.po) File "/usr/lib/python2.5/site-packages/yum/init.py", line 863, in downloadHeader cache=repo.http_caching != 'none', File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 599, in getHeader cache=cache, File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 567, in _getFile http_headers=headers, File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 411, in urlgrab return self._mirror_try(func, url, kw) File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 397, in _mirror_try return func_ref( (fullurl,), *kwargs ) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 927, in urlgrab return self._retry(opts, retryfunc, url, filename) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 845, in _retry r = apply(func, (opts,) + args, {}) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 915, in retryfunc fo._do_grab() File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 1196, in _do_grab else: new_fo = open(self.filename, 'wb') IOError: [Errno 2] No such file or directory: u'/var/tmp/yum-root-wq85fI/anaconda/headers/ifd-egate-0.05-17.i386.hdr'
}}}
Please exclude yum and yum-updatesd from any of the updates repositories in the Revisor configuration.
yum and yum-updatesd are already excluded. When using the DVD there aren't any update repository used, and I still have the (same) traceback. I can try another build, but definitely not with the online repositories. So if you think this is useful, please send me a complete revisor configuration, to be used with a local repository (the official Fedora 7 DVD). This way we'll make sure that I'm really testing what you believe it should.
For the record, and for your check, these are my config files (used both with local repo and online repos, both ended in the traceback)
Ciao.
{{{ [root@localhost revisor]# cat revisor.conf
[revisor]
media_installation_dvd=0 media_installation_cd=0
media_live_optical=0 media_live_thumb=0
repos_enabledevelopment=0 repos_enabletesting=0 repos_enablesource=0 repos_enabledebuginfo=0
[fc6-i386]
main = /etc/revisor/conf.d/revisor-fc6-i386.conf
product_name = Fedora Core
product_path = Fedora
iso_basename = FC
comps = /etc/revisor/comps-fc6.xml
architecture = i386
version = 6
getsource = 0
[fc6-x86_64] main = /etc/revisor/conf.d/revisor-fc6-x86_64.conf product_name = Fedora Core product_path = Fedora iso_basename = FC comps = /etc/revisor/comps-fc6.xml architecture = x86_64 version = 6 getsource = 0
[fc6-ppc] main = /etc/revisor/conf.d/revisor-fc6-ppc.conf product_name = Fedora Core product_path = Fedora iso_basename = FC comps = /etc/revisor/comps-fc6.xml architecture = ppc version = 6 getsource = 0
[f7-i386] main = /etc/revisor/conf.d/revisor-f7-i386.conf product_name = Fedora product_path = Fedora iso_basename = F comps = /etc/revisor/comps-f7.xml architecture = i386 version = 7 getsource = 0
[f7-x86_64] main = /etc/revisor/conf.d/revisor-f7-x86_64.conf product_name = Fedora product_path = Fedora iso_basename = F comps = /etc/revisor/comps-f7.xml architecture = x86_64 version = 7 getsource = 0
[f7-ppc] main = /etc/revisor/conf.d/revisor-f7-ppc.conf product_name = Fedora product_path = Fedora iso_basename = F comps = /etc/revisor/comps-f7.xml architecture = ppc version = 7 getsource = 0
[rawhide-i386] main = /etc/revisor/conf.d/revisor-rawhide-i386.conf product_name = Fedora product_path = Fedora iso_basename = F comps = /etc/revisor/comps-f7.xml architecture = i386 version = rawhide getsource = 0 repos_enabledevelopment=1 repos_enabletesting=0 repos_enablesource=0 repos_enabledebuginfo=0
[rawhide-x86_64] main = /etc/revisor/conf.d/revisor-rawhide-x86_64.conf product_name = Fedora product_path = Fedora iso_basename = F comps = /etc/revisor/comps-f7.xml architecture = x86_64 version = rawhide getsource = 0 repos_enabledevelopment=1 repos_enabletesting=0 repos_enablesource=0 repos_enabledebuginfo=0
[rawhide-ppc] main = /etc/revisor/conf.d/revisor-rawhide-ppc.conf product_name = Fedora product_path = Fedora iso_basename = F comps = /etc/revisor/comps-f7.xml architecture = ppc version = 7 getsource = 0 repos_enabledevelopment=1 repos_enabletesting=0 repos_enablesource=0 repos_enabledebuginfo=0
[c5-i386] main = /etc/revisor/conf.d/revisor-c5-i386.conf product_name = CentOS product_path = CentOS iso_basename = CentOS comps = /etc/revisor/comps-c5.xml architecture = i386 version = 5 getsource = 0 release_pkgs = ^centos-release.* release_files = eula.txt fedora.css GPL README-BURNING-ISOS-en_US.txt RELEASE-NOTES-en_US.html ^RPM-GPG img images stylesheet-images
[c5-x86_64] main = /etc/revisor/conf.d/revisor-c5-x86_64.conf product_name = CentOS product_path = CentOS iso_basename = CentOS comps = /etc/revisor/comps-c5.xml architecture = x86_64 version = 5 getsource = 0 release_pkgs = ^centos-release.* release_files = eula.txt fedora.css GPL README-BURNING-ISOS-en_US.txt RELEASE-NOTES-en_US.html ^RPM-GPG img images stylesheet-images
[c5-ppc] main = /etc/revisor/conf.d/revisor-c5-ppc.conf product_name = CentOS product_path = CentOS iso_basename = CentOS comps = /etc/revisor/comps-c5.xml architecture = ppc version = 5 getsource = 0 release_pkgs = ^centos-release.* release_files = eula.txt fedora.css GPL README-BURNING-ISOS-en_US.txt RELEASE-NOTES-en_US.html ^RPM-GPG img images stylesheet-images
{{{ [root@localhost revisor]# cat conf.d/revisor-f7-i386.conf [main] cachedir=-yumcache reposdir= keepcache=0 debuglevel=1 logfile=revisor-yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=0 metadata_expire=1800 installroot=/var/tmp/revisor
[fedora] name=Fedora 7 - Moonshine - i386
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-7&arch=i386 enabled=1 gpgcheck=1
[fedora-debuginfo] name=Fedora 7 - Moonshine - Debug - i386
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-7&arch=i386 enabled=0 gpgcheck=1
[fedora-source] name=Fedora 7 - Moonshine - Source
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-7&arch=i386 enabled=0 gpgcheck=1
[updates-testing] name=Fedora 7 - i386 - Test Updates
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f7&arch=i386 enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test
[updates-testing-debuginfo] name=Fedora 7 - i386 - Test Updates Debug
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debug-f7&arch=i386 enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test
[updates-testing-source] name=Fedora 7 - Test Updates Source
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-source-f7&arch=i386 enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f7&arch=i386 exclude=yum yum-updatesd enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[updates-debuginfo] name=Fedora 7 - i386 - Updates - Debug
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f7&arch=i386 enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[updates-source] name=Fedora 7 - Updates Source
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f7&arch=i386 enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[fedora-local] name=Fedora 7 - Moonshine - i386 - DVD
{{{ [root@localhost revisor]# cat conf.d/fedora-7-gold.cfg
auth --useshadow --enablemd5
bootloader --location=mbr
zerombr
clearpart --all --initlabel
graphical
firewall --enabled
firstboot --enabled
keyboard us
lang en_US
logging info
cdrom
network --bootproto=dhcp --device=eth0 --onboot=on
reboot
rootpw revisor
selinux --enforcing
timezone America/New_York
install
xconfig --defaultdesktop=GNOME --startxonboot
%packages
@base @core @base-x kernel*
@hardware-support @dial-up
@gnome-desktop @kde-desktop echo-icon-theme
@authoring-and-publishing @editors emacs @games @graphical-internet @graphics @office @sound-and-video @text-internet @system-tools wireshark-gnome
@development-libs @development-tools @gnome-software-development @kde-software-development @web-development @x-software-development
@dns-server @ftp-server @mail-server @mysql @network-server @news-server @printing @server-cfg @smb-server @sql-server @web-server --optional
@virtualization
reiserfs-utils xfsprogs jfsutils
@afrikaans-support @arabic-support @assamese-support @basque-support @bengali-support @brazilian-support @breton-support @british-support @bulgarian-support @catalan-support @chinese-support @croatian-support @czech-support @danish-support @dutch-support @estonian-support @faeroese-support @finnish-support @french-support @gaelic-support @galician-support @german-support @greek-support @gujarati-support @hebrew-support @hindi-support @hungarian-support @icelandic-support @indonesian-support @irish-support @italian-support @japanese-support @kannada-support @korean-support @lithuanian-support @malay-support @malayalam-support @marathi-support @northern-sotho-support @norwegian-support @oriya-support @polish-support @portuguese-support @punjabi-support @romanian-support @russian-support @serbian-support @sinhala-support @slovak-support @slovenian-support @southern-ndebele-support @southern-sotho-support @spanish-support @swati-support @swedish-support @tamil-support @telugu-support @thai-support @tsonga-support @tswana-support @turkish-support @ukrainian-support @urdu-support @venda-support @welsh-support @xhosa-support @zulu-support
anaconda-runtime iscsi-initiator-utils
I'm not sure what exactly in pkgorder is causing this, I'll take the ticket and try to build our own pkgorder'ing routine, it'll work for the "pkgorder shows no progress" too.
thanks guys, CentOS 5 CDs would be great
This has been fixed now, code is in GIT. Please let me know if this works for you.
does updating from the development repository do the trick?
when running revisor from source, why does it try to find /usr/share/revisor/comps... instead of /etc/revisor/...
Code should be released as an RPM to the development repository soon (2.0.4.3-1rc4, now 2.0.4.3-1rc3).
As per the comps issue: http://lists.fedoraunity.org/pipermail/revisor-devel/2007-August/000161.html
the comps data is not configuration, it is data, and thus shouldn't go in /etc. It is updated, config files in /etc usually have a noreplace flag
Metadata Update from @cerioli@alt.it: - Issue assigned to kanarip - Issue set to the milestone: 2.0.5 (EL-5)