can't upgrade/remove k3b

Bug #114500 reported by Denis Moyogo Jacquerye
2
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://it.archive.ubuntu.com feisty/universe k3d 0.6.6.0.ds1-1 [10.9MB]
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_0.6.6.0.ds1-1_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1394, in <module>
    main()
  File "/usr/bin/pycentral", line 1388, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 955, in run
    pkg.read_version_info()
  File "/usr/bin/pycentral", line 542, in read_version_info
    raise PyCentralError, "package has no field Python-Version"
__main__.PyCentralError: package has no field Python-Version
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Usage: update-python-modules [-v] [-c] package_directory [...]
       update-python-modules [-v] [-c] package.dirs [...]
       update-python-modules [-v] [-a|-f]

update-python-modules: error: /usr/share/python-support/k3d.dirs does not exist
dpkg: error processing /var/cache/apt/archives/k3d_0.6.6.0.ds1-1_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1394, in <module>
    main()
  File "/usr/bin/pycentral", line 1388, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 879, in run
    pkg.read_version_info()
  File "/usr/bin/pycentral", line 542, 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:
 /var/cache/apt/archives/k3d_0.6.6.0.ds1-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Denis Moyogo Jacquerye (moyogo) wrote :

oops, wrong package k3b -> k3d

Revision history for this message
Marco Rodrigues (gothicx) wrote :

Try to do this:

sudo apt-get autoclean && sudo apt-get update

sudo apt-get install k3d

Revision history for this message
Francis Jacquerye (fejack) wrote :
Download full text (6.8 KiB)

Reading package lists... Done
Building dependency tree
Reading state information... Done
Get:1 http://it.archive.ubuntu.com feisty Release.gpg [191B]
Ign http://it.archive.ubuntu.com feisty/universe Translation-en_US
Ign http://it.archive.ubuntu.com feisty/main Translation-en_US
Ign http://it.archive.ubuntu.com feisty/restricted Translation-en_US
Get:2 http://archive.ubuntu.com feisty Release.gpg [191B]
Ign http://archive.ubuntu.com feisty/main Translation-en_US
Ign http://it.archive.ubuntu.com feisty/multiverse Translation-en_US
Get:3 http://it.archive.ubuntu.com feisty-updates Release.gpg [191B]
Ign http://it.archive.ubuntu.com feisty-updates/main Translation-en_US
Ign http://it.archive.ubuntu.com feisty-updates/restricted Translation-en_US
Ign http://it.archive.ubuntu.com feisty-updates/universe Translation-en_US
Ign http://it.archive.ubuntu.com feisty-updates/multiverse Translation-en_US
Get:4 http://it.archive.ubuntu.com feisty-backports Release.gpg [191B]
Ign http://www.debian-multimedia.org sarge Release.gpg
Ign http://www.debian-multimedia.org sarge/main Translation-en_US
Ign http://it.archive.ubuntu.com feisty-backports/main Translation-en_US
Ign http://it.archive.ubuntu.com feisty-backports/restricted Translation-en_US
Ign http://it.archive.ubuntu.com feisty-backports/universe Translation-en_US
Ign http://it.archive.ubuntu.com feisty-backports/multiverse Translation-en_US
Hit http://it.archive.ubuntu.com feisty Release
Get:5 http://security.ubuntu.com feisty-security Release.gpg [191B]
Ign http://security.ubuntu.com feisty-security/universe Translation-en_US
Ign http://security.ubuntu.com feisty-security/main Translation-en_US
Hit http://archive.ubuntu.com feisty Release
Ign http://www.debian-multimedia.org sarge Release
Hit http://it.archive.ubuntu.com feisty-updates Release
Hit http://it.archive.ubuntu.com feisty-backports Release
Ign http://security.ubuntu.com feisty-security/restricted Translation-en_US
Ign http://security.ubuntu.com feisty-security/multiverse Translation-en_US
Ign http://www.debian-multimedia.org sarge/main Packages
Hit http://security.ubuntu.com feisty-security Release
Err http://www.debian-multimedia.org sarge/main Packages
  404 Not Found
Hit http://it.archive.ubuntu.com feisty/main Sources
Hit http://archive.ubuntu.com feisty/main Packages
Hit http://it.archive.ubuntu.com feisty/restricted Sources
Hit http://it.archive.ubuntu.com feisty/universe Packages
Hit http://it.archive.ubuntu.com feisty/main Packages
Hit http://it.archive.ubuntu.com feisty/restricted Packages
Hit http://it.archive.ubuntu.com feisty/multiverse Packages
Hit http://it.archive.ubuntu.com feisty/universe Sources
Hit http://it.archive.ubuntu.com feisty-updates/main Packages
Hit http://it.archive.ubuntu.com feisty-updates/restricted Packages
Hit http://it.archive.ubuntu.com feisty-updates/universe Packages
Hit http://it.archive.ubuntu.com feisty-updates/multiverse Packages
Hit http://it.arch...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.