[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: genhdlist borked on U3beta
- From: csieh <csieh fnal gov>
- To: "Discussion of Red Hat Enterprise Linux 3 (Taroon)" <taroon-list redhat com>
- Subject: Re: genhdlist borked on U3beta
- Date: Thu, 29 Jul 2004 17:35:03 -0500 (CDT)
On Thu, 29 Jul 2004, Garrick Staples wrote:
> On Thu, Jul 29, 2004 at 03:10:01PM -0700, Christopher McCrory alleged:
> > Hello...
> >
> > I am used to being able to remove old rpms and add Eratta rpms to
> > RedHat/RPMS then run /usr/lib/anaconda-runtime/genhdlist `pwd` to
> > regenerate base/hdlist{,2} . WIth U2 this wasn't working for me
> > anymore. At first I thought it was my ks.cfg setup. But I just tried
> > with RHEL3 U3beta. no changes, just
> > /usr/lib/anaconda-runtime/genhdlist /var/ftp . With a minimal install
> > , reboot, no go. am I missing some new arguments?
> >
> > The new install tree seems to have lost it's dependency information.
> > all rpms are installed alphabetically. for instance 'shadow-utils'
> > gets installed rather late, causing many packages to not install
> > correctly since /usr/sbin/adduer doesn't exist. no kernel either,
> > which is why bootup fails :|
> >
> > Is this a bug or am I missing something?
>
> You need to generate the fileorder list and pass that to genhdlist. I do this
> in two passes..
>
> export PYTHONPATH=/usr/lib/anaconda
> rhroot=/some/nifty/place
> /usr/lib/anaconda-runtime/genhdlist $rhroot
> /usr/lib/anaconda-runtime/pkgorder $rhroot i386 > $rhroot/RedHat/base/pkgorder
> /usr/lib/anaconda-runtime/genhdlist --fileorder $rhroot/RedHat/base/pkgorder $rhroot
>
>
RedHat changed something in the python rpm library to make the old way not
work any more. From packages.py
------------------------------------------------------------------------
depcheck = DependencyChecker(id.grpset)
if not id.grpset.hdrlist.preordered():
log ("WARNING: not all packages in hdlist had order tag")
# have to call ts.check before ts.order() to set up the alIndex
ts.check(depcheck.callback)
ts.order()
else:
ts.check(depcheck.callback)
------------------------------------------------------------------------
Before Update 2 if you had not used --fileorder with genhdlist the
installer (packages.py in this case) would go to the "true" case in the
above code. With Update 2 it still goes to the "true" case but the
ts.order() does not seem to work . Seems like it is still broken in
Update 3. I suspect RedHat does not know it is broken as they always use
--fileorder with genhdlist.
-Connie Sieh
Fermi National Accelerator Laboratory
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]