Dpgk Error -- Can't Install Or Remove Package
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. I don't need this at this point,
so I'd like to remove it. I've tried to both remove and remove with
purge. The output is below. At this point I just want to get this
package off my system.
Thanks for any help!
Hal
--------
[root@wizard:~]$ apt-get remove --purge k3d
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
k3d
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
k3d*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 44.5MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 127426 files and directories currently installed.)
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
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 865, 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 while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
k3d
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply to: