软件无法卸载,会出现系统卡死现象,屏幕按键均失灵
Tofloor
poster avatar
初壹
deepin
2020-11-01 17:18
Author

软件无法卸载,需要重启后在处理,会出现系统卡死现象,屏幕按键均失灵,无法通过快捷键清理后台或重启。

Reply Favorite View the author
All Replies
Ziggy
deepin
2020-11-01 17:49
#1

?是不是更新不完整或者卸载破坏了系统依赖?建议用purge卸载

Reply View the author
mardou
deepin
2020-11-01 18:52
#2
Ziggy

?是不是更新不完整或者卸载破坏了系统依赖?建议用purge卸载

我的情况也是,使用PURGE仍旧不能解决问题的。

Reply View the author
Ziggy
deepin
2020-11-01 21:31
#3
mardou

我的情况也是,使用PURGE仍旧不能解决问题的。

什么报错?哪个软件?

Reply View the author
路由器(router)
deepin
2020-11-02 00:40
#4

sudo apt-get remove --purge 软件名

Reply View the author
mardou
deepin
2020-11-02 20:45
#5
Ziggy

什么报错?哪个软件?

wps 旧版

Reply View the author
mardou
deepin
2020-11-02 20:48
#6
路由器(router)

sudo apt-get remove --purge 软件名

wps-office_11.1.0.9711_amd64.deb安装后现在要升级,升级前需要卸载旧版,没法卸载。不知道怎么回事了。

Reply View the author
Ziggy
deepin
2020-11-02 21:23
#7
mardou

wps 旧版

apt search wps看看有没有安装到,可能是桌面文件残余

Reply View the author
mardou
deepin
2020-11-04 04:45
#8
Ziggy

apt search wps看看有没有安装到,可能是桌面文件残余

搜索到许多内容,其中以下这个版本是我正在使用的,只是想卸载后新安装更高版本,但卸载不了。

wps-office/now 11.1.0.9711 amd64 [已安装,本地]
WPS Office, is an office productivity suite.

Reply View the author
Ziggy
deepin
2020-11-04 07:34
#9
mardou

搜索到许多内容,其中以下这个版本是我正在使用的,只是想卸载后新安装更高版本,但卸载不了。

wps-office/now 11.1.0.9711 amd64 [已安装,本地]
WPS Office, is an office productivity suite.

sudo apt purge wps-office看报错

Reply View the author
mardou
deepin
2020-11-07 01:07
#10
Ziggy

sudo apt purge wps-office看报错

mardou@mardou-PC:~$ sudo apt purge wps-office
请输入密码
[sudo] mardou 的密码:
验证成功
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
您也许需要运行“apt --fix-broken install”来修正上面的错误。
下列软件包有未满足的依赖关系:
com.eastmoney.deepin : 依赖: deepin-wine5 但无法安装它
deepin-wine : 依赖: deepin-wine64 (>= 2.18-24~rc3) 但无法安装它 或
deepin-wine32 (>= 2.18-24~rc3) 但无法安装它
依赖: deepin-wine64 (< 2.18-24~rc3.1~) 但无法安装它 或
deepin-wine32 (< 2.18-24~rc3.1~) 但无法安装它
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt --fix-broken install”(也可以指定一个解决办法)。
mardou@mardou-PC:~$ apt --fix-broken install
E: 无法打开锁文件 /var/lib/dpkg/lock-frontend - open (13: 权限不够)
E: 无法获取 dpkg 前端锁 (/var/lib/dpkg/lock-frontend),请查看您是否正以 root 用户运行?

Reply View the author
SamLukeYes
deepin
2020-11-07 01:28
#11
mardou

mardou@mardou-PC:~$ sudo apt purge wps-office
请输入密码
[sudo] mardou 的密码:
验证成功
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
您也许需要运行“apt --fix-broken install”来修正上面的错误。
下列软件包有未满足的依赖关系:
com.eastmoney.deepin : 依赖: deepin-wine5 但无法安装它
deepin-wine : 依赖: deepin-wine64 (>= 2.18-24~rc3) 但无法安装它 或
deepin-wine32 (>= 2.18-24~rc3) 但无法安装它
依赖: deepin-wine64 (< 2.18-24~rc3.1~) 但无法安装它 或
deepin-wine32 (< 2.18-24~rc3.1~) 但无法安装它
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt --fix-broken install”(也可以指定一个解决办法)。
mardou@mardou-PC:~$ apt --fix-broken install
E: 无法打开锁文件 /var/lib/dpkg/lock-frontend - open (13: 权限不够)
E: 无法获取 dpkg 前端锁 (/var/lib/dpkg/lock-frontend),请查看您是否正以 root 用户运行?

后面那个命令要 sudo[尾]

Reply View the author
Ziggy
deepin
2020-11-07 03:56
#12
mardou

mardou@mardou-PC:~$ sudo apt purge wps-office
请输入密码
[sudo] mardou 的密码:
验证成功
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
您也许需要运行“apt --fix-broken install”来修正上面的错误。
下列软件包有未满足的依赖关系:
com.eastmoney.deepin : 依赖: deepin-wine5 但无法安装它
deepin-wine : 依赖: deepin-wine64 (>= 2.18-24~rc3) 但无法安装它 或
deepin-wine32 (>= 2.18-24~rc3) 但无法安装它
依赖: deepin-wine64 (< 2.18-24~rc3.1~) 但无法安装它 或
deepin-wine32 (< 2.18-24~rc3.1~) 但无法安装它
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt --fix-broken install”(也可以指定一个解决办法)。
mardou@mardou-PC:~$ apt --fix-broken install
E: 无法打开锁文件 /var/lib/dpkg/lock-frontend - open (13: 权限不够)
E: 无法获取 dpkg 前端锁 (/var/lib/dpkg/lock-frontend),请查看您是否正以 root 用户运行?

先sudo apt -f install再用purge

Reply View the author
mardou
deepin
2020-11-08 02:36
#13
Ziggy

先sudo apt -f install再用purge

 sudo apt -f install
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在修复依赖关系... 完成
下列软件包是自动安装的并且现在不需要了:
deepin-fonts-wine deepin-libwine:i386 deepin-wine-uninstaller:i386 deepin-wine32:i386
deepin-wine32-preloader:i386 libgl1-mesa-glx:i386
使用'sudo apt autoremove'来卸载它(它们)。
下列软件包将被【卸载】:
com.eastmoney.deepin deepin-wine deepin.com.95579.cjsc:i386 deepin.com.gtja.fuyi:i386
升级了 0 个软件包,新安装了 0 个软件包,要卸载 4 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后将会空出 179 MB 的空间。
您希望继续执行吗? [Y/n] y
E: 子进程 dpkg --set-selections 返回了一个错误号 (100)
E: Couldn't record the approved state changes as dpkg selection states

Reply View the author
mardou
deepin
2020-11-08 02:38
#14
SamLukeYes

后面那个命令要 sudo[尾]

sudo apt --fix-broken install
请输入密码
[sudo] mardou 的密码:
验证成功
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在修复依赖关系... 完成
下列软件包是自动安装的并且现在不需要了:
deepin-fonts-wine deepin-libwine:i386 deepin-wine-uninstaller:i386 deepin-wine32:i386
deepin-wine32-preloader:i386 libgl1-mesa-glx:i386
使用'sudo apt autoremove'来卸载它(它们)。
下列软件包将被【卸载】:
com.eastmoney.deepin deepin-wine deepin.com.95579.cjsc:i386 deepin.com.gtja.fuyi:i386
升级了 0 个软件包,新安装了 0 个软件包,要卸载 4 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后将会空出 179 MB 的空间。
您希望继续执行吗? [Y/n] y
E: 子进程 dpkg --set-selections 返回了一个错误号 (100)
E: Couldn't record the approved state changes as dpkg selection states

[嘻嘻]还是不行。

Reply View the author
Ziggy
deepin
2020-11-08 04:46
#15
mardou

 sudo apt -f install
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在修复依赖关系... 完成
下列软件包是自动安装的并且现在不需要了:
deepin-fonts-wine deepin-libwine:i386 deepin-wine-uninstaller:i386 deepin-wine32:i386
deepin-wine32-preloader:i386 libgl1-mesa-glx:i386
使用'sudo apt autoremove'来卸载它(它们)。
下列软件包将被【卸载】:
com.eastmoney.deepin deepin-wine deepin.com.95579.cjsc:i386 deepin.com.gtja.fuyi:i386
升级了 0 个软件包,新安装了 0 个软件包,要卸载 4 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后将会空出 179 MB 的空间。
您希望继续执行吗? [Y/n] y
E: 子进程 dpkg --set-selections 返回了一个错误号 (100)
E: Couldn't record the approved state changes as dpkg selection states

sudo dpkg --configure -a

Reply View the author
mardou
deepin
2020-11-08 04:48
#16
Ziggy

sudo dpkg --configure -a

mardou@mardou-PC:~$ sudo dpkg --configure -a
sudo: dpkg:找不到命令
mardou@mardou-PC:~$ 

Reply View the author
Ziggy
deepin
2020-11-08 05:30
#17
mardou

mardou@mardou-PC:~$ sudo dpkg --configure -a
sudo: dpkg:找不到命令
mardou@mardou-PC:~$ 

?你把dpkg卸载了???

Reply View the author
mardou
deepin
2020-11-09 04:08
#18
Ziggy

?你把dpkg卸载了???

没有呀。搜索一下,dpkg都在的呢。我也没有主动去卸载这些内容。

Reply View the author
Ziggy
deepin
2020-11-09 04:51
#19
mardou

没有呀。搜索一下,dpkg都在的呢。我也没有主动去卸载这些内容。

那你先看看dpkg其他功能是否可以正常使用

Reply View the author
mardou
deepin
2020-11-10 03:35
#20
Ziggy

那你先看看dpkg其他功能是否可以正常使用

似乎没有发现不可用的。算了,等新版本出来后重新安装系统。谢谢!

Reply View the author