[problem help] Win11商店deepin WSL安装vim失败
Tofloor
poster avatar
Arc
deepin
2024-03-14 02:34
Author
inknight@AMD-Win11Pro:~$ sudo apt install vim
[sudo] password for inknight:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 dbus : Depends: usr-is-merged (>= 38~)
 vim : Depends: vim-common (= 2:8.2.3565-deepin) but it is not going to be installed
       Depends: vim-runtime (= 2:8.2.3565-deepin) but it is not going to be installed
       Depends: libgpm2 (>= 1.20.7) but it is not going to be installed
       Depends: libsodium23 (>= 1.0.14) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

#安装失败后执行了sudo apt --fix-broken install

inknight@AMD-Win11Pro:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  gcc-13-base libglib2.0-0 systemd-sysv
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  usr-is-merged
The following NEW packages will be installed:
  usr-is-merged
0 upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
10 not fully installed or removed.
Need to get 0 B/5,492 B of archives.
After this operation, 13.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 14499 files and directories currently installed.)
Preparing to unpack .../usr-is-merged_38_all.deb ...


******************************************************************************
*
* The usr-is-merged package cannot be installed because this system does
* not have a merged /usr.
*
* Please install the usrmerge package to convert this system to merged-/usr.
*
* For more information please read https://wiki.debian.org/UsrMerge.
*
******************************************************************************


dpkg: error processing archive /var/cache/apt/archives/usr-is-merged_38_all.deb (--unpack):
 new usr-is-merged package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/usr-is-merged_38_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

#搜索了下https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019506
#执行了/usr/lib/usrmerge/convert-usrmerge

inknight@AMD-Win11Pro:~$ /usr/lib/usrmerge/convert-usrmerge
-bash: /usr/lib/usrmerge/convert-usrmerge: No such file or directory

#I have no idea,I need help!
Reply Favorite View the author
All Replies
jjcui8595
Moderator
2024-03-14 09:13
#1

Deepin自带vim

Reply View the author
babyfengfjx
Super Moderator
CQA
2024-03-14 14:38
#2

这是deepin的WSL资源?

Reply View the author
Arc
deepin
2024-03-14 18:44
#3
babyfengfjx

这是deepin的WSL资源?

Reply View the author
Arc
deepin
2024-03-14 18:45
#4
jjcui8595

Deepin自带vim

Win11 商店的 deepin wsl没有

Reply View the author
Arc
deepin
2024-03-14 19:23
#5

卸载重装了 https://gitcode.csdn.net/65ea842b1a836825ed7936f8.html

更新后安装成功了,可能是之前安装或者更新出了问题

sudo apt update && sudo apt upgrade
Reply View the author
GoodLuck
deepin
2024-04-19 16:48
#6
Arc

卸载重装了 https://gitcode.csdn.net/65ea842b1a836825ed7936f8.html

更新后安装成功了,可能是之前安装或者更新出了问题

sudo apt update && sudo apt upgrade

deepin wsl 官方文档

image.png

使用这行命令会一下错误

Preparing to unpack .../109-libqt5svg5_5.15.8-1+dde_amd64.deb ...
Unpacking libqt5svg5:amd64 (5.15.8-1+dde) ...
Selecting previously unselected package libpython3.11-minimal:amd64.
Preparing to unpack .../110-libpython3.11-minimal_3.11.6-3_amd64.deb ...
Unpacking libpython3.11-minimal:amd64 (3.11.6-3) ...
Selecting previously unselected package python3.11-minimal.
Preparing to unpack .../111-python3.11-minimal_3.11.6-3_amd64.deb ...
Unpacking python3.11-minimal (3.11.6-3) ...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-LVEMAo/007-usr-is-merged_38_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply View the author
Arc
deepin
17 hours ago
#7
GoodLuck

deepin wsl 官方文档

image.png

使用这行命令会一下错误

Preparing to unpack .../109-libqt5svg5_5.15.8-1+dde_amd64.deb ...
Unpacking libqt5svg5:amd64 (5.15.8-1+dde) ...
Selecting previously unselected package libpython3.11-minimal:amd64.
Preparing to unpack .../110-libpython3.11-minimal_3.11.6-3_amd64.deb ...
Unpacking libpython3.11-minimal:amd64 (3.11.6-3) ...
Selecting previously unselected package python3.11-minimal.
Preparing to unpack .../111-python3.11-minimal_3.11.6-3_amd64.deb ...
Unpacking python3.11-minimal (3.11.6-3) ...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-LVEMAo/007-usr-is-merged_38_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

重装也不行吗?

Reply View the author