分页: 1 / 1

安装时断电。。于是它就不能再更新了,怎么办

发表于 : 2009-03-26 20:39
1_dimension
我的UBUNTU出现了一次断电,那时它正在更新安装。。于是,出现了这个问题,
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
于是我又运行 了:
duck@duck-desktop:~/桌面$ sudo dpkg --configure -a

于是。。。。数秒后:


正在设置 libc6 (2.7-10ubuntu4) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
/sbin/ldconfig.real: /usr/lib/libartskde.so.1.2.0.dpkg-tmp is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/libkdecore.so.4.2.0.dpkg-tmp is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/libkabc.so.1.2.0.dpkg-tmp is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/libkabc_file.so.1.0.0.dpkg-tmp is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/libDCOP.so.4.2.0.dpkg-tmp is not an ELF file - it has the wrong magic bytes at the start.

Aborted
dpkg: 子进程 post-installation script 返回了错误号 134

可是安了安装更新又出现:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

我该怎么办??现在不能更新,那个红色的箭头让我很郁闷。

Re: 安装时断电。。于是它就不能再更新了,怎么办

发表于 : 2009-03-26 20:40
1_dimension
我急需帮助~~好无奈啊,原来断电的危害如此之大。。 :em30

Re: 安装时断电。。于是它就不能再更新了,怎么办

发表于 : 2009-03-26 21:19
wangdu2002
进恢复模式修复下! :em02 :em02

Re: 安装时断电。。于是它就不能再更新了,怎么办

发表于 : 2009-03-26 21:37
allarem
不急不急,有一个偏方,如果还是失败的话就第2行代码来恢复
可能引起系统大混乱……三思后行

代码: 全选

cd ~/;mkdir libc6backup;cp /var/lib/dpkg/info/libc6* ~/libc6backup;sudo rm /var/lib/dpkg/info/libc6*;sudo apt-get upgrade
直到完成

代码: 全选

sudo cp ~/libc6backup/* /var/lib/dpkg/info/;sudo apt-get upgrade

Re: 安装时断电。。于是它就不能再更新了,怎么办

发表于 : 2009-03-27 18:41
1_dimension
wangdu2002 写了:进恢复模式修复下! :em02 :em02
大侠~~~怎么个修复法????