* Timo Juhani Lindfors <[email protected]>, 2012-06-12, 12:27:
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?
Note that the path is wrong anyway. It should be: /var/lib/dpkg/info/<pkgname>:<arch>.list -- Jakub Wilk -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

