on a lucid->precise dist-upgrade pycompile can't find the logging module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-defaults (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
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/
apt-get --no-install-
The latter command failed. Its output ended with:
Traceback (most recent call last):
File "/usr/bin/
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.
* CarstenHey [2012-04-03 17:40 -0000]: sources. list recommends dist-upgrade
> 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/
> apt-get --no-install-
I also mounted various standard directories and copied the whole
directory before chrooting.
The original one, which is still lucid, also contains this error, i.e.,
pycompile --version fails with the same error.
> Looks like you need to adapt the dependencies in some way to provide a
> clean upgrade path from lucid to precise.
So this bug is caused by python- minimal/ lucid, which I assume won't be minimal/ lucid could
fixed anymore. Making debconf conflict with python-
fix the upgrade problem.