Announcement

Collapse
No announcement yet.

[solved] Python version conflict preventing installation

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [solved] Python version conflict preventing installation

    I am trying to add the gnome desktop as an option to kubuntu-9.04. When I try to do this using Synaptic, it refuses to mark for installation. Drilling down through it's objections, it comes down to this error message:
    Code:
    Depends: python (<2.6) but 2.6.1-0ubuntu3 is to be installed
    That's strange because python-2.5 IS installed. And even if it wasn't, I suspect 2.6.1 might work just as well.
    Is there a way to bypass this problem, without having to manually download each package and force install? I don't see anything in "env" that points to or lists any version of python.
    Bearing in mind that 9.04 is still basically experimental, and taking all relevant precautions...

    Update: OK, I found that I could install gnome using "ubuntu-desktop" instead of "gnome-desktop."
    This bypasses the python problem, although it threatens to remove scrollkeeper. I unchecked that in Synaptic, and away it went with the install.
    However, the python problem remains with another program - imgSeek, and I would like to get that installed.
    We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

    #2
    Re: Python version conflict preventing installation

    About python

    https://lists.ubuntu.com/archives/ub...ry/000541.html
    upcoming python changes / upgrade issues

    After the alpha-5 release we will update the python interpreter from 2.5.4 to
    2.6.1. For about 24 hours you will no be able to cleanly update jaunty, until
    some packages are rebuilt with python2.6. For a better upgrade experience during
    this time, please add the pythoneers PPA to your sources.list, which already
    has the rebuilds available:

    deb http://ppa.launchpad.net/pythoneers/ppa/ubuntu jaunty main

    Don't forget to remove this line after the change is complete; I will notice
    u-d-a when the change is done for main. For universe you may experience
    installability issues somewhat longer.

    Matthias

    =>

    Log of sudo apt-get dist-upgrade
    Sat Feb 28 11:55:19 2009
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following packages will be REMOVED:
    imgseek
    The following NEW packages will be installed:
    libgpod4-nogtk libpython2.6 python2.6-dev
    ...
    Packages that are depending python might need repairing (or rebuild) > http://kubuntuforums.net/forums/inde...opic=3102087.0


    About imgseek

    Package: imgseek (0.8.6-2)
    Depends: python (<< 2.6), python (>= 2.5), python-central (>= 0.6.7), python-qt3 (>= 3.16-1.1), python-imaging (>= 1.1.5-9), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libjpeg62, libqt3-mt (>= 3:3.3.8-b), libstdc++6 (>= 4.2.1)
    The imgseek package is build with the restrictions: python should be at least 2.5 but lover than 2.6.


    a bug report: https://bugs.launchpad.net/ubuntu/+s...k/+bug/342450/
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: Python version conflict preventing installation

      Yeah, but that's what I don't understand. This system has both python-2.5 and -2.6 on it, and I was told by another user in another thread that the two versions can coexist. So why doesn't imgseek, or the apt system, see that the 2.5 stuff is there? The 2.5 stuff was upgraded during the 8.10 -> 9.04 upgrade process, so I would think it is compatible with JJ. Maybe imgseek will eventually get rebuilt, or maybe it won't, but in either case it should see that 2.5 is there, and at least load. I was thinking maybe there is a variable set somewhere that is confusing things, but I can't find it.
      We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

      Comment


        #4
        Re: Python version conflict preventing installation

        This is strange. I have been seeing the same problem with my favorite ripper, jack. It is fixed today, but yesterday it depended on python >= 2.6 and would not install. When I installed the dependencies, downloaded the .de and installed it it did not work.

        python is a virtual package that now depends on python2.6, so having python2.5 installed does not meet the requirement of python >= 2.6.

        I have used Debian for years and had no such problems, and am running Debian unstable right now without this problem, so it has something to do with the way Ubuntu is packaging.

        Comment


          #5
          Re: Python version conflict preventing installation

          Yeah, but that's what I don't understand. This system has both python-2.5 and -2.6 on it, and I was told by another user in another thread that the two versions can coexist. So why doesn't imgseek, or the apt system, see that the 2.5 stuff is there?..
          Well - The apt doesn't "see" anything, it only does as it is told to do /1/.

          ...and it is told to
          Install package imgseek if the python >= 2.5 but don't install if python >= 2.6
          Apt only installs packages. The imgseek may or may not work with the system that has both python 2.5&2.6.


          /1/ by the control file in the /debian/ directory. Package imgseek control file:
          Package: imgseek
          Version: 0.8.6-2
          Architecture: i386
          Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
          Original-Maintainer: Debian QA Group <packages@qa.debian.org>
          Installed-Size: 1372
          Depends: python (<< 2.6), python (>= 2.5), python-central (>= 0.6.7), python-qt3 (>= 3.16-1.1), python-imaging (>= 1.1.5-9), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libjpeg62, libqt3-mt (>= 3:3.3.8-b), libstdc++6 (>= 4.2.1)
          Recommends: libjpeg-progs
          Section: graphics
          Priority: optional
          Homepage: http://www.imgseek.net/
          Description: Image viewer and manager with content based query
          ImgSeek is a photo collection manager and viewer with content based search
          and many other features.
          .
          The search query for an image is expressed either as a rough sketch
          or as another image you supply. The searching algorithm makes use of
          multiresolution wavelet decomposition of the query and database images.
          Python-Version: 2.5
          Before you edit, BACKUP !

          Why there are dead links ?
          1. Thread: Please explain how to access old kubuntu forum posts
          2. Thread: Lost Information

          Comment


            #6
            Re: Python version conflict preventing installation

            alot of the packages in Main are pretty much fixed now as far as I can see, but the lesser-maintained Universe repo is slow to catch up it seems. It may take some more time for these apps to get fixed, assuming there is an active maintainer in Ubuntu working on each one. Universe is pretty much an automated pull from the original Debian packages, and don;'t always get the needed attention quite as quickly.

            Me, I miss my Miro which is not working yet due to the python upgrade

            Comment


              #7
              Re: [solved] Python version conflict preventing installation

              OK, it's not solved, but I'll mark it that way, since the whole problem seems to be the in-progress nature of JJ. We'll see how this all shakes out April 25th. For now, JJ is a lot faster than II, so I put up with its annoyances.
              We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

              Comment


                #8
                Re: [solved] Python version conflict preventing installation

                Jaunty released without a solution, so it might be a good idea to unmark this as "solved" since the official release definitely broke Miro for Ubuntu users.
                JamieWilson.net

                Comment

                Working...
                X