can't upgrade/remove k3b
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
k3d (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: k3b
Can't upgrade k3b nor remove it.
The result after trying to upgrade is the following:
fejack@bigfoot:~$ sudo dpkg -r k3d
dpkg: error processing k3d (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
k3d
fejack@bigfoot:~$ apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
fejack@bigfoot:~$ sudo apt-get -f install
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
kdelibs4-dev kdemultimedia-dev libswscalecvs0 libavahi-qt3-dev
libavutilcvs49 libarts1-dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
k3d
Suggested packages:
aqsis
The following packages will be upgraded:
k3d
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 10.9MB of archives.
After unpacking 840kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Fetched 10.9MB in 18s (576kB/s)
Selecting previously deselected package k3d.
(Reading database ... 178784 files and directories currently installed.)
Preparing to replace k3d 0.5.12.0-1ubuntu2 (using .../k3d_
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg.
File "/usr/bin/
raise PyCentralError, "package has no field Python-Version"
__main_
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Usage: update-
update-
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 2
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg.
File "/usr/bin/
raise PyCentralError, "package has no field Python-Version"
__main_
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
oops, wrong package k3b -> k3d