[Others] deepin 20.4 误删network-manager
Tofloor
poster avatar
胡利利
deepin
2022-03-19 01:18
Author

deepin 20.4 误删network-manager导致桌面不能启动,无法上网,这种情况下如何恢复

Reply Favorite View the author
All Replies
beavailable
deepin
2022-03-19 01:44
#1

可以用手机 usb 共享网络给电脑,然后再把 network-manager 安装回来。

Reply View the author
SamLukeYes
deepin
2022-03-19 01:52
#2

如果软件包缓存还在的话,sudo apt install network-manager 说不定可以装回来

Reply View the author
胡利利
deepin
2022-03-19 01:52
#3

问题已解决!

同时解决了我本来出现的问题(任务栏的网络连接按钮消失,因为更新了一下推送的更新导致的网络按钮消失)

解决办法:

重新安装(因为libnm0被network-manager依赖)

network-manager_1.14.6.4+c1-1+deepin_amd64.deb
libnm0_1.14.6.4+c1-1+deepin_amd64.deb

重启network-manager

systemctl start network-manager

由于卸载network-manager时同时卸载了一些dde的依赖,所以在网络恢复之后重新安装dde

apt-get install dde

安装完成后需要重启lightdm

systemctl start lightdm
Reply View the author
胡利利
deepin
2022-03-19 01:53
#4
SamLukeYes

如果软件包缓存还在的话,sudo apt install network-manager 说不定可以装回来

试过了,么得缓存了

Reply View the author
胡利利
deepin
2022-03-19 01:53
#5
SamLukeYes

如果软件包缓存还在的话,sudo apt install network-manager 说不定可以装回来

解决了,ths!

Reply View the author
大多时候吃素
deepin
2022-03-19 08:57
#6

卸载的吗,这都行?

Reply View the author