[Bug 972674] Re: pycompile: ImportError: No module named logging
Matthias Klose
doko at ubuntu.com
Sun Mar 24 18:52:51 UTC 2013
I can't see a good way to fix this. The good thing is that this is
usually not seen when dist-upgrading a more complete lucid installation.
** Changed in: python-defaults (Ubuntu)
Importance: Undecided => Medium
** Changed in: python-defaults (Ubuntu)
Status: New => Triaged
** Summary changed:
- pycompile: ImportError: No module named logging
+ on a lucid->precise dist-upgrade pycompile can't find the logging module
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/972674
Title:
on a lucid->precise dist-upgrade pycompile can't find the logging
module
Status in “python-defaults” package in Ubuntu:
Triaged
Bug description:
I did (not copy and pasted, so there might be typos):
debootstrap --variant=minbase lucid foo
chroot foo
sed -i s/lucid/precise/g /etc/apt/sources.list
apt-get --no-install-recommends dist-upgrade
The latter command failed. Its output ended with:
Traceback (most recent call last):
File "/usr/bin/pycompile", line 26, in <module>
import logging
ImportError: No module named logging
dpkg: error processing debconf (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
debconf
dpkg -S revealed that pycompile belongs to python-minimal and the
dependencies suggest that this was still the version in lucid.
Looks like you need to adapt the dependencies in some way to provide a
clean upgrade path from lucid to precise.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/972674/+subscriptions
More information about the foundations-bugs
mailing list