#1121773 libwine: wine.collection alternatives are removed on libwine:i386 uninstallation

Package:
libwine
Source:
libwine
Description:
Windows API implementation - library
Submitter:
Vincent Lefevre
Date:
2026-02-06 12:21:03 UTC
Severity:
normal
#1121773#5
Date:
2025-12-02 12:17:17 UTC
From:
To:
First, the "wine" executable is no longer provided, which breaks
existing scripts.

I can see that there is "wine-stable", but with does not work:

cventin:~> wine-stable
error: unable to find wine executable, this shouldn't happen.

/usr/bin/wine-stable contains:

wine64=/usr/bin/wine64
wine32=/usr/bin/wine32

but there is only "/usr/bin/wine64-stable", hence the error.

Also, note that update-alternatives as documented in
/usr/share/doc/wine-common/README.Debian.gz does not work:

# update-alternatives --config wine.collection
update-alternatives: error: no alternatives for wine.collection

The /etc/alternatives directory does not contain any file with
"wine" in it.

#1121773#10
Date:
2025-12-02 12:41:21 UTC
From:
To:
On 2025-12-02 13:17:17 +0100, Vincent Lefevre wrote:
[...]

I've purged all the wine-related packages and reinstalled wine.
Now everything is fine. It appears that the cause of the other
issues was the missing alternatives.

In the /var/log/alternatives.log file:

update-alternatives 2025-12-02 12:52:45: run with --quiet --remove wine.collection /usr/share/wine/collection-stable
update-alternatives 2025-12-02 12:52:45: link group wine.collection fully removed

which occurred when I uninstalled the i386 packages (libwine:i386
in particular) since they were no longer needed:

  apt purge wine32:i386
  apt autoremove --purge