I believe this bug is caused by the transition from dh_pysupport to
dh_python2 and the difference in how shared libraries are handled.

The old package (0.8+nmu1ubuntu3) installed the .so file here:
/usr/lib/pyshared/python2.7/utmpaccessmodule.so

The new package (0.8.2) installs the .so file here:
/usr/lib/python2.7/dist-packages/utmpaccessmodule.arm-linux-gnueabihf.so

Python can't find the module in the new location.  It either needs to be:
/usr/lib/python2.7/dist-packages/utmpaccessmodule.so
Or here:
/usr/lib/python2.7/dist-packages/utmpaccess.arm-linux-gnueabihf.so

I believe the second is correct.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1578261

Title:
  import utmp fails with ImportError: No module named utmpaccess

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-utmp/+bug/1578261/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to