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

2023-06-13 Thread Thomas Deutschmann

On 2023-06-13 20:10, Thorsten Glaser wrote:

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).


Thank you, I didn't know about mixing "dist-upgrade" command with "purge"!



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


Yes, it is :)

I run similar commands during the cleanup when we noticed the gnutls 
problem. All non debian12 packages are now purged. Just to be sure that 
there really isn't any leftover or manually added file which could 
interfere in some unexpected ways I even feeded all files through dpkg.



--
Regards,
Thomas



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

2023-06-13 Thread Thorsten Glaser
On Tue, 13 Jun 2023, Thomas Deutschmann wrote:

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

OK.

>  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.

bye,
//mirabilos
-- 
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!




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

2023-06-13 Thread Thorsten Glaser
On Sun, 28 May 2023, Thomas Deutschmann wrote:

> Note: The system was recently upgraded from Debian 8 (without systemd) to
> Debian 9 (where I switched to systemd) to Debian 12.

You did upgrade to Debian 10, then Debian 11, in the middle, right?

Otherwise your system is now completely unsupportable and you will
have to clean up the resulting mess yourself. Skipping releases in
an upgrade was *never* supported, and it’s documented in basically
every place…

bye,
//mirabilos
-- 
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!




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

2023-05-28 Thread Thomas Deutschmann

Hi,

I saw that message today while upgrading bookworm RC3 to RC4:


[...]
Setting up console-setup-linux (1.221) ...
insserv: FATAL: service mountkernfs has to be enabled to use service 
keyboard-setup.sh
[...]


Note: The system was recently upgraded from Debian 8 (without systemd) 
to Debian 9 (where I switched to systemd) to Debian 12.


In my case it looks like insserv was a leftover of


$ aptitude why insserv
i   chkconfig Recommends insserv


I purged both packages.


--
Regards,
Thomas