ubuntu16.04 dpkg 执行apt -f install报错

在虚拟机中装了一个ubuntu,想装一个unity-tweak-tool,然后就是一直报错:

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 adwaita-icon-theme : Depends: libgtk-3-bin but it is not going to be installed
 aspell : Depends: dictionaries-common (> 0.40) but it is not going to be installed
 aspell-en : Depends: dictionaries-common (>= 0.49.2) but it is not going to be installed
 hunspell-en-us : Depends: dictionaries-common (>= 0.10) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

然后我接着运行 sudo apt-get -f install

Preparing to unpack .../libgtk-3-bin_3.18.9-1ubuntu3.3_amd64.deb ...
Leaving 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin'
Adding 'diversion of /usr/share/man/man8/update-icon-caches.8.gz to /usr/share/man/man8/update-icon-caches.gtk2.8.gz by libgtk-3-bin'
dpkg-divert: error: rename involves overwriting '/usr/share/man/man8/update-icon-caches.gtk2.8.gz' with
  different file '/usr/share/man/man8/update-icon-caches.8.gz', not allowed
dpkg: error processing archive /var/cache/apt/archives/libgtk-3-bin_3.18.9-1ubuntu3.3_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 2
Preparing to unpack .../dictionaries-common_1.26.3_all.deb ...
Adding 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common'
dpkg-divert: error: rename involves overwriting '/usr/share/dict/words.pre-dictionaries-common' with
  different file '/usr/share/dict/words', not allowed
dpkg: error processing archive /var/cache/apt/archives/dictionaries-common_1.26.3_all.deb (--unpack):
 subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/libgtk-3-bin_3.18.9-1ubuntu3.3_amd64.deb
 /var/cache/apt/archives/dictionaries-common_1.26.3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

目标平台是ubuntu16.04
这个错误信息看的不是很懂,是因为gtk2和gtk3的原因么?不知如何解决~求教

阅读 2.8k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题