[Pkg-sysvinit-devel] Bug#550489: sysv-rc: Migration complains about "obsolete init.d script" of installed package

Petter Reinholdtsen pere at hungry.com
Sat Oct 10 15:45:23 UTC 2009


reassign 550489 mplayer
thanks

[Stephan Windmüller]
> | # dpkg-reconfigure sysv-rc
> | info: Checking if it is safe to convert to dependency based boot.
> | error: Unable to migrate to dependency based boot sequencing.
> | error: Problems detected: package mplayer left obsolete init.d script
> behind
> 
> But the package is installed and lists the script with dpkg:
> 
> | # dpkg -L mplayer | grep init.d
> | /etc/init.d/mplayer
> 
> So I think there is something wrong with the detection if an init.d
> script is really obsolete.

Thank you for this report.  There is nothing wrong with the detection.
You can run this command to see for yourself.

  dpkg-query -W -f='${Conffiles}\n' mplayer

The upgrade bug is in the mplayer package, which left behind the
conffile during upgrade.  The migration is blocked because of this, to
avoid problems in the boot sequence because of obsolete init.d script
headers.  Reassigning the bug to mplayer, where it need to be fixed.

If you want a quick workaround to be able to migrate, you can just
remove the obsolete conffile yourself, ie 'rm /etc/init.d/mplayer'. :)
The proper fix is for the mplayer package to remove it in its postinst
during upgrades.

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list