dapper->hardy upgrade fails

Bug #203524 reported by Michael Vogt
2
Affects Status Importance Assigned to Milestone
python-central (Ubuntu)
Fix Released
High
Michael Vogt

Bug Description

Binary package hint: python-central

On a dapper -> hardy upgrade test with huge amounts of packages installed, python-central gives the following error:

Setting up python-central (0.6.0ubuntu2) ...^M
pycentral: pycentral pkginstall: not overwriting local files^M
pycentral pkginstall: not overwriting local files^M
dpkg: error processing python-central (--configure):^M
 subprocess post-installation script returned error exit status 1^M

This system never had local files, its a stock dapper install with additional packages from main.

Revision history for this message
Michael Vogt (mvo) wrote :

Additional debug output of the maintainer script that may help finding the problem:

[35.1838] python2.4-minimal: Configuring python2.4-minimal
Setting up python2.4-minimal (2.4.5-1ubuntu2) ...^M
+ set -e
+ [ ! -f /etc/python2.4/sitecustomize.py ]
+ [ configure = configure ]
+ dpkg -L python2.4-minimal
+ sed -n /^\/usr\/lib\/python2.4\/.*\.py$/p
+ files=/usr/lib/python2.4/__future__.py
... [loads of more files]
+ grep -sq ^byte-compile[^#]*optimize /etc/python/debian_config
+ bc=no
+ [ -z 2.4.3-0ubuntu6 ]
+ dpkg --compare-versions 2.4.3-0ubuntu6 lt 2.4.3-8
+ bc=yes
+ grep -sq ^supported-versions[^#]*python2.4 /usr/share/python/debian_defaults
+ [ yes = yes ]
+ [ noninteractive != noninteractive ]
+ dpkg -s python2.4-minimal
+ awk /^Version:/ {print $2}
+ version=2.4.5-1ubuntu2
+ [ -x /usr/share/python/runtime.d/pycentral.rtinstall ]
+ /usr/share/python/runtime.d/pycentral.rtinstall rtinstall python2.4 2.4.3-0ubuntu6 2.4.5-1ubuntu2
pycentral: pycentral rtinstall: package python-pyrex: not overwriting local files
pycentral rtinstall: package python-pyrex: not overwriting local files
['/bin/sh', '-ex', '/var/lib/dpkg/info//python2.4-minimal.postinst', 'configure', '2.4.3-0ubuntu6']
pycentral: pycentral rtinstall: package python-pyrex: not overwriting local files^M
pycentral rtinstall: package python-pyrex: not overwriting local files^M
dpkg: error processing python2.4-minimal (--configure):^M
 subprocess post-installation script returned error exit status 1^M
Errors were encountered while processing:^M
 python2.4-minimal^M

Changed in python-central:
importance: Undecided → High
milestone: none → ubuntu-8.04-beta
Revision history for this message
Michael Vogt (mvo) wrote :

In a dapper pbuilder chroot with just python-pyrex installed, the upgrade gives me the following error:

Preparing to replace python-pyrex 0.9.3.1-2ubuntu2 (using .../python-pyrex_0.9.6.4-1build1_all.deb) ...
Unpacking replacement python-pyrex ...
dpkg: error processing /var/cache/apt/archives/python-pyrex_0.9.6.4-1build1_all.deb (--unpack):
 trying to overwrite `/usr/bin/python2.4-pyrexc', which is also in package python2.4-pyrex
dpkg-deb: subprocess paste killed by signal (Broken pipe)

Revision history for this message
Michael Vogt (mvo) wrote :

I will upload a new python-pyrex with the missing replaces, but I'm not sure if that will fix the python-central issues were it reports "not overwriting local files".

Revision history for this message
Michael Vogt (mvo) wrote :

This should be fixed now in the current python-pyrex

Changed in python-central:
status: New → Fix Released
assignee: nobody → mvo
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.