刚从Ubuntu20.04升级到22.04,Gnome控制中心(设置)就丢失了.我找不到解决这个具体问题的人。
我试着安装gnome控制中心sudo apt install gnome-control-center
,它返回以下输出:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libpython3.10 : Depends: libpython3.10-stdlib (= 3.10.4-3ubuntu0.1) but 3.10.6-1+focal1 is to be installed
E: Unable to correct problems, you have held broken packages.
发布于 2022-08-25 09:21:09
正如错误输出中所示,有一个坏包libpython3.10-stdlib:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libpython3.10 : Depends: libpython3.10-stdlib (= 3.10.4-3ubuntu0.1) but 3.10.6-1+focal1 is to be installed
E: Unable to correct problems, you have held broken packages.
sudo apt remove libpython3.10-stdlib
手动删除已损坏的包libpython3.10-stdlibsudo apt --fix-broken install
。在我的例子中,运行此命令后的输出提示下面的“sudo apt自动删除”来删除它们。sudo apt update
,然后运行sudo apt upgrade
。sudo apt install gnome-control-center
安装gnome控制中心.您现在应该能够通过运行gnome-control-center
启动应用程序,“设置”图标也应该显示在应用程序面板中。
https://askubuntu.com/questions/1425590
复制相似问题