尝试修复损坏的安装 - dictionaries-common

尝试修复损坏的安装 - dictionaries-common

我正在尝试修复损坏的安装并收到此错误:

➜  Downloads sudo apt --fix-broken install 
Reading package lists... Done
Building dependency tree... Done
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 0 not upgraded.
19 not fully installed or removed.
Need to get 0 B/239 kB of archives.
After this operation, 776 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 38166 files and directories currently installed.)
Preparing to unpack .../dictionaries-common_1.28.4_all.deb ...
Adding 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictiona
ries-common by dictionaries-common'
dpkg-divert: error: rename involves overwriting '/usr/share/dict/words.pre-dicti
onaries-common' with
  different file '/usr/share/dict/words', not allowed
dpkg: error processing archive /var/cache/apt/archives/dictionaries-common_1.28.
4_all.deb (--unpack):
 new dictionaries-common package pre-installation script subprocess returned err
or exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/dictionaries-common_1.28.4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

你知道如何修复它吗?

操作系统:Debian 11 - Bullseye

相关内容