Results 1 to 5 of 5

Thread: E: Package 'python-pil' has no installation candidate

  1. #1
    Join Date
    Nov 2007
    Beans
    134
    Distro
    Ubuntu 19.04 Disco Dingo

    E: Package 'python-pil' has no installation candidate

    Guys, I have recently upgraded from 11.10 to 12.04 and I have an error message when updating:

    Code:
    sudo apt-get upgrade 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages have been kept back:
      trac-wikiprint
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    When I try to re-install trac-wikiprint, I get:-
    Code:
    sudo apt-get install trac-wikiprint 
    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.
     trac-wikiprint : Depends: python-pil but it is not installable
    E: Unable to correct problems, you have held broken packages.
    That's easy, just install pythin-pil & it's all good:
    Code:
    sudo apt-get install python-pil
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package python-pil is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    
    E: Package 'python-pil' has no installation candidate


    So, where to next?
    "How did it get so late so soon"
    To the world you may be one person, but to one person you may be the world.

  2. #2
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: E: Package 'python-pil' has no installation candidate

    I'm on Quantal right now, and there is no python-pil package into the repo.

    Looking at the needed python dependencies into synaptic:
    -python-pisa
    -python-imaging
    -python-html5lib
    -python-reportlab

    so the question is : is the trac-wikiprint package you try to install coming from the genuine ubuntu archive ?

  3. #3
    Join Date
    Nov 2007
    Beans
    134
    Distro
    Ubuntu 19.04 Disco Dingo

    Re: E: Package 'python-pil' has no installation candidate

    Well, I've been using Trac on Ubuntu for a few years now and trac-wikiprint is a module for Trac.

    All was working fine on Oneric, and trac-wikiprint is listed here.
    "How did it get so late so soon"
    To the world you may be one person, but to one person you may be the world.

  4. #4
    Join Date
    Nov 2007
    Beans
    134
    Distro
    Ubuntu 19.04 Disco Dingo

    Re: E: Package 'python-pil' has no installation candidate

    What seems odd to me is that python-pil was not a dependancy in oneric, only in precise, and it looks like it's removed again in quantal. so maybe trac-wikiprint doesn't really need this.

    So, is there any way I can alter the dependancy for trac-wikiprint so it doesn't require python-pil?

    It's a production server, so I wouldn't want to put quantal on it until it's stable.
    "How did it get so late so soon"
    To the world you may be one person, but to one person you may be the world.

  5. #5
    Join Date
    Nov 2007
    Beans
    134
    Distro
    Ubuntu 19.04 Disco Dingo

    Re: E: Package 'python-pil' has no installation candidate

    Updates today seem to have resolved the problem.
    "How did it get so late so soon"
    To the world you may be one person, but to one person you may be the world.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •