Re: Dpgk Error -- Can't Install Or Remove Package
On Mon, Nov 20, 2006 at 11:13:04PM -0500, Hal Vaughan wrote:
> This is on an Ubuntu system, but the problem is more one with dpkg, or
> the Debian system in general. When I recently upgraded my system, I
> had problems with one package, K3d.
> [root@wizard:~]$ apt-get remove --purge k3d
> Removing k3d ...
> Traceback (most recent call last):
> File "/usr/bin/pycentral", line 1348, in ?
> main()
> File "/usr/bin/pycentral", line 1342, in main
> rv = action.run(global_options)
> File "/usr/bin/pycentral", line 932, in run
> pkg.read_version_info()
> File "/usr/bin/pycentral", line 535, in read_version_info
> raise PyCentralError, "package has no field Python-Version"
> __main__.PyCentralError: package has no field Python-Version
> dpkg: error processing k3d (--purge):
> subprocess pre-removal script returned error exit status 1
> Errors were encountered while processing:
> k3d
> E: Sub-process /usr/bin/dpkg returned an error code (1)
The problem is not with dpkg but with the pre-removal script in the k3d
package.
Doug.
Reply to: