[pkg-wine-party] Bug#732817: wine64: different alternatives not provided (32 vs 64 bit)

Drew Parsons dparsons at debian.org
Sun Dec 22 01:55:17 UTC 2013

Package: wine64
Version: 1.6.1-6
Severity: normal

wine32 and wine64 are now distinct packages with different filepaths
allowing them to be installed concurrently.  They provide distinct
binaries, /usr/lib/i386-linux-gnu/wine/bin/wine32 and

The packages have some kind of alternatives support to provide

But at any one time, only one of wine32 or wine64 can be configured to
provide /usr/bin/wine.  update-alternatives fails to select the
preferred wine:
  $ sudo update-alternatives --config wine
  There is only one alternative in link group wine (providing /usr/bin/wine): /usr/lib/x86_64-linux-gnu/wine/bin/wine
  Nothing to configure.

The only way to reconfigure the alternative wine is with dpkg-reconfigure
wine64 or dpkg-reconfigure wine32.

I think this must be an incorrect handling of the alternatives
infrastructure.  wine32 and wine64 should both operate as alternatives
for /usr/bin/wine at the same time, not so?

Another thing odd in the wine alternatives is the handling of
/usr/bin/wine32 and /usr/bin/wine64.  After dpkg-reconfigure is run
(fixing /usr/bin/wine to wine32 or wine64), then only one of
/usr/bin/wine32 or /usr/bin/wine64 appears (the one for the package, wine32 or
wine64, that you just reconfigured).

The expected behaviour (with both wine32 and wine64 installed at the
same time) is :
1) "update-alternatives --config wine" allows selection between wine32
and wine64 for /usr/bin/wine
2) Both /usr/bin/wine32 and /usr/bin/wine64 exist at the same time
(We'd expect only one alternative for each of them, unless specific
wine*-unstable packages are also installed)

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wine64 depends on:
ii  libc6              2.17-97
ii  libwine            1.6.1-6
ii  libwine-gecko-1.4  1.4+dfsg1-3
ii  x11-utils          7.7+1

wine64 recommends no packages.

wine64 suggests no packages.

-- no debconf information

More information about the pkg-wine-party mailing list