The upgrade-rc.d Skript in the 6.9.06 Version of sysv-rc was properly broken:
Code:
sysvinit (2.86.ds1-18) unstable; urgency=low
In version 2.86.ds1-16 of the sysv-rc package released 2006-09-06,
the update-rc.d script was broken. When used to to update symlinks
it would remove all symlinks for a init.d script if such symlinks
existed, and add them if they were missing. This broke all packages
being upgraded after the new version was installed, as their init.d
scripts will no longer be executed. This problem was fixed in
version 2.86.ds1-18, but the broken packages will stay broken until
their postinst scripts are executed again.
Those with packages being broken from this bug can fix it by using
'apt-get --reinstall install package' on the affected packages. A
quick way out is to reinstall all the packages with scripts in
/etc/init.d/.
for p in `dpkg -S /etc/init.d/*|cut -d: -f1|sort -u`; do
apt-get --reinstall install -y $p
done
-- Petter Reinholdtsen <pere@debian.org> Thu, 8 Sep 2006 15:40:50 +0200
In the actual sysv-rc ( ds1-18 ) the problem was fixed, but you must recreate the Startuplinks (for services that was upgraded with the broken update-rc.d Script) with the three-liner:
Code:
for p in `dpkg -S /etc/init.d/*|cut -d: -f1|sort -u`; do
apt-get --reinstall install -y $p
done
mfg. Hack-o-Master |