RE: Custom remaster of FC3, anaconda errors on install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am having a similar problem.  I have been building custom CD's since FC2 Test 1 and updating it to each new release as it came out until the FC2 release.  I could not risk doing any of the FC3 test releases because they could have been unstable.  So I have been trying to update to FC3 now and I am having the same problem as described below.  I did notice one error/warning? message about there not being a dev package before the warning about "not all packages in hdlist had order tag".  Could the no dev package thing have anything to do with the problem?

I am going to see how my procedure for pkglist varies from the one outlined below (I can't remember since I wrote the script 9 months ago), perhaps that will fix the problem.  I was just wondering if the dev package thing is normal now that there is udev?

Thanks
  -Scott



-----Original Message-----
From: anaconda-devel-list-bounces@xxxxxxxxxx
[mailto:anaconda-devel-list-bounces@xxxxxxxxxx]On Behalf Of CP
Sent: Tuesday, December 28, 2004 5:51 PM
To: Phil Meyer
Cc: Anaconda-devel-list@xxxxxxxxxx
Subject: Re: Custom remaster of FC3, anaconda errors on install


Phil, 

I am very encouraged to see your post about remastering FC3, and I am
glad that Earl has had success with your script as well.  I however am
about to go nuts trying to get this to work. (painful grin)  I, like you
(I think), am using the stock FC3 DVD tree, replacing RPMS with updated
ones, and remastering the DVD iso to get a patched install DVD.  I have
been working on this since FC3 was released with no success.  With FC2,
I used only the following to update hdlist with consistent success:

/usr/lib/anaconda-runtime/genhdlist --productpath Fedora $FEDORAROOT

where $FEDORAROOT is the root of the build tree

When FC3 came out, I used the same command (which completed
successfully), but then I also experienced installer crash immediately
after "Preparing RPM Transaction", with the only terminal error being
the infamous: "WARNING: not all packages in hdlist had order tag".
After research it seemed that the pkglist/fileorder was now necessary
with FC3 for some reason, so I tried the following:

export PYTHONPATH=/usr/lib/anaconda
export PATH=$PATH:/usr/lib/anaconda-runtime
/usr/lib/anaconda-runtime/genhdlist --productpath Fedora $FEDORAROOT
/usr/lib/anaconda-runtime/pkgorder $FEDORAROOT i386 >
$FEDORAROOT/Fedora/base/pkgorder
/usr/lib/anaconda-runtime/genhdlist --fileorder
$FEDORAROOT/Fedora/base/pkgorder $FEDORAROOT

This procedure, (as well as your script) fails at pkgorder consistently
with the following loop:
  
warning: ignore package name relation(s) [49]   openoffice.org-libs -
>openoffice.org
warning: ignore package name relation(s) [50]   gtk+ -> gdk-pixbuf
warning: ignore package name relation(s) [51]   nautilus -> nautilus-cd-
burner
warning: LOOP:
warning: removing initscripts-8.01-1 "Requires: /sbin/nash" from tsort
relations.
warning:     initscripts-8.01-1
Requires: /sbin/nash
warning:     mkinitrd-4.1.19-1                        PreReq: dev
warning:     udev-039-10.FC3.6                        PreReq: lvm2
warning: removing lvm2-2.00.25-1.01 "Requires: kernel >= 2.6" from tsort
relations.
warning:     lvm2-2.00.25-1.01                        Requires: kernel
>= 2.6
warning:     kernel-smp-2.6.9-1.681_FC3               PreReq:
initscripts >= 5.83
Traceback (most recent call last):
  File "/usr/lib/anaconda-runtime/pkgorder", line 265, in ?
    group.select(selectOptional = 1)
  File "/usr/lib/anaconda/hdrlist.py", line 670, in select
    self.selectDeps([pkgnevra])
  File "/usr/lib/anaconda/hdrlist.py", line 571, in selectDeps
    p = depMatch(dep, self.grpset.hdrlist)
  File "/usr/lib/anaconda/hdrlist.py", line 172, in depMatch
    l.append(f[0])
KeyboardInterrupt


It seems to be some sort of looping dependency issue.  I have tried
rebuilding the DVD tree several times just to be sure I wasn't
accidentally deleting something, but I am fairly confident that I am not
doing something that obvious ;-)

Anyway, I apologize for the lengthy history here, but I hope that you
and/or other readers may have some insight.

BTW: my build system is running FC3 patched daily, and I have also tried
development versions of anaconda and anaconda-runtime with no success.

Thanks !!

Chris


On Tue, 2004-12-28 at 20:46 +0000, Phil Meyer wrote: 
> Earl wrote:
> 
> > 
> >We were able to create an ISO and boot it w/in VMWare,
> >however, it dies at the very end of "Preparing RPM
> >Transaction" with "Install exited abnormally".
> >
> >Documents above conflict on wheter or not it is
> >necessary to modify .discinfo and/or
> >comps.xml (since we have removed/added rpm's).
> >
> >Any ideas why anaconda may be crashing at this stage?
> >  
> >
> I have recently attempted this myself.  For me, the key was: pkgorder 
> and the correct arguments to genhdlist. 
> 
> In the example below, my modified distro is unpacked at /big/FC3.  I 
> created it by copying the contents of the DVD to /big/FC3, adding newer 
> packages to /big/FC3/Fedora/RPMS/.  I got rid of the duplicates and 
> added lots of packages like mplayer, the dvd libraries, and such.  In 
> order to use the new packages from kickstart, you must edit the 
> comps.xml and comps.rpm files.  I haven't gotten that far yet, so I do 
> it from the post section in my ks.cfg file.  The rpm program understands 
> URLs, so that makes it easy to add packages from post.  Also, the ks= 
> directive understands URLs and thus is able to run a cgi script.  We do 
> stuff like:
> # linux text ks=http://10.7.23.106/cgi-bin/fc3.cgi?TYPE=desktop
> And let the cgi script build an rpm request in the post install section 
> that looks like this:
> 
> rpm -ih 
> http://10.7.23.106/ks/FC3/Fedora/RPMS/aalib-1.4.0-5.1.fc3.rf.i386.rpm 
> http://10.7.23.106/ks/FC3/Fedora/RPMS/cdrdao-1.1.9-6.i386.rpm 
> http://10.7.23.106/ks/FC3/Fedora/RPMS/divx4linux-5.0.5-0.1.fc3.rf.i386.rpm 
> http://10.7.23.106/ks/FC3/Fedora/RPMS/faad2-2.0-2.20040923.1.fc3.rf.i386.rpm 
> http://10.7.23.106/ks/FC3/Fedora/RPMS/gtweakui-0.4.0-1.1.fc3.rf.i386.rpm 
> http://10.7.23.106/ks/FC3/Fedora/RPMS/id3lib-3.8.3-4_1.rhfc2.92.at.i386.rpm
> ... and all one line
> 
> Anyways, here is the script I now use to make the modified distro usable 
> by anaconda:
> 
> #!/bin/sh
> PYTHONPATH=/usr/lib/anaconda
> export PYTHONPATH
> /usr/lib/anaconda-runtime/pkgorder /big/FC3 i386 Fedora > /tmp/pkglist
> /usr/lib/anaconda-runtime/genhdlist --fileorder /tmp/pkglist 
> --withnumbers --productpath Fedora /big/FC3
> 
> Works like a champ.  You will have to remove any duplicate packages that 
> gendhlist complains about, then try again, cleanup errors, and again 
> until it runs clean.
> 
> _______________________________________________
> 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


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux