无法卸载此损坏的依赖项

无法卸载此损坏的依赖项
 apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  dictionaries-common
Suggested packages:
  wordlist
The following NEW packages will be installed:
  dictionaries-common
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
68 not fully installed or removed.
Need to get 0 B/186 kB of archives.
After this operation, 775 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
(Reading database ... 59883 files and directories currently installed.)
Preparing to unpack .../dictionaries-common_1.27.2_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.27.2_all.deb (--unpack):
 new dictionaries-common package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/dictionaries-common_1.27.2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

我认为我给出的其中一个答案可能可以帮你解决这个问题。基本上就是删除它。

升级 Ubuntu 16.04 LTS 时出错 python-minimal 包错误

该示例针对的是 Python 包,但它能够删除给您带来问题的任何其他包。如果它对您有用,请告诉我 :)

相关内容