Hi,
I hit this bug while trying to remove python2.5-minimal:
Removing python-wxgtk2.6 ...
Removing python2.5-dev ...
Removing python2.5 ...
Purging configuration files for python2.5 ...
Removing python2.5-minimal ...
Unlinking and removing bytecode for runtime python2.5
python-4suite-xml: 2.6, 2.7 (['install', 'ok', 'installed'])
python-wxgtk2.6: 2.6, 2.7 (['install', 'ok', 'installed'])
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2357, in <module>
main()
File "/usr/bin/pycentral", line 2351, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1820, in run
and not os.path.exists('/var/lib/dpkg/info/%s/%s.list' % (arch,
pkgname)):
NameError: global name 'arch' is not defined
Purging configuration files for python2.5-minimal ...
Removing remote-keyboard ...
Removing tangogps ...
Processing triggers for man-db ...
Processing triggers for menu ...
Is the solution just to add
arch = self.get_arch()
before the offending line?
-Timo
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]