On Mon, 16 Jun 2003 18:15:51 +0200 (CEST)
Marcel Pol <[EMAIL PROTECTED]> wrote:

> [Contrib-RPM]
> Name        : abiword                      Relocations: (not relocateable)
> Version     : 1.0.6                             Vendor: MandrakeSoft
> Release     : 1mdk                          Build Date: Mon Jun 16 17:57:06
> 2003
[...]
> +update-alternatives --install /usr/bin/abiword abiword /usr/bin/abiword-1.0
> 20+
>  %postun
> +[ $1 = 0 ] || exit 0
> +update-alternatives --remove abiword  /usr/bin/abiword-1.0
> +


When I have abiword 1.0.4 installed and upgrade to 1.0.6 strange things
happen.
Version 1.0.4 has a symlink /usr/bin/abiword which points to a wrapper script.
Version 1.0.6 uses update-alternatives. After the upgrade there is a symlink
in /etc/alternatives, but there's no symlink in /usr/bin, which points to
/etc/variables.

Also, abiword and abiword2 both provide abiword. Upgrading abiword works fine.
But when I urpmi abiword2, it deinstalls abiword (1). The packages don't
conflict, so apparently it has to do with both packages providing abiword.

Anyone can tell me what I'm doing wrong, and what exactly is happening?

--
Marcel Pol



Reply via email to