~$ sudo apt-get --purge remove k3d && sudo autoremove
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 ... 147622 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)