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

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
1_dimension
帖子: 44
注册时间: 2008-09-18 1:22

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

#1

帖子 1_dimension » 2009-03-26 20:39

我的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.

我该怎么办??现在不能更新,那个红色的箭头让我很郁闷。
附件
不能进行更新的错误提示
不能进行更新的错误提示
头像
1_dimension
帖子: 44
注册时间: 2008-09-18 1:22

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

#2

帖子 1_dimension » 2009-03-26 20:40

我急需帮助~~好无奈啊,原来断电的危害如此之大。。 :em30
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

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

#3

帖子 wangdu2002 » 2009-03-26 21:19

进恢复模式修复下! :em02 :em02
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
头像
allarem
帖子: 1025
注册时间: 2008-05-31 17:27
来自: SUES
联系:

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

#4

帖子 allarem » 2009-03-26 21:37

不急不急,有一个偏方,如果还是失败的话就第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
头像
1_dimension
帖子: 44
注册时间: 2008-09-18 1:22

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

#5

帖子 1_dimension » 2009-03-27 18:41

wangdu2002 写了:进恢复模式修复下! :em02 :em02
大侠~~~怎么个修复法????
回复