RE: Dilemma: Need to build single CD uptodate 6.2 kickstart, but 2 approaches both fail

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

 



I just use rpm-3.0.5.  It seems to work much better for kickstart.  Also,
don't use any updates that came out after rpm-4.0.2 (like netscape-4.77),
because they will fail like before.  I have all updates up to rpm-4.0.2, and
if I want rpm-4 or the new Netscape, I have written a script that runs after
I login as root, which mounts an NFS partition that has all of the newer
updates, installs them, and runs rpm --rebuilddb.  You should be able to do
the same thing in the %post script.

Forrest

> -----Original Message-----
> From: Mike Onyskiw [mailto:mike@xxxxxxxxxxxxxxxxxxx]
> Sent: Tuesday, May 29, 2001 1:03 PM
> To: kickstart-list@xxxxxxxxxx
> Subject: Dilemma: Need to build single CD uptodate 6.2 
> kickstart, but 2
> approaches both fail
> 
> 
> I'm trying to build a custom installation CD of current, 
> bug-fixed RH6.2
> 
> (necessary software is tested on 6.2, not on 7.1),  and am 
> encountering
> some obstacles.
> 
> Basically, I need to create an automated install (using 
> kickstart) that
> I can pass onto someone else to build 30+ boxes (and reinstall if h/w
> problems occur in time). There's a couple of custom packages, but I'm
> happy with that side.
> 
> Main issue revolves around introduction of RPM4.  Using 6.2 
> binary CD as
> 
> base, genhdlist fails to deal with rpms >3.0. OK, recompiled genhdlist
> with later rpm libraries and -lpopt, & copied rpm binary across.
> (3.0.5). Seems to work OK until post-install, when discovered 
>  RPM4 rpms
> 
> not installed (including kernel, etc). Trying upgrade from CD reports
> unresolved dependencies for those packages, but no suggestions, or
> further details. (am using updated boot disk and update disk)
> 
> Attempted to duplicate RPM4  update to CD manually (db3, rpm, 
> popt), but
> 
> unfortunately this results in an early anaconda error referring to the
> infamous "undefined symbol:fdio". Can't find the rpm module to tell it
> about rpmio - suspect this is compiled in,.
> 
> Try alternate approach - can I use RH7.1 install CD / floppy 
> as a basis?
> 
> (still want 6.2 installed). Replace all RPMs with the 6.2 set, and
> generate new hdlist  (using recompiled 6.2 genhdlist, as no longer on
> 7.1 CD), and then a hdlist2 (with a dummy RPM), as it seems 
> to insist on
> 
> its presence.
> 
> Current obstacle is in comps.py, in mergeFullHeaders:
> rpm.mergeHeaderListfromFD (self.hdlist,fd,1000004)
> rpm.error: match tag missing in new header
> 
> Again, I can't find the rpm module, and can't work out why 
> (or what) it
> is quizzing on the floppy (FD?).
> 
> Does anyone have a clue on either approach?
> 
> Or an alternate method that doesn't involve multiple CDs, and multiple
> manual selection of packages for update (rpm, etc, followed by others,
> with reboots inbetween - I can see stuff being missed, and 
> inconsistent
> build states at the end of the process).
> 
>  I have, of course used the Burning a RedHat CD HOWTO, (v1.35),
> unfortunately it predates the RPM4 issue :-(
> 
> All help, pointers, etc, gratefully received (I'll try to get any good
> stuff into the relevant docs)
> 
> Regards,
> Mike Onyskiw
> 
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/kickstart-list
> 





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux