Public bug reported: 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. ** Affects: python-defaults (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/972674 Title: pycompile: ImportError: No module named logging To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/972674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs