Cannot install; depends on python 2.6 or less but 2.6.1 is installed

Bug #335914 reported by Asif Youssuff
24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
picard (Ubuntu)
Fix Released
High
Scott Kitterman
Declined for Jaunty by Siegfried Gevatter
python-xml (Ubuntu)
Fix Released
Undecided
Siegfried Gevatter
Declined for Jaunty by Siegfried Gevatter

Bug Description

Binary package hint: picard

I just tried to install picard on jaunty

Description: Ubuntu jaunty (development branch)
Release: 9.04

asif@ubuntu-asif:~$ sudo aptitude install picard
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages are BROKEN:
  picard
The following NEW packages will be installed:
  libavcodec52{a} libavformat52{a} libavutil49{a} libdiscid0{a}
  libfftw3-3{a} libmysqlclient15off{a} libofa0{a} libphonon4{a}
  libqt4-assistant{a} libqt4-dbus{a} libqt4-designer{a} libqt4-help{a}
  libqt4-network{a} libqt4-opengl{a} libqt4-qt3support{a} libqt4-script{a}
  libqt4-sql{a} libqt4-sql-mysql{a} libqt4-svg{a} libqt4-test{a}
  libqt4-webkit{a} libqt4-xml{a} libqt4-xmlpatterns{a} libqtcore4{a}
  libqtgui4{a} mysql-common{a} phonon{a} phonon-backend-gstreamer{a}
  python-mutagen{a} python-qt4{a} python-qt4-common{a} python-sip4{a}
  qt4-qtconfig{a}
0 packages upgraded, 34 newly installed, 0 to remove and 1 not upgraded.
Need to get 32.6MB of archives. After unpacking 95.1MB will be used.
The following packages have unmet dependencies:
  picard: Depends: python (< 2.6) but 2.6.1-0ubuntu1 is installed.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
picard [Not Installed]

Score is -9881

Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.

Revision history for this message
Ben Crisford (bencrisford) wrote :

Thank you for your bug report.

Confirmed.

Changed in picard:
status: New → Confirmed
Revision history for this message
razor1394 (razor1394) wrote :

Hello this issue is present with sabnzbdplus available in the UBUNTU universe repository. Using the external jcfp external repository does not help either.

This was work of yesterdays updates.

razor1394@leonis:~$ sudo apt-get install sabnzbdplus
[sudo] password for razor1394:
Läser paketlistor... Färdig
Bygger beroendeträd
Läser tillståndsinformation... Färdig
Några paket kunde inte installeras. Det kan betyda att du har begärt
en omöjlig situation eller, om du använder den instabila utgåvan
att några nödvändiga paket ännu inte har skapats eller flyttats
ut från "Incoming".
Följande information kan vara till hjälp för att lösa situationen:

Följande paket har beroenden som inte kan tillfredsställas:
  sabnzbdplus: Beroende av: python (< 2.6) men 2.6.1-0ubuntu1 kommer att installeras
               Beroende av: python-cheetah (>= 2.0.1) men det kommer inte att installeras
               Rekommenderar: python-yenc (>= 0.3) men det kommer inte att installeras
E: Trasiga paket

sabnzbdplus needs patching but maybe it can be solved temporarily with python regression?

Revision history for this message
George Pollard (porges) wrote :

I tried installing it with `dpkg -i --force-depends`, but then it doesn't run, giving the error:

 $ picard
 Traceback (most recent call last):
     File "/usr/bin/picard", line 2, in <module>
         from picard.tagger import main; main('/usr/share/locale', False)
 ImportError: No module named picard.tagger
 Error in sys.excepthook:
 Traceback (most recent call last):
     File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 85, in apport_excepthook
         os.O_WRONLY|os.O_CREAT|os.O_EXCL), 'w')
 OSError: [Errno 17] File exists: '/var/crash/_usr_bin_picard.1000.crash'

 Original exception was:
 Traceback (most recent call last):
     File "/usr/bin/picard", line 2, in <module>
         from picard.tagger import main; main('/usr/share/locale', False)
 ImportError: No module named picard.tagger

... so it seems that it really does require changes :)

Revision history for this message
vanderland (ubuntu-vanderland) wrote :

After updates, My mythvideo was gone...

Others features like, mythstrem, imdb.pl etc are not gone, but do not work... my assuption is that require XML Parsing...

Updates where done in the folowing order:
apt-get update .... success
apt-get upgrade.... success

My other box without updates is working fine...
-----------------------------------

# apt-get install mythvideo
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  mythvideo: Depends: python-xml but it is not going to be installed
E: Broken packages

---------------------------------------

#apt-get install python-xml
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  python-xml: Depends: python (< 2.6) but 2.6.1-0ubuntu1 is to be installed
E: Broken packages

-----------------------
Thanks
Van Der Fran

Revision history for this message
Scott Kitterman (kitterman) wrote :

Picard itself needs fixing for the Python 2.6 transition.

Changed in python-xml:
assignee: nobody → kitterman
importance: Undecided → High
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package picard - 0.11-1ubuntu2

---------------
picard (0.11-1ubuntu2) jaunty; urgency=low

  * Add --install-layout=deb and rebuild for Python 2.6 transition
    (LP: #335914)

 -- Scott Kitterman <email address hidden> Sun, 01 Mar 2009 23:03:52 -0500

Changed in picard:
status: In Progress → Fix Released
Revision history for this message
Mario Limonciello (superm1) wrote :

python-xml is a separate problem from picard I thought?

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 335914] Re: Cannot install; depends on python 2.6 or less but 2.6.1 is installed

Yes. Picard is fixed.

Revision history for this message
Siva (hellosiva) wrote :

Can someone fix this.

Changed in python-xml:
assignee: nobody → python-modules-team
status: New → Confirmed
Revision history for this message
Scott Kitterman (kitterman) wrote :

Please don't assign bugs to Debian teams such as DPMT.

Changed in python-xml:
assignee: python-modules-team → nobody
Changed in python-xml:
assignee: nobody → rainct
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-xml - 0.8.4-10.1ubuntu2

---------------
python-xml (0.8.4-10.1ubuntu2) jaunty; urgency=low

  * debian/rules:
     - Add --install-layout=deb, don't hardcode "site-packages" and rebuild
       for the Python 2.6 transition (LP: #335914).
  * test/dom/html/test_map.py,
    xml/xpath/ParsedAbbreviatedRelativeLocationPath.py,
    xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py:
      - Replace all instances of "as" (as a variable) with "as1", as the former
        has become a reserved keyword in Python 2.6.

 -- Siegfried-Angel Gevatter Pujals <email address hidden> Wed, 04 Mar 2009 19:36:51 +0100

Changed in python-xml:
status: In Progress → 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.