python-libcec installs to /usr/lib/python2.7.15rc1/dist-packages which isn't on python import path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libcec (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
python-libcec installs to /usr/lib/
It should be /usr/lib/
The latter is on python's default import search path, the former is not.
$ lsb_release -rd
Description: Ubuntu 18.04.2 LTS
Release: 18.04
$ apt-cache policy python-libcec
python-libcec:
Installed: 4.0.2+dfsg1-
Candidate: 4.0.2+dfsg1-
Version table:
*** 4.0.2+dfsg1-
500 http://
100 /var/lib/
500 http://
$ dpkg -L python-libcec
[...]
/usr/
/usr/
/usr/
$ python
>>> import cec
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named cec
>>> import sys; print sys.path
['', '/usr/lib/
This is the only thing installed in /usr/lib/
$ ls /usr/lib/
cec/
This doesn't affect 16.04.
It does affect 18.04 and 18.10.