package python-support 0.8.7ubuntu1 failed to install/upgrade: package python-support is already installed and configured

Bug #332086 reported by knarf
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: apt

This appeared during a dist-upgrade. Since when is it considered an error to update/install a package which has already been installed? I know that dpkg has no qualms about reinstalling packages:

s dpkg -i /var/cache/apt/archives/python-support_0.8.7ubuntu1_all.deb
[sudo] password for frank:
(Reading database ... 293841 files and directories currently installed.)
Preparing to replace python-support 0.8.7ubuntu1 (using .../python-support_0.8.7ubuntu1_all.deb) ...
Unpacking replacement python-support ...
Setting up python-support (0.8.7ubuntu1) ...

Processing triggers for man-db ...

So something in apt complains about something which dpkg thinks is fine...

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: package python-support is already installed and configured
NonfreeKernelModules: ath_hal
Package: python-support 0.8.7ubuntu1
PackageArchitecture: all
SourcePackage: python-support
Title: package python-support 0.8.7ubuntu1 failed to install/upgrade: package python-support is already installed and configured
Uname: Linux 2.6.29-rc4-t23-200902112347 i686

Revision history for this message
knarf (launchpad-ubuntu-f) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Hi,

I think its pretty likely that the deluge problems cause this error:

Processing triggers for python-support ...
Compiling /var/lib/python-support/python2.4/deluge/core/core.py ...
  File "/var/lib/python-support/python2.4/deluge/core/core.py", line 323
    vs = ver.split("_") if "_" in ver else ver.split("-")
                         ^
SyntaxError: invalid syntax

Compiling /var/lib/python-support/python2.4/deluge/ui/gtkui/files_tab.py ...
  File "/var/lib/python-support/python2.4/deluge/ui/gtkui/files_tab.py", line 215
    "sort_order": int(sort_order) if sort_order else None
                                   ^
SyntaxError: invalid syntaxProcessing triggers for python-support ...
Compiling /var/lib/python-support/python2.4/deluge/core/core.py ...
  File "/var/lib/python-support/python2.4/deluge/core/core.py", line 323
    vs = ver.split("_") if "_" in ver else ver.split("-")
                         ^
SyntaxError: invalid syntax

Compiling /var/lib/python-support/python2.4/deluge/ui/gtkui/files_tab.py ...
  File "/var/lib/python-support/python2.4/deluge/ui/gtkui/files_tab.py", line 215
    "sort_order": int(sort_order) if sort_order else None
                                   ^
SyntaxError: invalid syntax

Compiling /var/lib/python-support/python2.4/deluge/ui/gtkui/peers_tab.py ...
  File "/var/lib/python-support/python2.4/deluge/ui/gtkui/peers_tab.py", line 169
    "sort_order": int(sort_order) if sort_order else None
                                   ^
SyntaxError: invalid syntax

Compiling /var/lib/python-support/python2.4/deluge/ui/gtkui/peers_tab.py ...
  File "/var/lib/python-support/python2.4/deluge/ui/gtkui/peers_tab.py", line 169
    "sort_order": int(sort_order) if sort_order else None
                                   ^
SyntaxError: invalid syntax

Revision history for this message
Michael Vogt (mvo) wrote :

This should be fixed with:

deluge (1.1.3+dfsg-1) experimental; urgency=low
...
  * debian/control:
    - build only against python >=2.5 (Closes: #515549, LP: #329836);

Changed in apt (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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