[Python-modules-team] Bug#422556: can't upgrade to 0.3.5-4

Ranjan Grover ranjan.grover at gmail.com
Tue May 8 14:00:00 UTC 2007


On upgrading from the buggy 0.3.5-3 to the latest version 0.3.5-4, I
get the following error message from apt. I get a similar error when
trying to remove using apt or dpkg. Please advise on how to
upgrade/remove.

Selecting previously deselected package python-pyusb.
(Reading database ... 238527 files and directories currently installed.)
Preparing to replace python-pyusb 0.3.5-3 (using
.../python-pyusb_0.3.5-4_i386.deb) ...
usage: update-python-modules [-v] [-c] package_directory [...]
       update-python-modules [-v] [-c] package.dirs [...]
       update-python-modules [-v] [-a|-f]

update-python-modules: error: /usr/share/python-support/python-pyusb
does not exist
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
usage: update-python-modules [-v] [-c] package_directory [...]
       update-python-modules [-v] [-c] package.dirs [...]
       update-python-modules [-v] [-a|-f]

update-python-modules: error: /usr/share/python-support/python-pyusb
does not exist
dpkg: error processing
/var/cache/apt/archives/python-pyusb_0.3.5-4_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/python-pyusb_0.3.5-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)




More information about the Python-modules-team mailing list