我正在运行 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
- 错误
这是控制台输出:
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
。
答案1
对于你的情况,我猜有三种状态:
- 您的
linux-headers-3.8.0-19 deb file
已损坏。(在这种情况下,您应该重新安装它。) apt systems
您应该在升级后dpkg -a --configure
或apt-get -f dist-upgrade
执行您的任务后再玩一下,也许:apt-get -f install
你的 deb 包在 postinst 中有一个 bug,如果它的状态为真,你可以处理
/var/lib/dpkg/info/linux-headers-3.8.0-19-686-pae.postinst
,