[openmamba-devel-it] problema SMART
Silvan Calarco
silvan.calarco a mambasoft.it
Dom 20 Feb 2011 16:09:33 CET
On Sunday 20 February 2011 10:24:54 Tiziana wrote:
> Dopo aver aggiornato il sistema non mi funziona più smart, ho aperto un bug
> sul sito allegando il mambareport.
>
> Questo è l'errore di SMART che non so come risolvere:
Secondo un messaggio di Stefano in questa lista (del 19 gennaio), aveva
risolto reinstallando a mano smart, puoi quindi tentare questa operazione
(scarica l'rpm di smart e poi rpm -U --force smart-...).
Se anche tu risolvi così, più arduo sarà capire come mai succede e come
evitare che succeda ad altri in futuro.
ciao,
Silvan
>
> Traceback (most recent call last):
>
> File "/usr/bin/smart", line 198, in <module>
> main(sys.argv[1:])
>
> File "/usr/bin/smart", line 171, in main
> exitcode = iface.run(opts.command, opts.argv)
>
> File "/usr/lib/python2.6/site-packages/smart/interfaces/gtk/command.py",
> line 45, in run
> result = GtkInterface.run(self, command, argv)
>
> File
> "/usr/lib/python2.6/site-packages/smart/interfaces/gtk/interface.py", line
> 45, in run
> result = Interface.run(self, command, argv)
>
> File "/usr/lib/python2.6/site-packages/smart/interface.py", line 53, in
> run
> result = _command.main(self._ctrl, opts)
>
> File "/usr/lib/python2.6/site-packages/smart/commands/upgrade.py", line
> 191, in main
> ctrl.commitTransaction(trans, confirm=confirm)
>
> File "/usr/lib/python2.6/site-packages/smart/control.py", line 635, in
> commitTransaction
> return self.commitChangeSet(trans.getChangeSet(), caching, confirm)
>
> File "/usr/lib/python2.6/site-packages/smart/control.py", line 638, in
> commitChangeSet
> if confirm and not iface.confirmChangeSet(changeset):
>
> File
> "/usr/lib/python2.6/site-packages/smart/interfaces/gtk/interface.py", line
> 167, in confirmChangeSet
> return self._changes.showChangeSet(changeset, confirm=True)
>
> File "/usr/lib/python2.6/site-packages/smart/interfaces/gtk/changes.py",
> line 188, in showChangeSet
> size = report.getInstallSize() - report.getRemoveSize()
>
> File "/usr/lib/python2.6/site-packages/smart/report.py", line 200, in
> getRemoveSize
> size = info.getInstalledSize()
>
> File "/usr/lib/python2.6/site-packages/smart/backends/rpm/header.py",
> line 113, in getInstalledSize
> return self._h[rpm.RPMTAG_SIZE]
>
> File "/usr/lib/python2.6/site-packages/smart/backends/rpm/header.py",
> line 80, in __get__
> obj._h = obj._loader.getHeader(obj._package)
>
> File "/usr/lib/python2.6/site-packages/smart/backends/rpm/header.py",
> line 616, in getHeader
> return mi.next()
>
> StopIteration
--
mambaSoft di Calarco Silvan
Web: http://www.mambasoft.it
mambaSoft Store @ http://www.mambastore.it
openmamba GNU/Linux development @ http://www.openmamba.org
Maggiori informazioni sulla lista
openmamba-devel-it