How do I install Wine in Trisquel 11?

20 risposte [Ultimo contenuto]
myrcy

I am a member!

Offline
Iscritto: 10/30/2021

Question: How do I install Wine in Trisquel 11?

I made a fresh install of Trisquel today, but have been struggling to get Wine working. Anyone else had difficulty?

Steps Taken:
sudo dpkg --add-architecture i386
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo apt update
sudo apt install --install-recommends winehq-stable

Log:

@computer:~$ sudo apt install wine-stable
[sudo] password for n4089:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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 installable
Depends: libc6:i386 (>= 2.35) but it is not installable
Depends: libglib2.0-0:i386 (>= 2.37.3) 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: libpcap0.8:i386 (>= 1.5.1) but it is not going to be installed
Depends: libpulse0:i386 (>= 0.99.1) but it is not installable
Depends: libsane1:i386 (>= 1.0.27) but it is not going to be installed
Depends: libudev1:i386 (>= 183) but it is not installable
Depends: libusb-1.0-0:i386 (>= 2:1.0.21) but it is not going to be installed
Depends: libx11-6:i386 but it is not going to be installed
Depends: libxext6:i386 but it is not going to be installed
Depends: ocl-icd-libopencl1:i386 but it is not going to be installed or
libopencl1:i386
Depends: ocl-icd-libopencl1:i386 (>= 1.0) but it is not going to be installed or
libopencl-1.2-1:i386
Depends: libasound2-plugins:i386 but it is not going to be installed
Depends: libncurses6:i386 but it is not going to be installed or
libncurses5:i386 but it is not going to be installed or
libncurses:i386 but it is not installable
Recommends: libcapi20-3: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: libfontconfig1:i386 but it is not going to be installed
Recommends: libfreetype6: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: libgnutls30:i386 but it is not going to be installed or
libgnutls28:i386 but it is not installable or
libgnutls26:i386 but it is not installable
Recommends: libgsm1:i386 but it is not going to be installed
Recommends: libgssapi-krb5-2:i386 but it is not going to be installed
Recommends: libjpeg62-turbo:i386 but it is not installable or
libjpeg8:i386 but it is not going to be installed
Recommends: libkrb5-3:i386 but it is not going to be installed
Recommends: libodbc1:i386 but it is not going to be installed
Recommends: libosmesa6:i386 but it is not going to be installed
Recommends: libpng16-16:i386 but it is not going to be installed or
libpng12-0:i386 but it is not installable
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: libv4l-0:i386 but it is not going to be installed
Recommends: libxcomposite1:i386 but it is not going to be installed
Recommends: libxcursor1:i386 but it is not going to be installed
Recommends: libxfixes3:i386 but it is not going to be installed
Recommends: libxi6:i386 but it is not going to be installed
Recommends: libxinerama1:i386 but it is not going to be installed
Recommends: libxrandr2:i386 but it is not going to be installed
Recommends: libxrender1:i386 but it is not going to be installed
Recommends: libxslt1.1:i386 but it is not going to be installed
Recommends: libxxf86vm1:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
@computer:~$

dpo
dpo
Offline
Iscritto: 03/30/2023

I had similiar problem on Debian and I am shifting to Trisquel just now.
First thing I am going to try is simply - sudo apt get wine
If that won't work, what I am going to try (later this week) is to install it from source via tutorial
https://dl.winehq.org/wine/source/8.0/

jxself
Offline
Iscritto: 09/13/2010

sudo dpkg --add-architecture i386

This architecture is not supported in Trisquel 11.

dpo
dpo
Offline
Iscritto: 03/30/2023

But isn't wine dependent on 32-bit libraries for running 32-bit programs from Windows?

myrcy

I am a member!

Offline
Iscritto: 10/30/2021

Does Wine only work on Trisquel releases before 10.0.0?

edit: I believe i386 support was dropped from Trisquel releases >=10.0.0

PublicLewdness
Offline
Iscritto: 03/15/2020

I've had numerous issues with installing Wine on various Ubuntu and Debian based distros over the years. To the point where if I need Wine for a system then I install a distro that has it in it's repos such as Garuda or Solus. It sucks but it is what it is.

Minsc

I am a member!

Offline
Iscritto: 01/11/2017

1. Install Flatpak: https://www.flatpak.org/setup/Ubuntu
2. Install Wine:

flatpak install org.winehq.Wine

3. Profit!

dpo
dpo
Offline
Iscritto: 03/30/2023

Honestly... that is great solution :D

grimlok
Offline
Iscritto: 04/16/2013

I too am having this problem and the flatpak option was just confusing...

Has anyone resolved this the traditional way?

What I am understanding is that Wine is a no go because of the i386 support being dropped?

Has the mainline Ubunutu dropped support for i386? If so, why can wine be installed there?

Any help would be appreciated.

grimlok
Offline
Iscritto: 04/16/2013

So I kinda got my answer here: https://trisquel.info/en/forum/wine-not-working-after-system-upgrade-90-100-cannot-re-install

I wonder what came of that meeting...

Ark74

I am a member!

I am a translator!

Offline
Iscritto: 07/15/2009

At some point in the early development of aramo it was theoretically possible to install, later on some changes were added that might have broken things later.

Now that this is pointed out, it's clear those changes need to be fixed
You might like to open an issue so we can keep track of the actions and state of the issue so that it should prevent future related issues.

Regards.

Ark74

I am a member!

I am a translator!

Offline
Iscritto: 07/15/2009

From last week meeting there are several updates on the i386 libraries that are being pulled from upstream, you should be able to have all the required packages to match the upstream Ubuntu behavior.

Meaning it should work, still while testing I had to use -o DPkg::options::="--force-overwrite" along apt as you'll have packages installed from both archs (amd64/i386), so you might like to test on a VM or LiveISO environment.

Regards

mangeur de nuage
Offline
Iscritto: 09/27/2015

Tested it live and it's broke so far. Can't even install qemy/kvm. But I did fiddle with the distro, I'll try a clean setup and post results afterwards to exclude my own tampering later.

Capture du 2023-08-28 18-10-36.png
Ark74

I am a member!

I am a translator!

Offline
Iscritto: 07/15/2009

Hello!,

Could you define what are you trying to install?
What version of Trisquel are you running?

The previos statement goes for Trisquel 11.0, Aramo.

Regards.

mangeur de nuage
Offline
Iscritto: 09/27/2015

Hello o/
>Could you define what are you trying to install?
Initially it was wine, but I had issue and got working on something else.
Then I wanted to install "qemu virt-manager" but it gave me "apt --fix-broken install" and then that gives me "E: Sub-process /usr/bin/dpkg returned an error code (1)"
Picture related.
Even trying to do an upgrade ask me to fix the broken install.

>What version of Trisquel are you running?
According to screenfetch "Trisquel 11.0 aramo".

Capture du 2023-08-28 19-17-24.png Capture du 2023-08-28 19-18-09.png Capture du 2023-08-28 19-19-44.png Capture du 2023-08-28 19-21-03.png
mangeur de nuage
Offline
Iscritto: 09/27/2015

Ask me anything if needed by the way, I don't know how I can help.

Ark74

I am a member!

I am a translator!

Offline
Iscritto: 07/15/2009

I would say that is a bad idea to mix arch installations without a really good reason.

Seems like you already have the same package for other arch trying to write a file that already exists from the previous arch, thus it fails.

Maybe you'll like to test,
sudo apt install -f -o DPkg::options::="--force-overwrite"

I think it should resolve the issue you present.

mangeur de nuage
Offline
Iscritto: 09/27/2015

>I would say that is a bad idea to mix arch installations without a really good reason.
I know I'm fiddling exploring to my own risks ;_;

>I think it should resolve the issue you present.
Thank you my friend it worked.

mangeur de nuage
Offline
Iscritto: 09/27/2015

After solving the issue I update my kernel and wanted to try to install wine and this is what I get now.
By curiosity I used again the command you shared me and it force installed.
Wine works partially 16bit sound doesn't work, can't use some fonts but it's a good step in the right direction so far :)
Again thank you ;)

Capture du 2023-08-28 22-58-58.png Capture du 2023-08-28 22-59-33.png
Ark74

I am a member!

I am a translator!

Offline
Iscritto: 07/15/2009

I would recommend to avoid using third party repositories as much as possible as they can easily introduce non-free bits or complete chunks.

The effort to solve the i386 dependencies is mainly to keep the current trisquel release as complete as possible on regard of the amount of packages it provides in comparison with upstream, non-free packages of course are off the table.

I can confirm that just as ubuntu, trisquel has all the i386 packages available for this specific use case.

Like I said before adding 2 arches is not the best idea, and using force-overwrite might be necessary when installing the same package from another arch.

Regards.

mangeur de nuage
Offline
Iscritto: 09/27/2015

>I would recommend to avoid using third party repositories as much as possible as they can easily introduce non-free bits or complete chunks.
I agree. Like said I did fiddle, tested went back and forth, lost track etc... that's ok that's how I learn.
Currently I just have minestest's and libreoffice's ppa and jxself linux-libre kernel repo.

>I can confirm that just as ubuntu, trisquel has all the i386 packages available for this specific use case.
Thanks, I'll do a clean install later.

Again thank you for your help ;)