更新管理器到底出了什么问题?

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

更新管理器到底出了什么问题?

#1

帖子 xlx » 2009-02-01 10:38

我用的Ubuntu8.04 版系统,更新管理器二个月前出错,重装后能正常升级。好景不常又第二次出错,情况与上次一样出现以下错误报告:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
按提示用终端手动输入 dpkg --configure -a后出现以下提示
dpkg: 无法识别的选项 -o
(上略)
输入 dpkg --help 可获得安装和卸载软件包的有关帮助 [*];
使用“dselect”或是“aptitude”就能在友好的界面下管理软件包;
又从官方指南中用二个修正包管理器命令:sudo apt-get update;sudo apt-get -f install
得到以下提示:
( 上略)
忽略 http://packages.medibuntu.org hardy/free Translation-zh_CN
忽略 http://packages.medibuntu.org hardy/non-free Translation-zh_CN
命中 http://packages.medibuntu.org hardy Release
命中 http://packages.medibuntu.org hardy/free Packages
命中 http://packages.medibuntu.org hardy/non-free Packages
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem
更新管理器仍不能使用,用Synaptic同样出现错误。Ubuntu如此难待候,教我们如何用你?
JiangHui
论坛版主
帖子: 21308
注册时间: 2007-08-02 20:29
系统: 窓辺とうこ

Re: 更新管理器到底出了什么问题?

#2

帖子 JiangHui » 2009-02-01 19:11

dpkg: 无法识别的选项 -o
-o 你打错了吧?
头像
topbluecat
帖子: 411
注册时间: 2008-03-27 21:56

Re: 更新管理器到底出了什么问题?

#3

帖子 topbluecat » 2009-02-01 20:16

按照说明,应该运行一下命令:

代码: 全选

sudo dpkg --configure -a
系统已经给出了提示:E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem,看不懂英文吗?
回复