[Pkg-bazaar-maint] Bug#477431: bzrlib/patches.py gets in the way for configuration of python2.4-minimal
Ingvar Hagelund
ingvar at linpro.no
Wed Apr 23 08:21:00 UTC 2008
Package: bzr
Version: 0.11-1.1
Severity: important
Upgrading python2.4 and python2.4-minimal breaks because bzr generates a file
/usr/lib/python2.4/site-packages/bzrlib/patches.py that comes in the way for
the python2.4-minimal configure script.
Workaround: Fetch a cup of coffee, remove bzr, watch python2.4-minimal configure
itself properly. Then reinstall bzr.
Consider the following screendump:
hund:~# aptitude upgrade
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up python2.4-minimal (2.4.4-3+etch1) ...
Linking and byte-compiling packages for runtime python2.4...
pycentral: pycentral rtinstall: package bzr: already exists: /usr/lib/python2.4/site-packages/bzrlib/patches.py
pycentral rtinstall: package bzr: already exists: /usr/lib/python2.4/site-packages/bzrlib/patches.py
dpkg: error processing python2.4-minimal (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python2.4:
python2.4 depends on python2.4-minimal (= 2.4.4-3+etch1); however:
Package python2.4-minimal is not configured yet.
dpkg: error processing python2.4 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python2.4-minimal
python2.4
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up python2.4-minimal (2.4.4-3+etch1) ...
Linking and byte-compiling packages for runtime python2.4...
pycentral: pycentral rtinstall: package bzr: already exists: /usr/lib/python2.4/site-packages/bzrlib/patches.py
pycentral rtinstall: package bzr: already exists: /usr/lib/python2.4/site-packages/bzrlib/patches.py
dpkg: error processing python2.4-minimal (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python2.4:
python2.4 depends on python2.4-minimal (= 2.4.4-3+etch1); however:
Package python2.4-minimal is not configured yet.
dpkg: error processing python2.4 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python2.4-minimal
python2.4
hund:~# aptitude remove bzr
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following packages will be REMOVED:
bzr
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 5792kB will be freed.
Writing extended state information... Done
(Reading database ... 71138 files and directories currently installed.)
Removing bzr ...
Setting up python2.4-minimal (2.4.4-3+etch1) ...
Linking and byte-compiling packages for runtime python2.4...
Setting up python2.4 (2.4.4-3+etch1) ...
hund:~# aptitude install bzr
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be installed:
bzr
The following packages are RECOMMENDED but will NOT be installed:
python-pycurl
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1023kB of archives. After unpacking 5792kB will be used.
Writing extended state information... Done
Get:1 http://ftp.no.debian.org etch/main bzr 0.11-1.1 [1023kB]
Fetched 1023kB in 1s (601kB/s)
Selecting previously deselected package bzr.
(Reading database ... 70689 files and directories currently installed.)
Unpacking bzr (from .../archives/bzr_0.11-1.1_all.deb) ...
Setting up bzr (0.11-1.1) ...
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686-bigmem
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages bzr depends on:
ii python 2.4.4-2 An interactive high-level object-o
ii python-celementtree 1.0.5-8 Light-weight toolkit for XML proce
ii python-central 0.5.12 register and build utility for Pyt
ii python2.4 2.4.4-3+etch1 An interactive high-level object-o
Versions of packages bzr recommends:
ii python-paramiko 1.5.2-0.1 make SSH2 connections with python
pn python-pycurl <none> (no description available)
-- no debconf information
More information about the Pkg-bazaar-maint
mailing list