[Boot/Shutdown] 使用命令sudo apt-get autoremove导致输入密码黑屏进不去桌面了
Tofloor
poster avatar
Camila
deepin
2025-03-20 16:33
Author

因为卸载软件使用命令sudo apt-get autoremove导致输入密码黑屏进不去桌面了,我在tty6试了sudo apt install --fix broken没有解决,在tty6去检查日志lightdm.log、seat0-greeter.log,sudo ls -al、和journalctl /usr/bin/lightdm-deepin-greeter -b0,业务流程是正常的,只是没有显示出来,这个该怎么解决?我在其他论坛上看到一样的问题,下面有人回复可能是因为源混用的问题,我之前有一次源混用更新导致部分桌面不显示,后面修好了,这个是不是也是因为混源的问题?

Reply Favorite View the author
All Replies
yicold
deepin product team
2025-03-21 09:34
#1

autoremove顺着依赖把DDE卸载了吧

shocked

折腾需谨慎...

Reply View the author
Camila
deepin
2025-03-21 10:30
#2
yicold

autoremove顺着依赖把DDE卸载了吧

shocked

折腾需谨慎...

应该是,但是使用命令只是想卸载软件,有什么办法解决吗

Reply View the author
yicold
deepin product team
2025-03-21 11:31
#3
Camila

应该是,但是使用命令只是想卸载软件,有什么办法解决吗

在论坛里搜一下重新安装DDE的帖子试试。记得先把非deepin官方的仓库源先注释掉。

比如这个:https://bbs.deepin.org/post/262441

Reply View the author
Camila
deepin
2025-03-21 13:53
#4
yicold

在论坛里搜一下重新安装DDE的帖子试试。记得先把非deepin官方的仓库源先注释掉。

比如这个:https://bbs.deepin.org/post/262441

修好了,感谢,用的这个:打开终端,执行:sudo apt install --reinstall deepin-desktop-environment-base deepin-desktop-environment-cli deepin-desktop-environment-core deepin-desktop-environment-extras deepin-desktop-environment-ll

Reply View the author
咖啡加糖
deepin
2025-04-19 14:10
#5

我也深受sudo apt-get autoremove这条指令的伤害,以后我就不使用了,一调用就可能某些软件的依赖被卸载了,以后要卸载就一个个手动确认

Reply View the author