On 09 Apr 09:36, Jenny Hopkins wrote:
Removing trac ... Traceback (most recent call last): File "/usr/bin/pycentral", line 1891, in <module> main() File "/usr/bin/pycentral", line 1885, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 1403, in run pkg = DebPackage('package', self.args[0], oldstyle=False) File "/usr/bin/pycentral", line 303, in __init__ self.read_pyfiles() File "/usr/bin/pycentral", line 424, in read_pyfiles 'shared files found in old (%s) and new locations (%s)' % (old_shared_base, shared_base2) __main__.PyCentralError: shared files found in old (/usr/share/pycentral/trac/site-packages/) and new locations (/usr/share/pyshared/) dpkg: error processing trac (--remove): subprocess pre-removal script returned error exit status 1 Traceback (most recent call last): File "/usr/bin/pycentral", line 1891, in <module> main() File "/usr/bin/pycentral", line 1885, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 1242, in run pkg = DebPackage('package', self.args[0], oldstyle=False) File "/usr/bin/pycentral", line 303, in __init__ self.read_pyfiles() File "/usr/bin/pycentral", line 424, in read_pyfiles 'shared files found in old (%s) and new locations (%s)' % (old_shared_base, shared_base2) __main__.PyCentralError: shared files found in old (/usr/share/pycentral/trac/site-packages/) and new locations (/usr/share/pyshared/) dpkg: error while cleaning up: subprocess post-installation script returned error exit status 1 Errors were encountered while processing: trac E: Sub-process /usr/bin/dpkg returned an error code (1)
That'll teach me... next time I'll read the stacktrace :)
Anyways - we've just sorted this via IRC - the basic problem was an updated pycentral, vs the backport trac package - this led to the pycentral pkgremove trac failing in the prerm script - we edited the prerm script which handily had a way of doing the removal even if python and pycentral aren't installed... so, all is now well with the world.
Thanks,