/usr/share/python/pyversions.py is included in python-minimal.

Ubuntu package:
- make symbolic link /usr/bin/pyversions to pyversions.py in package of 
"python" (see debian/rules).
- remove /usr/share/python/*.py[co] at prerm of "python-minimal".
- remove /usr/share/python/pyversions.py[co] at prerm only with "remove" state 
of "python".
- debootstrap install "python-minimal" in base.tgz, therefore 
python-minimal.prerm is *not* executed in piuparts.

Ubuntu package:
- make symbolic link /usr/bin/pyversions to pyversions.py in package of 
"python-minimal" (see debian/rules).
- remove /usr/share/python/*.py[co] at prerm of "python-minimal".
- remove /usr/share/python/pyversions.py[co] at prerm only with "remove" state 
of "python".
- debootstrap *does not* install "python-minimal" in base.tgz, therefore 
python-minimal.prerm is executed in piuparts.

lp:~cosmos-door/ubuntu/quantal/python-defaults/fix-for-1054442
is remove /usr/share/python/pyversions.py[co] with purge option same as 
"apt-get remove".

** Attachment added: "result to piuparts for new "python" package."
   
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1054442/+attachment/3330371/+files/python-install2.log

** Tags added: patch

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

Title:
  Failed piuparts at purge because does not remove pyversions.pyc

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

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

Reply via email to