[Pkg-sysvinit-devel] Bug#676463: #676463 sysv-rc: complains incorrectly(?) about obsolete init.d scripts for fuse and others
Timo Juhani Lindfors
timo.lindfors at iki.fi
Mon Jun 11 13:11:44 UTC 2012
Hi,
after changing
add_problematic "package $package left obsolete init.d script behind"
in /var/lib/dpkg/info/sysv-rc.postinst to
add_problematic "package $package left obsolete init.d script $initscript behind"
I get
...
info: Checking if it is safe to convert to dependency based boot.
Configuring sysv-rc
-------------------
Unable to migrate to dependency-based boot system
Problems in the boot system exist which are preventing migration to dependency-based boot sequencing:
package fuse left obsolete init.d script /etc/init.d/fuse behind, package initscripts left obsolete init.d script /etc/init.d/stop-bootlogd behind, package initscripts
left obsolete init.d script /etc/init.d/bootlogd behind, package initscripts left obsolete init.d script /etc/init.d/stop-bootlogd-single behind
If the reported problem is a local modification, it needs to be fixed manually. These are typically due to obsolete conffiles being left after a package has been
removed, but not purged. It is suggested that these are removed by running:
dpkg --purge fuse initscripts initscripts initscripts
Package installation can not continue until the above problems have been fixed. To reattempt the migration process after these problems have been fixed, run "dpkg
--configure sysv-rc".
error: Unable to migrate to dependency based boot sequencing.
error: Problems detected: package fuse left obsolete init.d script /etc/init.d/fuse behind, package initscripts left obsolete init.d script /etc/init.d/stop-bootlogd behind, package initscripts left obsolete init.d script /etc/init.d/bootlogd behind, package initscripts left obsolete init.d script /etc/init.d/stop-bootlogd-single behind
If this is due to the presence of unpurged obsolete initscripts,
it is suggested that the following is run to remove them:
dpkg --purge fuse initscripts initscripts initscripts
See http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot for
more information about dependency based boot sequencing. To
reattempt the migration process run 'dpkg --configure sysv-rc'.
dpkg: error processing sysv-rc (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
sysv-rc
More information about the Pkg-sysvinit-devel
mailing list