MasterS 发表于 2006-12-11 22:55:16

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

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

TypeError: unsubscriptable object


出现如上提示主要问题是围绕python出现了,感觉一切都乱套了!
页: [1]
查看完整版本: 用SMART升级系统时出现的怪问题!