python-cups no longer depends on libcups2
Bug #883112 reported by
Jonathan Reed
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cups (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Oneiric |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
Somewhere between Natty and Oneiric, python-cups stopped depending on libcups2. This makes the package kind of useless, since all attempts to use it will result in "ImportError: libcups.so.2: cannot open shared object file: No such file or directory". Installing libcups2 manually fixes this error.
To post a comment you must log in.
On Natty: mirrors. mit.edu/ ubuntu/ natty/main amd64 Packages dpkg/status
$ 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://
100 /var/lib/
$ 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 localhost/ ubuntu/ oneiric- updates/ main amd64 Packages dpkg/status 9.58-0ubuntu1 0 localhost/ ubuntu/ oneiric/main amd64 Packages
python-cups:
Installed: 1.9.59-0ubuntu0.1
Candidate: 1.9.59-0ubuntu0.1
Version table:
*** 1.9.59-0ubuntu0.1 0
500 http://
100 /var/lib/
1.
500 http://
# 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)