E: 子進程 /usr/bin/dpkg 回傳錯誤代碼 (2)

E: 子進程 /usr/bin/dpkg 回傳錯誤代碼 (2)

我想安裝 bluefish 編輯器,但出現此錯誤。這不是我遇到的第一個涉及軟體包的錯誤。我兩天前安裝了 Linux Mint 17,每次重新啟動後,軟體包都會出現某種問題。有人有主意嗎?

user@username ~ $ sudo apt-get install bluefish
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  bluefish-data bluefish-plugins
Suggested packages:
  bluefish-dbg libxml2-utils tidy weblint-perl weblint
The following NEW packages will be installed:
  bluefish bluefish-data bluefish-plugins
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2 548 kB of archives.
After this operation, 9 484 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
E: Sub-process /usr/bin/dpkg returned an error code (2)

附加資訊:

sudo apt-get upgrade

sudo apt-get -f install

運行沒有錯誤

編輯:

sudo dpkg -C什麼也沒做

user@username ~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda6       161G   14G  140G   9% /
none            4,0K     0  4,0K   0% /sys/fs/cgroup
udev            2,0G  4,0K  2,0G   1% /dev
tmpfs           396M  1,4M  394M   1% /run
none            5,0M     0  5,0M   0% /run/lock
none            2,0G  1,7M  2,0G   1% /run/shm
none            100M   20K  100M   1% /run/user
/dev/sda5       168G   67G  102G  40% /mnt/DATA

user@username ~ $ sudo apt-get -fv install bluefish
apt 1.0.1ubuntu2 for amd64 compiled on Oct  8 2014 12:36:19
Supported modules:
*Ver: Standard .deb
*Pkg:  Debian dpkg interface (Priority 30)
 Pkg:  Debian APT solver interface (Priority -1000)
 S.L: 'deb' Standard Debian binary tree
 S.L: 'deb-src' Standard Debian source tree
 Idx: Debian Source Index
 Idx: Debian Package Index
 Idx: Debian Translation Index
 Idx: Debian dpkg status file
 Idx: EDSP scenario file

答案1

我建議(在評論中)

您可以透過或或僅從 Debian 網頁下載bluefish-data二進位 deb 軟體包並嘗試使用 進行安裝嗎?apt-get downloadaptitude downloaddpkg -i

發文者回覆:

dpkg -i 藍魚

給了我這個錯誤

dpkg:錯誤:讀取套件資訊檔案
“/var/lib/dpkg/available”:輸入/輸出錯誤

這表明問題幾乎肯定與硬體有關。 “輸入/輸出錯誤”不是軟體錯誤。硬碟或記憶體有問題。

相關內容