I carefully tried all steps here: https://wiki.winehq.org/Ubuntu
(it's core is equivalent to what is here: How to install and configure Wine?)
but when trying to install the dependencies, I end up with errors like:
Note, selecting 'libasound2-data' instead of 'libasound2-data:i386'
Basically it is saying it wont install the i386 no matter what I try...
If there is no error with some package, it asks me to uninstall a huge lot of packages I don't want to...
about the FAQ https://wiki.winehq.org/FAQ#How_do_I_solve_dependency_errors_when_trying_to_install_Wine.3F
the only extra repository I have enabled is: https://dl.winehq.org/wine-builds/ubuntu/
This means, there is no other PPAs that could cause a conflict and I am having problems with vanilla ubuntu 20.04...
I cant get past this command:
sudo apt install --install-recommends winehq-stable
even trying to use the FAQ and other tips...
Can someone at least say, before this question gets closed (despite I disagree), if you managed to install Wine on ubuntu 20.04 with i386 (win32) support?
trying this command: sudo add-apt-repository --remove 'deb https://dl.winehq.org/wine-builds /ubuntu/ focal main' && sudo apt update && sudo apt install -y wine32 wine64 wine-stable
fails with:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
wine-stable : Depends: wine-stable-i386 (= 5.0.2~focal)
wine32:i386 : Depends: libwine:i386 (= 5.0-3ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
WHY IT WONT INSTALL THE DEPENDENCIES? it says "but it is not going to be installed" :( ...
when trying these:
$sudo apt install --install-recommends winehq-stable #requires wine-stable
$sudo apt install --install-recommends wine-stable #requires wine-stable-i386
$sudo apt install --install-recommends wine-stable-i386 #quite a mess...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
wine-stable-i386:i386 : Depends: libasound2:i386 (>= 1.0.16) but it is not going to be installed
Depends: libfaudio0:i386 (>= 19.06.07) but it is not going to be installed
Depends: libglib2.0-0:i386 (>= 2.12.0) but it is not going to be installed
Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not going to be installed
Depends: libgphoto2-port12:i386 (>= 2.5.10) but it is not going to be installed
Depends: libgstreamer-plugins-base1.0-0:i386 (>= 1.0.0) but it is not going to be installed
Depends: libgstreamer1.0-0:i386 (>= 1.4.0) but it is not going to be installed
Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not going to be installed
Depends: libopenal1:i386 (>= 1.14) but it is not going to be installed
Depends: libpulse0:i386 (>= 0.99.1) but it is not going to be installed
Depends: libudev1:i386 (>= 183) but it is not going to be installed
Depends: libxml2:i386 (>= 2.9.0) but it is not going to be installed
Depends: libasound2-plugins:i386 but it is not going to be installed
Recommends: libcups2:i386 but it is not going to be installed
Recommends: libdbus-1-3:i386 but it is not going to be installed
Recommends: libglu1-mesa:i386 but it is not going to be installed or
libglu1:i386
Recommends: libosmesa6:i386 but it is not going to be installed
Recommends: libsane:i386 but it is not going to be installed or
libsane1:i386
Recommends: libsdl2-2.0-0:i386 but it is not going to be installed
Recommends: libtiff5:i386 but it is not going to be installed
Recommends: libxslt1.1:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
and finally if I try to install these i386 stuff it asks to remove like 1.5GB of packages, like it want to convert my system to a 32 bits thing, and not compatible with 32bits...
trying with aptitude
$sudo aptitude install wine-stable-i386
I see these as a problem
Remove the following packages:
mesa-vdpau-drivers [20.0.8-0ubuntu1~20.04.1 (now)]
vdpau-driver-all [1.3-1ubuntu2 (focal, now)]
Leave the following dependencies unresolved:
libgstreamer-plugins-base1.0-0:i386 recommends gstreamer1.0-plugins-base:i386
libvulkan1:i386 recommends mesa-vulkan-drivers:i386 | vulkan-icd:i386
libopenal1:i386 recommends libasound2:i386 (>= 1.0.16)
wine-stable-i386:i386 recommends libcups2:i386
wine-stable-i386:i386 recommends libdbus-1-3:i386
wine-stable-i386:i386 recommends libglu1-mesa:i386 | libglu1:i386
wine-stable-i386:i386 recommends libosmesa6:i386
wine-stable-i386:i386 recommends libsane:i386 | libsane1:i386
wine-stable-i386:i386 recommends libsdl2-2.0-0:i386
wine-stable-i386:i386 recommends libtiff5:i386
wine-stable-i386:i386 recommends libxslt1.1:i386
if I try to choose them, aptitude will never end trying to calculate stuff, with a lot of "package x breaks package y" and a huge lot of conflicts:
$sudo aptitude install wine-stable-i386 gstreamer1.0-plugins-base:i386 mesa-vulkan-drivers:i386 libasound2:i386 libcups2:i386 libdbus-1-3:i386 libglu1-mesa:i386 libosmesa6:i386 libsane:i386 libsdl2-2.0-0:i386 libtiff5:i386 libxslt1.1:i386
Actually, aptitude is just scaring me... I dont want to mess my system just to run win32 stuff.
I am checking what chroot
can do now, I dont want to mess my OS...
sudo apt install --install-recommends winehq-stable
with the problems I specify on my question. Based on the FAQ https://wiki.winehq.org/FAQ#How_do_I_solve_dependency_errors_when_trying_to_install_Wine.3F, I have no other PPA repository that could be causing these problems,so they are a conflict with vanilla ubuntu 20.04. I think this is not a dup cuz of these problems. – Aquarius Power Sep 14 '20 at 21:47sudo add-apt-repository --remove 'deb https://dl.winehq.org/wine-builds /ubuntu/ focal main' && sudo apt update && sudo apt install -y wine32 wine64 wine-stable
like in this answer. – karel Sep 15 '20 at 06:35you have held broken packages
. Based on this information I would try Unable to correct problems, you have held broken packages. That question has 12 answers and unfortunately you might have to grind through all of them. – karel Sep 15 '20 at 23:54aptitude
, but seems a slow process if I am going to do it carefully, will take some time... – Aquarius Power Sep 16 '20 at 03:30chroot
to not mess my OS. Btw, none of the solutions at https://askubuntu.com/q/223237/ fixed the broken packages thing that is only shown if I try to install i386 packages (other packages it wont show up). My guess is 20.04 64bits is incompatible with i386 stuff at the same time, it always show a lot of conflicts, why are these i386 packages even available if we cant install them w/o messing things up? – Aquarius Power Sep 17 '20 at 02:34--simulate
option (withoutsudo
) of apt or apt-get to test the simulated results of removing all i386 packages. – karel Sep 17 '20 at 02:41debootstrap --variant=minbase
, but I think someone may have done that already, so better I research more... If it works, I will answer here with the results. – Aquarius Power Sep 17 '20 at 02:55