Bug#821043: wesnoth-1.13-core: fails to upgrade: update-alternatives: error: alternative link /usr/share/man/de/man6/wesnoth.6.gz is already managed by wesnoth.de.6.gz (slave of wesnoth)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#821043: wesnoth-1.13-core: fails to upgrade: update-alternatives: error: alternative link /usr/share/man/de/man6/wesnoth.6.gz is already managed by wesnoth.de.6.gz (slave of wesnoth)

Axel Beckert-8
Package: wesnoth-1.13-core
Version: 1:1.13.4-1
Severity: serious

Hi,

trying to upgrade wesnoth-1.13-core from 1:1.13.2-1 to 1:1.13.4-1 fails
as follows:

Setting up wesnoth-1.13-core (1:1.13.4-1) ...
update-alternatives: error: alternative link /usr/share/man/de/man6/wesnoth.6.gz is already managed by wesnoth.de.6.gz (slave of wesnoth)
dpkg: error processing package wesnoth-1.13-core (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 wesnoth-1.13-core

Accordingly all packages depending on wesnoth-1.13-core fail as well.

Please note that wesnoth-1.12 is also installed. Current state of all
wesnoth-related packages on this system:

$ dpkg -l | fgrep wesnoth
ii  wesnoth             1:1.12.5-1     all            fantasy turn-based strategy game - complete
ii  wesnoth-1.12        1:1.12.5-1     all            fantasy turn-based strategy game - complete
ii  wesnoth-1.12-aoi    1:1.12.5-1     all            "An Orcish Incursion" official campaign for
ii  wesnoth-1.12-core   1:1.12.5-1     amd64          fantasy turn-based strategy game (branch 1.
ii  wesnoth-1.12-data   1:1.12.5-1     all            data files for Wesnoth (branch 1.12)
ii  wesnoth-1.12-did    1:1.12.5-1     all            "Descent Into Darkness" official campaign f
ii  wesnoth-1.12-dm     1:1.12.5-1     all            "Delfador's Memoirs" official campaign for
ii  wesnoth-1.12-dw     1:1.12.5-1     all            "Dead Water" official campaign for Wesnoth
ii  wesnoth-1.12-ei     1:1.12.5-1     all            "The Eastern Invasion" official campaign fo
ii  wesnoth-1.12-httt   1:1.12.5-1     all            "Heir to the Throne" official campaign for
ii  wesnoth-1.12-l      1:1.12.5-1     all            "Liberty" official campaign for Wesnoth (br
ii  wesnoth-1.12-low    1:1.12.5-1     all            "Legend of Wesmere" official campaign for W
ii  wesnoth-1.12-music  1:1.12.5-1     all            music files for Wesnoth (branch 1.12)
ii  wesnoth-1.12-nr     1:1.12.5-1     all            "Northern Rebirth" official campaign for We
ii  wesnoth-1.12-sof    1:1.12.5-1     all            "The Sceptre of Fire" official campaign for
ii  wesnoth-1.12-sotbe  1:1.12.5-1     all            "Son of the Black-Eye" official campaign fo
ii  wesnoth-1.12-thot   1:1.12.5-1     all            "The Hammer of Thursagan" official campaign
ii  wesnoth-1.12-trow   1:1.12.5-1     all            "The Rise of Wesnoth" official campaign for
ii  wesnoth-1.12-tsg    1:1.12.5-1     all            "The South Guard" official campaign for Wes
ii  wesnoth-1.12-ttb    1:1.12.5-1     all            "A Tale of Two Brothers" official campaign
ii  wesnoth-1.12-utbs   1:1.12.5-1     all            "Under the Burning Suns" official campaign
iU  wesnoth-1.13        1:1.13.4-1     all            fantasy turn-based strategy game - complete
iU  wesnoth-1.13-aoi    1:1.13.4-1     all            "An Orcish Incursion" official campaign for
iF  wesnoth-1.13-core   1:1.13.4-1     amd64          fantasy turn-based strategy game (branch 1.
ii  wesnoth-1.13-data   1:1.13.4-1     all            data files for Wesnoth (branch 1.13)
iU  wesnoth-1.13-did    1:1.13.4-1     all            "Descent Into Darkness" official campaign f
iU  wesnoth-1.13-dm     1:1.13.4-1     all            "Delfador's Memoirs" official campaign for
iU  wesnoth-1.13-dw     1:1.13.4-1     all            "Dead Water" official campaign for Wesnoth
iU  wesnoth-1.13-ei     1:1.13.4-1     all            "The Eastern Invasion" official campaign fo
iU  wesnoth-1.13-httt   1:1.13.4-1     all            "Heir to the Throne" official campaign for
iU  wesnoth-1.13-l      1:1.13.4-1     all            "Liberty" official campaign for Wesnoth (br
iU  wesnoth-1.13-low    1:1.13.4-1     all            "Legend of Wesmere" official campaign for W
ii  wesnoth-1.13-music  1:1.13.4-1     all            music files for Wesnoth (branch 1.13)
iU  wesnoth-1.13-nr     1:1.13.4-1     all            "Northern Rebirth" official campaign for We
iU  wesnoth-1.13-sof    1:1.13.4-1     all            "The Sceptre of Fire" official campaign for
iU  wesnoth-1.13-sotbe  1:1.13.4-1     all            "Son of the Black-Eye" official campaign fo
iU  wesnoth-1.13-thot   1:1.13.4-1     all            "The Hammer of Thursagan" official campaign
iU  wesnoth-1.13-trow   1:1.13.4-1     all            "The Rise of Wesnoth" official campaign for
iU  wesnoth-1.13-tsg    1:1.13.4-1     all            "The South Guard" official campaign for Wes
iU  wesnoth-1.13-ttb    1:1.13.4-1     all            "A Tale of Two Brothers" official campaign
iU  wesnoth-1.13-utbs   1:1.13.4-1     all            "Under the Burning Suns" official campaign
ii  wesnoth-core        1:1.12.5-1     all            fantasy turn-based strategy game (metapacka
ii  wesnoth-music       1:1.12.5-1     all            music files for Wesnoth (metapackage)
$

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (980, 'unstable-debug'), (600, 'testing'), (111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental'), (105, 'experimental-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages wesnoth-1.13-core depends on:
ii  libboost-filesystem1.58.0       1.58.0+dfsg-5+b1
ii  libboost-iostreams1.58.0        1.58.0+dfsg-5+b1
ii  libboost-locale1.58.0           1.58.0+dfsg-5+b1
ii  libboost-program-options1.58.0  1.58.0+dfsg-5+b1
ii  libboost-random1.58.0           1.58.0+dfsg-5+b1
ii  libboost-regex1.58.0            1.58.0+dfsg-5+b1
ii  libboost-system1.58.0           1.58.0+dfsg-5+b1
ii  libc6                           2.22-6
ii  libcairo2                       1.14.6-1+b1
ii  libdbus-1-3                     1.10.8-1
ii  libfontconfig1                  2.11.0-6.4
ii  libfreetype6                    2.6.3-3+b1
ii  libfribidi0                     0.19.7-1
ii  libgcc1                         1:5.3.1-14
ii  libglib2.0-0                    2.48.0-1
ii  libgomp1                        5.3.1-14
ii  libice6                         2:1.0.9-1+b1
ii  libpango-1.0-0                  1.38.1-1
ii  libpangocairo-1.0-0             1.38.1-1
ii  libpng12-0                      1.2.54-6
ii  libreadline6                    6.3-8+b4
ii  libsdl2-2.0-0                   2.0.4+dfsg1-2+b1
ii  libsdl2-image-2.0-0             2.0.1+dfsg-2+b1
ii  libsdl2-mixer-2.0-0             2.0.1+dfsg1-1
ii  libsdl2-net-2.0-0               2.0.1+dfsg1-2
ii  libsdl2-ttf-2.0-0               2.0.14+dfsg1-1
ii  libsm6                          2:1.2.2-1+b1
ii  libstdc++6                      5.3.1-14
ii  libvorbisfile3                  1.3.5-3
ii  libx11-6                        2:1.6.3-1
ii  libxext6                        2:1.3.3-1
ii  wesnoth-1.13-data               1:1.13.4-1
ii  zlib1g                          1:1.2.8.dfsg-2+b1

wesnoth-1.13-core recommends no packages.

Versions of packages wesnoth-1.13-core suggests:
ii  wesnoth  1:1.12.5-1

-- no debconf information

Reply | Threaded
Open this post in threaded view
|

Bug#821043: wesnoth-1.13-core: fails to upgrade: update-alternatives: error: alternative link /usr/share/man/de/man6/wesnoth.6.gz is already managed by wesnoth.de.6.gz (slave of wesnoth)

Vincent Cheng-2
Control: tag -1 + moreinfo unreproducible

On Thu, Apr 14, 2016 at 3:10 PM, Axel Beckert <[hidden email]> wrote:

> Package: wesnoth-1.13-core
> Version: 1:1.13.4-1
> Severity: serious
>
> Hi,
>
> trying to upgrade wesnoth-1.13-core from 1:1.13.2-1 to 1:1.13.4-1 fails
> as follows:
>
> Setting up wesnoth-1.13-core (1:1.13.4-1) ...
> update-alternatives: error: alternative link /usr/share/man/de/man6/wesnoth.6.gz is already managed by wesnoth.de.6.gz (slave of wesnoth)
> dpkg: error processing package wesnoth-1.13-core (--configure):
>  subprocess installed post-installation script returned error exit status 2
> Errors were encountered while processing:
>  wesnoth-1.13-core
>
> Accordingly all packages depending on wesnoth-1.13-core fail as well.
>
> Please note that wesnoth-1.12 is also installed. Current state of all
> wesnoth-related packages on this system:

I can't reproduce this error at all. I had no issues upgrading from
wesnoth-1.13 1.13.2-1 to 1.13.4-1 on my own system, with wesnoth-1.12
installed at the same time. I also can't reproduce this in a clean
pbuilder chroot, i.e.:

# pbuilder --create --distribution sid --mirror http://ftp.ca.debian.org/debian
# pbuilder login
# apt-get install wesnoth-1.12
# echo "deb http://snapshot.debian.org/archive/debian/20160331T221016Z/
experimental main" > /etc/apt/sources.list.d/exp.list
# apt-get -o Acquire::Check-Valid-Until=false update
# apt-get install wesnoth-1.13 # installs 1.13.2-1 from snapshot.d.o
# echo "deb http://ftp.ca.debian.org/debian experimental main" >
/etc/apt/sources.list.d/exp.list
# apt-get update
# apt-get dist-upgrade # installs 1.13.4-1 successfully

And piuparts doesn't report any installation errors either [1],
although I suppose the piuparts.d.o reports don't mean much since it's
just testing clean installs of 1.13.4-1, not upgrades from 1.13.2-1 to
1.13.4-1.

I didn't change anything in any of the maintscripts when I updated the
packaging for wesnoth-1.13 1.13.4-1, so I'm frankly stumped as to why
you're seeing this error. Rhonda, any ideas?

Regards,
Vincent

[1] https://piuparts.debian.org/experimental/maintainer/v/vcheng@...#wesnoth-1.13