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

問題是,在刪除另一個磁碟後進行雙重開機時,一些檔案已移至另一個磁碟上的另一個分割區,我能夠安裝東西。

相關內容