QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 769|回复: 0

用SMART升级系统时出现的怪问题!

[复制链接]
发表于 2006-12-11 22:55:16 | 显示全部楼层 |阅读模式
Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/interactive.py", line 514, in <lambda>
    item.connect("activate", lambda x: self.actOnPackages(pkgs, INSTALL))

  File "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/interactive.py", line 496, in actOnPackages
    if self.confirmChange(self._changeset, changeset, expected):

  File "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/interface.py", line 164, in confirmChange
    return self._changes.showChangeSet(changeset, keep=keep, confirm=True)

  File "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/changes.py", line 187, in showChangeSet
    size = report.getInstallSize() - report.getRemoveSize()

  File "/usr/lib/python2.4/site-packages/smart/report.py", line 200, in getRemoveSize
    size = info.getInstalledSize()

  File "/usr/lib/python2.4/site-packages/smart/backends/rpm/header.py", line 91, in getInstalledSize
    return self._h[rpm.RPMTAG_SIZE]

TypeError: unsubscriptable object


出现如上提示主要问题是围绕python出现了,感觉一切都乱套了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-24 06:45 , Processed in 0.035587 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表