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
COMMAND    PID USER  FD   TYPE DEVICE SIZE/OFF NODE NAME
systemd-u 1145 root mem REG 0,20 150384 5 /lib/modules/5.10.104/modules.symbols.bin systemd-u 1145 root mem REG 0,20 322478 8 /lib/modules/5.10.104/modules.alias.bin systemd-u 1145 root mem REG 0,20 119456 10 /lib/modules/5.10.104/modules.dep.bin systemd-u 1145 root mem REG 0,20 7663 4 /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/1    00: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)
||/ Name                    Version      Architecture Description
+++-=======================-============-============-===============================================
un  linux-kernel-log-daemon <none>       <none>       (no description available)
ii linux-libc-dev:amd64 6.1.20-1 amd64 Linux 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     defaults        0       0
proc            /proc   proc    defaults        0       0
#

Reply via email to