错误:子进程 /usr/bin/dpkg 返回错误代码 (2)

错误:子进程 /usr/bin/dpkg 返回错误代码 (2)

我正在运行 64 位 Ubuntu 13.04

我尝试安装 cairo-dock

执行以下命令:

  • sudo add-apt-repository ppa:cairo-dock-team/ppa- 进展顺利,没有错误。
  • sudo apt-get update- 进展顺利,没有错误。
  • sudo apt-get install cairo-dock cairo-dock-plug-ins- 错误。

这是终端中的进程:

sudo apt-get install cairo-dock cairo-dock-plug-ins

Reading package lists... Done Building dependency tree
Reading state information... Done 
The following extra packages will be installed: cairo-dock-core cairo-dock-data cairo-dock-plug-ins-data cairo-dock-plug-ins-dbus-interface-python cairo-dock-plug-ins-integration compiz-plugins curl libetpan15 libgldi3 Suggested packages: cairo-dock-plug-ins-dbus-interface-mono cairo-dock-plug-ins-dbus-interface-ruby cairo-dock-plug-ins-dbus-interface-vala gnote 
The following NEW packages will be installed: cairo-dock cairo-dock-core cairo-dock-data cairo-dock-plug-ins cairo-dock-plug-ins-data cairo-dock-plug-ins-dbus-interface-python cairo-dock-plug-ins-integration compiz-plugins curl libetpan15 libgldi3 
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. 
Need to get 10.3 MB of archives. After this operation, 26.7 MB of additional disk space will be used. 
Do you want to continue [Y/n]? y 
Get:1 **link** raring/universe cairo-dock-data all 3.2.1-0ubuntu1 [468 kB] 
Get:2 **link** raring/universe libgldi3 amd64 3.2.1-0ubuntu1 [352 kB] 
Get:3 **link** raring/universe cairo-dock-core amd64 3.2.1-0ubuntu1 [1,125 kB] 
Get:4 **link** raring/universe cairo-dock-plug-ins-data all 3.2.1-0ubuntu1 [4,190 kB] 
Get:5 **link** raring-updates/main curl amd64 7.29.0-1ubuntu3.1 [149 kB] 
Get:6 **link** raring/universe libetpan15 amd64 1.0-5 [286 kB] 
Get:7 **link** raring/universe cairo-dock-plug-ins amd64 3.2.1-0ubuntu1 [871 kB] 
Get:8 **link** raring/universe cairo-dock-plug-ins-integration amd64 3.2.1-0ubuntu1 [59.9 kB] 
Get:9 **link** raring/universe cairo-dock-plug-ins-dbus-interface-python all 3.2.1-0ubuntu1 [16.0 kB] 
Get:10 **link** raring/universe cairo-dock all 3.2.1-0ubuntu1 [8,738 B] 
Get:11 **link** raring-updates/universe compiz-plugins amd64 1:0.9.9~daily13.06.19~13.04-0ubuntu1 [2,764 kB] Fetched 10.3 MB in 2min 1s (84.8 kB/s)
Selecting previously unselected package cairo-dock-data. dpkg: unrecoverable fatal error, aborting: reading files list for package 'linux-headers-3.8.0-19': Input/output error E: Sub-process /usr/bin/dpkg returned an error code (2)

安装尚未完成。它卡在 dpkg 上。每次我尝试使用 apt-get install 安装程序时都会发生此错误。

链接:http://ph.archive.ubuntu.com/ubuntu/

答案1

错误。

无法恢复的致命错误,中止:
->读取软件包‘linux-headers-3.8.0-19’的文件列表:输入/输出错误
-->E: 子进程 /usr/bin/dpkg 返回错误代码 (2)

判决。

输入/输出错误表示介质损坏。使用另一张 CD、下载软件包或更换硬盘(可能只是文件系统错误)。

如果问题确实出在您的硬盘上,内核日志中会显示更多提示。运行dmesg查看。查找以“ata”或“sdX”开头的可疑、技术性行。

相关内容