[Aptitude-devel] Bug#563862: aptitude: Odd package install/remove order causes a symlink to vanish

Daniel Hartwig mandyke at gmail.com
Wed Sep 26 03:25:23 BST 2012


Control: reassign -1 libswt-gtk-3.5-java 3.5.1-2
Control: retitle -1 libswt-gtk-3.5-java: upgrading from -3.4-java causes swt.jar symlink to vanish

Tony 'Nicoya' Mantler <nicoya at ubb.ca> wrote:
> Package: aptitude
> Version: 0.6.1.3-3
> Severity: normal
>
> With reference to bug 563002, upgrading azureus from 4.3.0.0-1 to
> 4.3.0.6-1 causes libswt-gtk-3.5-java to be [unpacked] before
> libswt-gtk-3.4-java is removed. Due to a change in the handling of the
> /usr/share/java/swt.jar symlink (in 3.4 it's handled through
> alternatives, in 3.5 it's a regular archive file), this ordering
> causes the swt.jar symlink to not be installed correctly.
>
> Example output from aptitude during this upgrade:
> […]
> Selecting previously deselected package libswt-gtk-3.5-java.
> Unpacking libswt-gtk-3.5-java (from .../libswt-gtk-3.5-java_3.5.1-2_i386.deb) ...
> […]
> Removing libswt-gtk-3.4-java ...
> Removing libswt-gtk-3.4-jni ...
> Setting up libswt-gtk-3.5-jni (3.5.1-2) ...
> Setting up libswt-gtk-3.5-java (3.5.1-2) ...

Looking at the other report you mention (#563002) it appears that the
issue was bunted to aptitude.  It is actually the package relationships
in -3.5-java which are broken.  That package should either Breaks or
Conflicts with -3.4-java, and maybe Replaces also.

This is not so in Squeeze:
$ apt-cache show libswt-gtk-3.5-java
[…]
Version: 3.5.1-2.1
Depends: libswt-gtk-3.5-jni (= 3.5.1-2.1)
Suggests: libswt-gtk-3.5-java-gcj

In unstable there is an appropriate Conflicts.

Maintainers of the swt-gtk may like to close this immediately.

Regards



More information about the Aptitude-devel mailing list