Ubuntu 16.04 桌面 UI 损坏/缺少功能

Ubuntu 16.04 桌面 UI 损坏/缺少功能

我在 16.04 VM 上遇到了一个问题,相信在升级某些系统软件包后启动 - 不确定是哪些。很难解释,但总体而言,UI 有点不对劲,好像 UI 软件包没有完全安装。举几个例子:

  • 当我将鼠标悬停在上下文菜单上时,它不会突出显示项目
  • 控制台文本颜色明显不同且不实用(黑色背景上文本为灰色......)
  • 某些菜单项没有边距或边框,所有菜单项都连在一起,即AllSettingsAppearance。将鼠标悬停在这些项目上不会突出显示或显示它们可点击。文件对话框中的路线也是如此。
  • 桌面背景不显示(只有黑色),尽管系统设置声称已设置

如果我的描述不够详细,我可以上传图片。

我尝试了一些明显的系统设置,尝试了不同的主题,看看是否可以重置,但问题仍然存在。如果我以某种方式搞砸了 UI 包,我不会感到惊讶,有什么我可以尝试重新安装的吗?

编辑:我确实尝试重新安装 Unity,但我有点害怕做得太过分。这是我得到的结果:

sudo apt-get install unity

Reading package lists... Done
Building dependency tree       
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: 
gnupg : Breaks: software-properties-common (<= 0.96.24.3) but 0.96.20.7 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

根据@N0rbert 的要求,apt-cache policy unity 输出:

apt-cache policy unity gnupg software-properties-common

unity:
  Installed: 7.4.5+16.04.20180221-0ubuntu1
  Candidate: 7.5.0+18.04.20180413-0ubuntu1
  Version table:
     7.5.0+18.04.20180413-0ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
 *** 7.4.5+16.04.20180221-0ubuntu1 100
        100 /var/lib/dpkg/status
gnupg:
  Installed: 1.4.20-1ubuntu3.3
  Candidate: 2.2.4-1ubuntu1.2
  Version table:
     2.2.4-1ubuntu1.2 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
     2.2.4-1ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
 *** 1.4.20-1ubuntu3.3 100
        100 /var/lib/dpkg/status
software-properties-common:
  Installed: 0.96.20.7
  Candidate: 0.96.24.32.7
  Version table:
     0.96.24.32.7 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
     0.96.24.32.1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic/main i386 Packages
 *** 0.96.20.7 100
        100 /var/lib/dpkg/status

相关内容