救命阿!9.04升级到9.10后发生错误,现在新力得,apt-get dist-upgrade都用不了

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

救命阿!9.04升级到9.10后发生错误,现在新力得,apt-get dist-upgrade都用不了

#1

帖子 dingyulong » 2009-06-21 23:59

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
user@dyl-laptop:~$ sudo apt-get dist-upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
user@dyl-laptop:~$ sudo dpkg --configure -a
正在设置 initramfs-tools (0.92bubuntu30) ...
update-initramfs: deferring update (trigger activated)

正在处理用于 initramfs-tools 的触发器...
update-initramfs: Generating /boot/initrd.img-2.6.28-12-generic
cpio: ./lib/udev/vol_id: Cannot stat: 没有该文件或目录
update-initramfs: failed for /boot/initrd.img-2.6.28-12-generic
dpkg: 子进程 post-installation script 返回了错误号 1

现在的状况是,可以用apt-get update命令,但无法升级,打开新力得报错提示:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
:em20
dingyulong
帖子: 344
注册时间: 2007-02-06 18:12

Re: 救命阿!9.04升级到9.10后发生错误,现在新力得,apt-get dist-upgrade都用不了

#2

帖子 dingyulong » 2009-06-22 0:17

突然又好了,使用sudo dpkg --configure -a顺利修复。
在这之间我唯一做过的事情就是启动了下unetbootin,想把以前备份的系统做在优盘上准备重装........
回复