Bug#308586: trying to overwrite `/usr/lib/python2.3/site-packages/apt_pkg.so', which is also in package python-apt
On Thu, May 12, 2005 at 01:15:37AM +0200, Frank Lichtenheld wrote: On Wed, May 11, 2005 at 08:23:59PM +0200, Christian Aichinger wrote: The problem is that we are missing a versioned conflict against older versions of python-apt, which contains the same files as python2.3-apt does now. Wouldn't a Replaces actually suffice? Ok, after re-reading that part of the Debian Policy, I think we need Conflicts+Replaces. I don't think that Replaces alone will do the job. Citing the policy manual: This usage [a Replaces: line] only takes effect when the two packages do conflict, so that the two usages of this field do not interfere with each other. Conflicts entry was added in python-apt--debian--0.6--patch-13. Replaces entry was added in python-apt--debian--0.6--patch-14. Archive available at: http://greek0.net/~greek0/archives Comments? Thanks for pointing this out Frank. Cheers, Greek0 signature.asc Description: Digital signature
Bug#308586: trying to overwrite `/usr/lib/python2.3/site-packages/apt_pkg.so', which is also in package python-apt
On Thu, May 12, 2005 at 05:59:07PM +0200, Christian Aichinger wrote: On Thu, May 12, 2005 at 01:15:37AM +0200, Frank Lichtenheld wrote: On Wed, May 11, 2005 at 08:23:59PM +0200, Christian Aichinger wrote: The problem is that we are missing a versioned conflict against older versions of python-apt, which contains the same files as python2.3-apt does now. Wouldn't a Replaces actually suffice? Ok, after re-reading that part of the Debian Policy, I think we need Conflicts+Replaces. I don't think that Replaces alone will do the job. Citing the policy manual: This usage [a Replaces: line] only takes effect when the two packages do conflict, so that the two usages of this field do not interfere with each other. Eh, this usage is the wrong usage. You want the one that means this package permanently replaces files found in the other package, which is the one that you get without a Conflicts line. There's no reason to force the removal of the other package here, AFAICT. -- Steve Langasek postmodern programmer signature.asc Description: Digital signature
Bug#308586: trying to overwrite `/usr/lib/python2.3/site-packages/apt_pkg.so', which is also in package python-apt
Package: python2.3-apt Version: 0.6.11 Severity: serious Tags: experimental -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Selecting previously deselected package python2.3-apt. Unpacking python2.3-apt (from .../python2.3-apt_0.6.11_i386.deb) ... dpkg: error processing /var/cache/apt/archives/python2.3-apt_0.6.11_i386.deb (--unpack): trying to overwrite `/usr/lib/python2.3/site-packages/apt_pkg.so', which is also in package python-apt dpkg-deb: subprocess paste killed by signal (Broken pipe) - -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing'), (130, 'unstable'), (120, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.10-bohr Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages python2.3-apt depends on: pn libapt-inst-libc6.3-5-1.1Not found. pn libapt-pkg-libc6.3-5-3.9 Not found. ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an ii libgcc1 1:3.4.3-12 GCC support library ii libstdc++5 1:3.3.5-12 The GNU Standard C++ Library v3 pn python2.3Not found. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCgdJI+z+IwlXqWf4RAmAGAJ9PCW58jOYvXn2hQXgdCL6jrTGKQACeJT2Q wBLt/z0UcXkQ5QAlkqOR0N0= =Gq59 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#308586: trying to overwrite `/usr/lib/python2.3/site-packages/apt_pkg.so', which is also in package python-apt
tags 308586 patch Selecting previously deselected package python2.3-apt. Unpacking python2.3-apt (from .../python2.3-apt_0.6.11_i386.deb) ... dpkg: error processing /var/cache/apt/archives/python2.3-apt_0.6.11_i386.deb (--unpack): trying to overwrite `/usr/lib/python2.3/site-packages/apt_pkg.so', which is also in package python-apt dpkg-deb: subprocess paste killed by signal (Broken pipe) Ok, that's my fault. In my tree I've splitted the python 2.3 stuff out of python-apt into its own package. python-apt is now contains only documentation and depends on python2.3-apt. The problem is that we are missing a versioned conflict against older versions of python-apt, which contains the same files as python2.3-apt does now. As a workaround you can upgrade to the latest version of python-apt from experimental, that will pull in python2.3-apt automatically and fix the error you discribe. While we're at it, should we add a Suggests: line for python-apt to python2.3-apt and python2.4-apt? A fix (added Conflict: python-apt ( 0.6.11) to python2.3-apt), is available as [EMAIL PROTECTED]/python-apt--debian--0.6--patch-13 at URL:http://greek0.net/~greek0/archives. Sorry for the problems the missing conflict has caused. Cheers, Greek0 signature.asc Description: Digital signature
Bug#308586: trying to overwrite `/usr/lib/python2.3/site-packages/apt_pkg.so', which is also in package python-apt
On Wed, May 11, 2005 at 08:23:59PM +0200, Christian Aichinger wrote: The problem is that we are missing a versioned conflict against older versions of python-apt, which contains the same files as python2.3-apt does now. Wouldn't a Replaces actually suffice? Gruesse, -- Frank Lichtenheld [EMAIL PROTECTED] www: http://www.djpig.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]