Bug#922815: insserv: FATAL: service mountkernfs has to be enabled to use service keyboard-setup.sh

Thorsten Glaser t.glaser at tarent.de
Tue Jun 13 19:10:54 BST 2023

On Tue, 13 Jun 2023, Thomas Deutschmann wrote:

>> You did upgrade to Debian 10, then Debian 11, in the middle, right?
> Yes, of course.


>  apt-get upgrade
>  apt-get full-upgrade

I personally tend to use:
   apt-get --purge dist-upgrade

This takes care of purging the configuration files of packages
that get removed (take care, of course, to not let it remove
things you still need, like the old PostgreSQL version until
the cluster(s) have migrated).

>  apt-get autoremove

Again, add --purge here and take care (though etckeeper helps).

> Now the system is really in a clean state with only debian12 packages
> installed.

Is it? Remember that apt doesn’t know about leftover conffiles.

Try: dpkg -l | grep -v ^ii | cut -c 1-$COLUMNS

This ought to show only the header and perhaps “held” packages
(first column “hi”); if it also shows “rc” in the first column
then you have leftover conffiles, which indeed can cause trouble;
run “dpkg --purge pkgname pkgname…” to clean them up.

Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

/⁀\ The UTF-8 Ribbon
╲ ╱ Campaign against      Mit dem tarent-Newsletter nichts mehr verpassen:
 ╳  HTML eMail! Also,     https://www.tarent.de/newsletter
╱ ╲ header encryption!

More information about the Debian-init-diversity mailing list