Comment 1 for bug 883112

Revision history for this message
Jonathan Reed (jdreed) wrote :

On Natty:
$ apt-cache policy python-cups
python-cups:
  Installed: 1.9.54-0ubuntu1
  Candidate: 1.9.54-0ubuntu1
  Version table:
 *** 1.9.54-0ubuntu1 0
        500 http://mirrors.mit.edu/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status

$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cups
>>>

$ apt-cache show python-cups | grep Depends
Depends: libc6 (>= 2.4), libcups2 (>= 1.4.0), python (<< 2.8), python (>= 2.6), python-support (>= 0.90.0)

On Oneiric:

# apt-cache policy python-cups
python-cups:
  Installed: 1.9.59-0ubuntu0.1
  Candidate: 1.9.59-0ubuntu0.1
  Version table:
 *** 1.9.59-0ubuntu0.1 0
        500 http://localhost/ubuntu/ oneiric-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1.9.58-0ubuntu1 0
        500 http://localhost/ubuntu/ oneiric/main amd64 Packages

# python
Python 2.7.2+ (default, Oct 4 2011, 20:06:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cups
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: libcups.so.2: cannot open shared object file: No such file or directory
>>>

# apt-cache show python-cups | grep Depends
Depends: python2.7 | python2.6, python (>= 2.6), python (<< 2.8)