下面是终端给出的提示信息:
The following packages will be upgraded:
update-manager
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 0B/895kB of archives.
After this operation, 57.3kB of additional disk space will be used.
(Reading database ... 123458 files and directories currently installed.)
Preparing to replace update-manager 1:0.81.2 (using .../update-manager_1%3a0.87.9_all.deb) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1674, in <module>
main()
File "/usr/bin/pycentral", line 1668, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1169, in run
pkg.prepare(used_runtimes, old_used_runtimes, old_pkg)
File "/usr/bin/pycentral", line 803, in prepare
rt.remove_byte_code(removed_fs)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing /var/cache/apt/archives/update-manager_1%3a0.87.9_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/update-manager_1%3a0.87.9_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
我点击update-manager_1%3a0.87.9_all.deb,报告说有严重依赖关系错误,无法安装。请各位帮忙。
[求助]升级 8.04后遇到update-manager的问题。
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
- shenxiaoshan
- 帖子: 35
- 注册时间: 2007-08-19 16:41
- shenxiaoshan
- 帖子: 35
- 注册时间: 2007-08-19 16:41
已找到解决办法
首先,下载update-manager-core_0.87.10_i386.deb(http://packages.ubuntu.com/hardy/admin/ ... nager-core,备用。
然后,打开新立得,它会提示你update-manage包已经broken,占击右键,选择mark for complete removal。
第三步,进入终端或虚拟控制台,键入
安装过程中应该不会提示什么错误。
然后,打开新立得,它会提示你update-manage包已经broken,占击右键,选择mark for complete removal。
第三步,进入终端或虚拟控制台,键入
代码: 全选
dpkg -i update-manager-core_0.87.10_i386.deb
- ublinux1985
- 帖子: 100
- 注册时间: 2007-07-25 9:45
- 来自: 火星
- 联系:
-
- 帖子: 3
- 注册时间: 2008-03-27 7:35
Re: [求助]升级 8.04后遇到update-manager的问题。
我升级了8.04但是没有遇见大家所说的问题,我估计是由于kernel引起的倚赖关系,所以建议大家升级2.6.24后然后自动会要求你升级到8.04的
shenxiaoshan 写了:下面是终端给出的提示信息:
The following packages will be upgraded:
update-manager
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 0B/895kB of archives.
After this operation, 57.3kB of additional disk space will be used.
(Reading database ... 123458 files and directories currently installed.)
Preparing to replace update-manager 1:0.81.2 (using .../update-manager_1%3a0.87.9_all.deb) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1674, in <module>
main()
File "/usr/bin/pycentral", line 1668, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1169, in run
pkg.prepare(used_runtimes, old_used_runtimes, old_pkg)
File "/usr/bin/pycentral", line 803, in prepare
rt.remove_byte_code(removed_fs)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing /var/cache/apt/archives/update-manager_1%3a0.87.9_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/update-manager_1%3a0.87.9_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
我点击update-manager_1%3a0.87.9_all.deb,报告说有严重依赖关系错误,无法安装。请各位帮忙。