由于运行 postins 脚本时出错,无法安装 dictionary-common 包

由于运行 postins 脚本时出错,无法安装 dictionary-common 包

我运行:sudo apt install -f 之后这是我的控制台输出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up dictionaries-common (1.28.1) ...
Processing triggers for dictionaries-common (1.28.1) ...
update-default-wordlist:
  Could not make the default symlink to "/usr/share/dict/american-english".
  This may be a temporary problem due to installation ordering. If that
  file is not present after installation, please file a bugreport
  against wordlist package owning that file.
  
dpkg: error processing package dictionaries-common (--configure):
 installed dictionaries-common package post-installation script subprocess retur
ned error exit status 2
Errors were encountered while processing:
 dictionaries-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

我尝试了 ubuntu-bug 但出现了这个错误:

ERROR: symptom script /usr/share/apport/symptoms/installer.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 95, in thread_collect_info
    package = symb['run'](report, ui)
  File "/usr/share/apport/symptoms/installer.py", line 9, in run
    with os.scandir('/var/log/installer') as entries:
FileNotFoundError: [Errno 2] No such file or directory: '/var/log/installer'

相关内容