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.




--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: dpkg: error while cleaning up
    ... to /etc and hope that this enables dpkg to remove the package. ... We have to identify the problem in the pre-removal script: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Packaging a Debian System on RedHat
    ... I am not sure if I got your question right - do you want to implement apt-get on Red Hat OS? ... Does anyone know how I can package a debian system on ... I need to package for a system that is running embedded debian. ...
    (RedHat)
  • Re: good debian backup software?
    ... >> debian system, like something that would compare the installed system to ... >> restore is run it only asks a very few or no configuation questions. ... I do mine with a daily tar of /etc and the package status list (dpkg ...
    (Debian-User)
  • Re: Linux permissions and which(1)
    ... the whichcommand installed on my Debian system is ... from the debianutils package, not which. ... not-invented-here thing; I have no idea why it exists. ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org ...
    (Debian-User)
  • Re: Linux permissions and which(1)
    ... the whichcommand installed on my Debian system is ... Bill Moseley ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org ...
    (Debian-User)