Package: usrmerge
Version: 25
Severity: serious
I have some VPSes which are based on Xen, so the kernel comes from the host, and
the VPS has no kernel installed. /lib/modules is mounted but not via
/etc/fstab. When trying to upgrade from bullseye to bookworm, I get:
Preparing to unpack .../archives/usrmerge_35_all.deb ...
Unpacking usrmerge (35) ...
Setting up usrmerge (35) ...
FATAL ERROR:
/lib/modules/ is a mount point.
Probably this system is using User Mode Linux.
To continue the conversion please:
- replace '/lib/modules/' with '/usr/lib/modules/' in /etc/fstab
- reboot
- try again
E: usrmerge failed.
dpkg: error processing package usrmerge (--configure):
installed usrmerge package post-installation script subprocess returned error
exit status 1
Errors were encountered while processing:
usrmerge
E: Sub-process /usr/bin/dpkg returned an error code (1)
Here is some more info which should hopefully be helpful:
# umount /lib/modules/
umount: /lib/modules/: target is busy.
# lsof /lib/modules
COMMANDPID USER FD TYPE DEVICE SIZE/OFF NODE NAME
systemd-u 1145 root memREG 0,20 1503845
/lib/modules/5.10.104/modules.symbols.bin
systemd-u 1145 root memREG 0,20 3224788
/lib/modules/5.10.104/modules.alias.bin
systemd-u 1145 root memREG 0,20 119456 10
/lib/modules/5.10.104/modules.dep.bin
systemd-u 1145 root memREG 0,20 76634
/lib/modules/5.10.104/modules.builtin.bin
# ps -ef|grep 1145
root 1145 1 0 09:29 ?00:00:00 /lib/systemd/systemd-udevd
root 16599 25980 0 10:11 pts/100:00:00 grep 1145
# dpkg -l linux*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ NameVersion Architecture Description
+++-===---===
un linux-kernel-log-daemon (no description available)
ii linux-libc-dev:amd646.1.20-1 amd64Linux support headers for
userspace development
# mount |grep /lib
modules on /lib/modules type tmpfs (rw,relatime,size=102400k,mode=700)
# cat /etc/fstab
/dev/xvda1 / xfs defaults0 0
proc/proc procdefaults0 0
#