[Boot/Shutdown] 系统无法关机
Tofloor
poster avatar
bibichuan
deepin
2021-12-15 17:45
Author

无论是我刚开机直接关机,还是我运行一天电脑,再关机,都会弹出这个错误,必须强制关机,这到底是运行的什么东西呢?和系统硬件有关系吗?会合其他的软件有冲突码?怎么解决呢?

截图_选择区域_20211206191236.png

系统已经是最新版本的了。

截图_选择区域_20211215094457.png

Reply Favorite View the author
All Replies
zeno
deepin
2021-12-15 18:00
#1

看下是不是装了 software-properties-common ,如果有安装这个可以卸载一下看看

Reply View the author
bibichuan
deepin
2021-12-15 18:07
#2

我确实安装了software-properties-common,因为我要安装docker

Reply View the author
lcw0268
deepin
2021-12-15 18:15
#3
It has been deleted!
zeno
deepin
2021-12-15 18:16
#4
bibichuan

我确实安装了software-properties-common,因为我要安装docker

看起来是这个服务阻止了关机,可以stop掉这个服务看看。

Reply View the author
bibichuan
deepin
2021-12-15 20:45
#5
lcw0268 It has been deleted!

我的错?我说了啊,第一我刚开机的时候关机也有这个提示,我电脑运行一天了关机也是这个错误,重启之后,还是这个错误,这是我操作不对?电脑运行一天了还更新不完?重启之后不应该重新更新吗?我一天都连着网的啊

Reply View the author
bibichuan
deepin
2021-12-15 20:46
#6
zeno

看起来是这个服务阻止了关机,可以stop掉这个服务看看。

怎么stop?我已经卸载了 software-properties-common,但是还是无法关机,必须强制关机才行。第二次开机,还是无法关机。

Reply View the author
bibichuan
deepin
2021-12-15 20:55
#7

https://askubuntu.com/questions/878630/apt-unattended-upgrades-stalls-shutdown

https://blog.51cto.com/zhangxueliang/3909621

Reply View the author
bibichuan
deepin
2021-12-15 20:58
#8

可试以下方法指令关闭sudo service unattended-upgrades stop …,如下操作:

1)打开“系统监视器”->系统服务。

2)搜索upgrade,找到unattended-upgrades。

3)右键点击,设置启动方式 -> 手动。

暂时解决了问题了。

Reply View the author
爪巴戈
deepin
2021-12-21 19:51
#9

如果是不考虑后果的关机可以切换到字符界面(CTRL+ALT+F),登陆进去,然后输入:sudo shutdown -h now,此操作可能带来未知后果,请谨慎操作!

Reply View the author