[issue58] Crash during smart remove bind
Carlo Pires at Labix Tracker
tracker at labix.org
Tue Dec 13 05:31:43 PST 2005
New submission from Carlo Pires <carlopires at gmail.com>:
[root at dc2 bind]# smart remove bind
Carregando o cache...
Atualizando cache...
################################################################### [100%]
Calculando transação...
Pacotes removidos (3):
bind-24:9.2.5-3 at i386 bind-chroot-24:9.2.5-3 at i386
caching-nameserver-7.3-3 at noarch
1.4MB serão liberados.
Confirma mudanças? (S/n):
Efetuando transação...
Preparando...
################################################################### [ 0%]
1:Removendo caching-nameserver
################################################################### [ 33%]
2:Removendo bind-chroot
################################################################### [ 66%]
3:Removendo bind
( 0%)
Traceback (most recent call last):
File "/usr/bin/smart", line 193, in ?
main(sys.argv[1:])
File "/usr/bin/smart", line 166, in main
exitcode = iface.run(opts.command, opts.argv)
File "/usr/lib/python2.3/site-packages/smart/interface.py", line 53, in run
result = _command.main(self._ctrl, opts)
File "/usr/lib/python2.3/site-packages/smart/commands/remove.py", line 129, in
main
ctrl.commitTransaction(trans, confirm=confirm)
File "/usr/lib/python2.3/site-packages/smart/control.py", line 464, in
commitTransaction
return self.commitChangeSet(trans.getChangeSet(), caching, confirm)
File "/usr/lib/python2.3/site-packages/smart/control.py", line 518, in
commitChangeSet
pmclass().commit(pmcs, pkgpaths)
File "/usr/lib/python2.3/site-packages/smart/backends/rpm/pm.py", line 189, in
commit
probs = ts.run(cb, None)
File "/usr/lib/python2.3/site-packages/smart/backends/rpm/pm.py", line 285, in
__call__
self._rpmout()
File "/usr/lib/python2.3/site-packages/smart/backends/rpm/pm.py", line 264, in
_rpmout
output = self.rpmout.read(BLOCKSIZE)
File "/usr/lib/python2.3/site-packages/smart/util/protectedread.py", line 38,
in protectedread
data = self.bytebuffer + newdata
File "/usr/lib/python2.3/codecs.py", line 343, in __getattr__
return getattr(self.stream, name)
AttributeError: 'file' object has no attribute 'bytebuffer'
[root at dc2 bind]
----------
messages: 159
nosy: carlopires
priority: critical
project: smart
status: unread
title: Crash during smart remove bind
_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue58>
_______________________________________
More information about the Smart
mailing list