E:需要重新安装 poppler-utils 软件包,但我找不到它的存档

E:需要重新安装 poppler-utils 软件包,但我找不到它的存档

每当我使用 apt-get 时我都会不断收到此消息,但是当此消息弹出时我无法更新软件包,请帮忙。

回复@Jos 结果apt policy poppler-*

> poppler-utils:
  Installed: 0.41.0-0ubuntu1.5
  Candidate: 0.41.0-0ubuntu1.5
  Version table:
 *** 0.41.0-0ubuntu1.5 100
        100 /var/lib/dpkg/status
     0.41.0-0ubuntu1 500
        500 http://za.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
poppler-dbg:
  Installed: (none)
  Candidate: 0.41.0-0ubuntu1
  Version table:
     0.41.0-0ubuntu1 500
        500 http://za.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
poppler-data:
  Installed: 0.4.7-7
  Candidate: 0.4.7-7
  Version table:
 *** 0.4.7-7 500
        500 http://za.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        500 http://za.archive.ubuntu.com/ubuntu xenial/main i386 Packages
        100 /var/lib/dpkg/status

如果我尝试“sudo apt install --reinstall poppler-utils

>justin@HomePc:~$ sudo apt install --reinstall poppler-utils
 [sudo] password for justin: 
 Reading package lists... Done
 Building dependency tree        
 Reading state information... Done
 E: The package poppler-utils needs to be reinstalled, but I can't 
 find an archive for it.

输出sudo dpkg --configure poppler-utils

`

> justin@HomePc:~$ sudo dpkg --configure poppler-utils
  [sudo] password for justin: 
  dpkg: error processing package poppler-utils (--configure):
  package is in a very bad inconsistent state; you should
  reinstall it before attempting configuration
  Errors were encountered while processing:
  poppler-utils

答案1

问题是,在双重启动时,一些文件被移动到另一个磁盘上的另一个分区,移除另一个磁盘后,我就可以安装东西了。

相关内容