Bug#401570: Processed: Re: Bug#401570: libswt3.2-gtk-jni: apt-get upgrade fails

2006-12-13 Thread Shaun Jackman

On 12/12/06, Steve Langasek [EMAIL PROTECTED] wrote:
...

I don't see any conflicts between the -java packages, only the -jni
packages.  I guess the -jni packages do need to conflict with each other
then, if they have file conflicts.


Thank you for bringing to my attention that only the -jni packages
conflict. The fundamental reason the two packages conflict is that
they provide exactly the same libraries. So, to close bug #376672
(libswt-gtk-3.1-java conflicts libswt3.1-gtk-java) it occurred to me
that libswt-gtk-3.1-java could depend on libswt-gtk-3.2-jni |
libswt3.2-gtk-jni.

The catch is that both JNI libraries are somewhat misnamed, because
version 3.2-1 of both packages provided the soname libswt-gtk-3232.so,
whereas version 3.2.1-1 of the packages provide the soname
libswt-gtk-3235.so. If 3.2.2-1 is also released under the package name
libswt3.2-gtk-jni (likely), it will not be suitable to provide the
needed dependency (namely, libswt-gtk-3235.so). So, I need to depend
as an alternative on libswt3.2-gtk-jni ( 3.2.1   3.2.2). How do
I accomplish this? So far I have...

Package: libswt-gtk-3.2-java
Depends: libswt-gtk-3.2-jni (= ${binary:Version})
 | libswt3.2-gtk-jni ( 3.2.1)

One solution would be for both libswt-gtk-3.2-jni and
libswt3.2-gtk-jni to provide a pseudo-package libswt-gtk-3235-jni and
depend on that. The only downside is that both SWT packages have to be
modified to support this mechanism.

Cheers,
Shaun


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Processed: Re: Bug#401570: libswt3.2-gtk-jni: apt-get upgrade fails

2006-12-12 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 severity 401570 serious
Bug#401570: libswt3.2-gtk-jni: apt-get upgrade fails
Severity set to `serious' from `important'

 tags 401570 sid
Bug#401570: libswt3.2-gtk-jni: apt-get upgrade fails
There were no tags set.
Tags added: sid

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#401570: libswt3.2-gtk-jni: apt-get upgrade fails

2006-12-05 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 reassign 401570 libswt-gtk-3.2-jni
Bug#401570: libswt3.2-gtk-jni: apt-get upgrade fails
Bug reassigned from package `libswt3.2-gtk-jni' to `libswt-gtk-3.2-jni'.

 severity 401570 important
Bug#401570: libswt3.2-gtk-jni: apt-get upgrade fails
Severity set to `important' from `grave'

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#401570: libswt3.2-gtk-jni: apt-get upgrade fails

2006-12-05 Thread Steve Langasek
reassign 401570 libswt-gtk-3.2-jni
severity 401570 important
thanks

On Mon, Dec 04, 2006 at 04:32:24PM +0100, Boris Kleibl wrote:
 Package: libswt3.2-gtk-jni
 Version: 3.2.1-1
 Severity: grave
 Justification: renders package unusable

 Doing

 apt-get update
 apt-get upgrade

 leads to the following error:

 Unpacking libswt3.2-gtk-jni (from .../libswt3.2-gtk-jni_3.2.1-1_i386.deb) ...
 dpkg: error processing 
 /var/cache/apt/archives/libswt3.2-gtk-jni_3.2.1-1_i386.deb (--unpack):
  trying to overwrite `/usr/lib/jni/libswt-atk-gtk-3235.so', which is also in 
 package libswt-gtk-3.2-jni
  dpkg-deb: subprocess paste killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libswt3.2-gtk-jni_3.2.1-1_i386.deb
   E: Sub-process /usr/bin/dpkg returned an error code (1)

AFAICS, libswt3.2-gtk-jni has been *superseded* by libswt-gtk-3.2-jni, and
libswt3.2-gtk-jni was never in testing or stable (and only briefly in
unstable), so this bug doesn't warrant an RC severity.

I guess the workaround would be to manually remove libswt3.2-gtk-jni from
your system.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#401570: libswt3.2-gtk-jni: apt-get upgrade fails

2006-12-04 Thread Boris Kleibl
Package: libswt3.2-gtk-jni
Version: 3.2.1-1
Severity: grave
Justification: renders package unusable


Doing

apt-get update
apt-get upgrade

leads to the following error:

Unpacking libswt3.2-gtk-jni (from .../libswt3.2-gtk-jni_3.2.1-1_i386.deb) ...
dpkg: error processing 
/var/cache/apt/archives/libswt3.2-gtk-jni_3.2.1-1_i386.deb (--unpack):
 trying to overwrite `/usr/lib/jni/libswt-atk-gtk-3235.so', which is also in 
package libswt-gtk-3.2-jni
 dpkg-deb: subprocess paste killed by signal (Broken pipe)
 Errors were encountered while processing:
  /var/cache/apt/archives/libswt3.2-gtk-jni_3.2.1-1_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  
-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]