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

Re: Custom remaster of FC3, anaconda errors on install


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 >
/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 -
warning: ignore package name relation(s) [50]   gtk+ -> gdk-pixbuf
warning: ignore package name relation(s) [51]   nautilus -> nautilus-cd-
warning: LOOP:
warning: removing initscripts-8.01-1 "Requires: /sbin/nash" from tsort
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
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
  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

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 !!


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=
> And let the cgi script build an rpm request in the post install section 
> that looks like this:
> rpm -ih 
> ... 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
> /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 redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

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