At 16:59 27.07.00, you wrote:
>Franz Sirl wrote:
> >
> > At 13:23 27.07.00, Bernhard Rosenkraenzer wrote:
> > >On Thu, 27 Jul 2000, Piotr Majka wrote:
> > >
> > > > [root@link SPECS]# rpm -Uhv
> > > > ../RPMS/i686/{chkconfig-1.2.7-1.i686.rpm,initscripts-5.35-1.i686.rpm}
> > > > file /etc/rc.d/init.d conflicts between attemped installs of
> > > > initscripts-5.35-1 and chkconfig-1.2.7-1
> > > > file /etc/rc0.d conflicts between attemped installs of
> initscripts-5.35-1
> > > > and chkconfig-1.2.7-1
>
>I had no problems installing chkconfig-1.2.1-1 and initscripts-5.27-1
>from rawhide using rpm-3.0.5-0.5 to rebuild the srpms.
>
>Bernhard, what's changed to cause this bug?
upgrading to 5.27 was easy, going from 5.27 to 5.35 is the difficult one.
> > But be extremely careful here, VERIFY that you still have a
> > /etc/rc.d/init.d/functions after the upgrade before the next reboot. I
> > managed to severely shoot myself into the foot on upgrading
> > chkconfig/initscripts from the last rawhide to the current one. My system
> > was unbootable until I added init=/bin/sh to the kernel command line and
> > recreated /etc/rc.d/init.d/functions with rpm2cpio. rpm won't install it if
> > it's already in the database, since it's marked as missingok in the
> > initscripts spec, which is a questionable decision IMHO.
>
>Just use the --replacepkg option :)
Nope, I used --force, didn't help. Checking the docs again... Argh, there
is a --allfiles option, it seems that's nearly the option I was looking
for, I wonder why I didn't see it last time... I would prefer a slightly
less drastic option doing a "install all missing missingok files"
>Also the structure of the init dirs has
>changed. look at /etc/rc.d/
>it's a symlink to /etc/
>so you now have /etc/init.d/
>/etc/rc3.d/ and the scripts are
>/etc/rc, /etc/rc.local, and /etc/rc.sysinit
>like Sun does with Solaris.
>
>The /erc/rc.d symlink is just for compatability.
The problem with the upgrade is that the symlink setup changed again, and
rpm is not very good in handling that, so a simple -Uvh of
chkconfig/initscripts wiped all files in /etc/rc.d/init.d belonging to
initscripts and not even repeated --force installs would recreate
/etc/rc.d/init.d/functions. Since I overlooked the --allfiles option, I
ended up using rpm2cpio|cpio to get at the files.
Franz.
PS. Sorry for the double post of my last mail, my fault. I hate lists with
Reply-To: :-(.
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list