centos7 无法进入桌面报:a problem has occurred and the system can‘t recover. Please log out and try again.
程序员文章站
2022-05-09 14:06:13
...
环境
window10
虚拟机:VMware Workstation Pro,centos7
连接工具:SecureCRT 8.0
错误信息
a problem has occurred and the system can't recover.
Please log out and try again.
百度搜索后,都说是图形界面崩溃,需要执行如下操作:
sudo yum history package-list gjs
sudo yum history package-list gnome-shell
sudo yum update --skip-broken
但是我执行上面的操作后,又报了一个错:
jenkins-2.235.5-1.1.noarch.rpm 的公钥尚未安装
所以就把命令改为:
sudo yum history package-list gjs
sudo yum history package-list gnome-shell
sudo yum upgrade --nogpgcheck
然后进入漫长的下载之路;
之后,在重启:
sudo shutdown -r now
然后就正常了:
yum upgrade和yum update的区别?
答案是没有区别,yum upgrade 其实就是和yum update --obsoletes的效果是一样的,默认情况下/etc/yum.conf中就注明了obsoletes=1
可以参考这篇文章:https://www.cnblogs.com/5201351/p/13040260.html
参考地址:
https://blog.csdn.net/u011046042/article/details/107989112
上一篇: linux之权限管理及访问控制列表