Control: tags -1 - moreinfo
Control: found -1 3.3.0~b2-1
* Matthias Klose <d...@debian.org>, 2012-08-13, 12:00:
From the attached log (scroll to the bottom...):
Removing python3.3-minimal ...
Purging configuration files for python3.3-minimal ...
dpkg: error processing python3.3-minimal (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
python3.3-minimal
Adding set -x to the postrm:
Removing python3.3-minimal ...
Purging configuration files for python3.3-minimal ...
+ [ purge = remove ]
+ [ purge = purge ]
+ find /usr/lib/python3.3 -depth -type d -empty
+ rm -f /etc/python3.3/site.py /etc/python3.3/sitecustomize.py
+ rmdir --ignore-fail-on-non-empty /etc/python3.3
dpkg: error processing python3.3-minimal (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
python3.3-minimal>
which files are still left in /etc/python3.3?
None (rm --ignore-fail-on-non-empty wouldn't fail if there were some).
The culprit is that the /etc/python3.3 directory does not exist at all.
If stderr weren't redirected to /dev/null, you would see:
rmdir: failed to remove `/etc/python3.3': No such file or directory
Here's how to reproduce this bug in a minimal chroot:
# apt-get install -qq python3.3-minimal
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libexpat1:i386.
(Reading database ... 10807 files and directories currently installed.)
Unpacking libexpat1:i386 (from .../libexpat1_2.1.0-1_i386.deb) ...
Selecting previously unselected package libpython3.3-minimal:i386.
Unpacking libpython3.3-minimal:i386 (from
.../libpython3.3-minimal_3.3.0~b2-1_i386.deb) ...
Selecting previously unselected package python3.3-minimal.
Unpacking python3.3-minimal (from .../python3.3-minimal_3.3.0~b2-1_i386.deb) ...
Setting up libexpat1:i386 (2.1.0-1) ...
Setting up libpython3.3-minimal:i386 (3.3.0~b2-1) ...
Setting up python3.3-minimal (3.3.0~b2-1) ...
# dpkg -r python3.3-minimal
(Reading database ... 11007 files and directories currently installed.)
Removing python3.3-minimal ...
Unlinking and removing bytecode for runtime python3.3
# dpkg -P libpython3.3-minimal
(Reading database ... 10997 files and directories currently installed.)
Removing libpython3.3-minimal:i386 ...
Purging configuration files for libpython3.3-minimal:i386 ...
# ls -l /etc/python3.3
ls: cannot access /etc/python3.3: No such file or directory
# dpkg -P python3.3-minimal
(Reading database ... 10815 files and directories currently installed.)
Removing python3.3-minimal ...
Purging configuration files for python3.3-minimal ...
dpkg: error processing python3.3-minimal (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
python3.3-minimal
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org