Thinking more about it, if update-rc.d also updates the backup file on
package removals and upgrades (not only installs), it would also
gracefully handle this case.

So, I think when insserv is installed and activated, it should create a
snapshot of the current /etc/rc*.d directories.
When packages are removed/installed/upgraded, and they call update-rc.d
in their maintainer scripts, those changes should be recorded in the
backup, so the state is always in sync with the actually installed packages.

When insserv is removed, it should roll back the changes from this
up-to-date backup.

Cheers,
Michael

P.S.: I was tempted to file this bug with a severity higher than
important, as it completely broke my system. A more unexperienced user
would probably have been completely lost.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to