在更新时遇到错误:返回了错误号 127

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

在更新时遇到错误:返回了错误号 127

#1

帖子 kissking » 2008-02-15 14:02

ubuntu@ubuntu:~$ sudo apt-get dist-upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
正在筹划升级... 完成
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
有 2 个软件包没有被完全安装或卸载。
需要下载 0B 的软件包。
解压缩后会消耗掉 0B 的额外空间。
您希望继续执行吗?[Y/n]y
正在设置 cupsys (1.3.2-1ubuntu7.5) ...
Reloading AppArmor profiles : done.
* Starting Common Unix Printing System: cupsd /usr/sbin/cupsd: error while loading shared libraries: /lib/tls/i686/cmov/libc.so.6: cannot apply additional memory protection after relocation: Permission denied
invoke-rc.d: initscript cupsys, action "start" failed.
dpkg:处理 cupsys (--configure)时出错:
子进程 post-installation script 返回了错误号 127
dpkg:依赖关系问题使得 hplip 的配置工作不能继续:
hplip 依赖于 cupsys (>= 1.1.20);然而:
软件包 cupsys 还没有被配置。
dpkg:处理 hplip (--configure)时出错:
依赖关系问题 - 仍未被配置
在处理时有错误发生:
cupsys
hplip
E: Sub-process /usr/bin/dpkg returned an error code (1)
ubuntu@ubuntu:~$

请问如何解决
头像
yaoms
帖子: 4952
注册时间: 2007-10-19 14:51
来自: 深圳

#2

帖子 yaoms » 2008-02-15 14:13

共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
汗。。。。


执行一下这个sudo apt-get install -f
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
kissking
帖子: 15
注册时间: 2008-02-11 12:33

#3

帖子 kissking » 2008-02-15 15:16

执行了sudo apt-get install -f

还是不行啊,谢谢了

还有其他的答案吗?
头像
Bessel
帖子: 96
注册时间: 2007-08-08 16:12

#4

帖子 Bessel » 2008-02-15 15:29

换一个官方的源试试,我曾经遇到过类似的问题,换了个源就好了。
kissking
帖子: 15
注册时间: 2008-02-11 12:33

#5

帖子 kissking » 2008-02-15 22:11

其实我感觉最主要是这段文字

正在设置 cupsys (1.3.2-1ubuntu7.5) ...
Reloading AppArmor profiles : done.
* Starting Common Unix Printing System: cupsd /usr/sbin/cupsd: error while loading shared libraries: /lib/tls/i686/cmov/libc.so.6: cannot apply additional memory protection after relocation: Permission denied
invoke-rc.d: initscript cupsys, action "start" failed.

我是新手,不懂的什么意思,哪位大侠帮忙解释一下,或者帮忙解决一下这个问题
回复