我尝试为我的 Debian 8 Mate 安装 now 主题。我安装了gtk2-engines-murrine:amd64.deb
.由于缺少依赖项,我删除了,但是,我删除了太多包,现在我没有任何主题。我尝试安装我删除的内容,但没有任何内容可以恢复(gtk2-engines 已经安装,)。
这是 的结果cat /var/log/apt/history.log
。
Start-Date: 2017-03-30 21:25:02
Commandline: apt-get -f install
Upgrade: gtk2-engines-murrine:amd64 (0.90.3+git20100810-0ubuntu1, 0.98.1.1-5)
End-Date: 2017-03-30 21:25:03
Start-Date: 2017-03-30 21:25:38
Commandline: apt-get autoremove gtk2-engines-murrine
Remove: murrine-themes:amd64 (0.98.8), gtk2-engines-murrine:amd64 (0.98.1.1-5), mate-themes:amd64 (1.9.2-1), gstreamer1.0-libav:amd64 (1.4.4-2)
End-Date: 2017-03-30 21:25:40
Start-Date: 2017-03-30 21:25:54
Commandline: apt-get autoremove gtk2-engines
Remove: dmz-cursor-theme:amd64 (0.4.4), gtk2-engines:amd64 (2.20.2-3)
End-Date: 2017-03-30 21:25:55
Start-Date: 2017-03-30 21:28:51
Commandline: apt-get install dmz-cursor-theme gtk2-engines
Install: dmz-cursor-theme:amd64 (0.4.4), gtk2-engines:amd64 (2.20.2-3)
End-Date: 2017-03-30 21:28:53
Start-Date: 2017-03-30 21:29:50
Commandline: apt-get install gtk2-engines-murrine
Install: murrine-themes:amd64 (0.98.8, automatic), gtk2-engines-murrine:amd64 (0.98.1.1-5)
End-Date: 2017-03-30 21:29:59
重新安装 mate-themes 包后,它就可以工作了。只是有一个小问题,图标被截断了,我不记得第一次安装 Debian Mate 时是否也有同样的情况:
图标问题已修复,我重新启动计算机,现在一切正常!
答案1
尝试使用- 清除旗帜。当您apt-get autoremove package
这样做时,仅删除了包内容并保留了配置文件。尝试
apt-get autoremove --purge <package>
删除所有文件,然后
apt-get install --reinstall <package>
用于软件包的全新安装。