[Repository/Mirror] deepinWSL 一直出现有关‘usr-is-merged’ 相关的报错
Tofloor
poster avatar
hanoch0505
deepin
2024-04-18 11:51
Author

执行 sudo dpkg --configure -a
返回:

Setting up libtext-iconv-perl (1.7-deepin1) ...
Setting up libtext-charwidth-perl:amd64 (0.04-11) ...
Setting up systemd-sysv (254.5-1) ...
Setting up libc-l10n (2.37-12deepin3) ...
Setting up libtext-glob-perl (0.11-2) ...
Setting up locales-all (2.37-12deepin3) ...
Setting up libnumber-compare-perl (0.03-2) ...
Setting up perl-modules-5.36 (5.36.0-10) ...
Setting up libdbus-1-3:amd64 (1.14.10-3) ...
dpkg: dependency problems prevent configuration of dbus:
dbus depends on usr-is-merged (>= 38~); however:
Package usr-is-merged is not installed.
Version of usr-is-merged on system, provided by usrmerge:all, is .

dpkg: error processing package dbus (--configure):
dependency problems - leaving unconfigured
Setting up dbus-session-bus-common (1.14.10-3) ...
Setting up netbase (6.3) ...
Setting up libpython3.11-minimal:amd64 (3.11.6-3) ...
Setting up dbus-system-bus-common (1.14.10-3) ...
Setting up dbus-bin (1.14.10-3) ...
Setting up liblocale-gettext-perl (1.07-6) ...
Setting up libgdbm6:amd64 (1.22-1) ...
Setting up python3.11-minimal (3.11.6-3) ...
Setting up dbus-daemon (1.14.10-3) ...
Setting up libgdbm-compat4:amd64 (1.22-1) ...
Setting up libperl5.36:amd64 (5.36.0-10) ...
Setting up perl (5.36.0-10) ...
Setting up libfile-find-rule-perl (0.34-1) ...
Setting up usrmerge (38) ...

FATAL ERROR:

/lib/modules/ is a mount point.
Probably this system is using User Mode Linux or some variant of Xen.

To continue the conversion please unmount /lib/modules/ (try the command
'umount -l /lib/modules/') and then try again.
Do not forget to reboot after the conversion is complete to have it
mounted again.

E: usrmerge failed.
dpkg: error processing package usrmerge (--configure):
installed usrmerge package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (254.5-1) ...
Processing triggers for libc-bin (2.37-12deepin3) ...
ldconfig: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link

Errors were encountered while processing:
dbus
usrmerge
Reply Favorite View the author
All Replies
jjcui8595
deepin
2024-04-18 14:06
#1

试试sudo umount -l /lib/modules卸载/lib/modules/,然后重新执行 sudo dpkg --configure -a

Reply View the author
hanoch0505
deepin
2024-04-18 22:33
#2
jjcui8595

试试sudo umount -l /lib/modules卸载/lib/modules/,然后重新执行 sudo dpkg --configure -a

真的有效! 感谢版主

Reply View the author
hanoch0505
deepin
2024-04-18 22:37
#3
jjcui8595

试试sudo umount -l /lib/modules卸载/lib/modules/,然后重新执行 sudo dpkg --configure -a

方便问一下,啥原理吗?

Reply View the author