Another 'I can't install Wine' post

Questions about Wine on Linux
Locked
akwusmc
Level 1
Level 1
Posts: 7
Joined: Sun Sep 26, 2021 11:09 am

Another 'I can't install Wine' post

Post by akwusmc »

All,

I'm having problems installing Wine (onto Mint 20 (Ulyana)), much like a lot of folks have had. Mostly the dread 'unmet dependencies / held broken packages' error. I've tried all of the solutions I've found on the interwebs ( viewtopic.php?f=8&t=35654 and https://forums.linuxmint.com/viewtopic.php?t=348915 for example) and I've not had any success.

This installation of Mint 20 replaced Ubuntu 20.04 (separate partitions for / and /home) that had Wine running fine. After the switch to Mint, Wine stopped, and I can't get it reinstalled. I've followed the instructions on the download page multiple times.

I've 'apt remove'-ed and 'apt purge'-ed wine, wine64, winehq ... any wine I could find. I've uninstalled any 'wine' that showed up in Synaptic. I've tried to use Synaptic and the command line to fix broken packages to no avail.

wine-installer 'appears' to 'install' (Synaptic description indicates that as the preferred method to install for Mint) but I can't get any of my previously installed Windows apps to work, nor can I install new windows apps. I could re-install all of my current Windows apps if I have to but I'd rather not if you know what I mean.

Code: Select all

uname -a
Linux anthony-desktop 5.4.0-88-generic #99-Ubuntu SMP Thu Sep 23 17:29:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

inxi -r | grep wine
           1: deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
The Wine repository is in /etc/apt/sources.list.d/additional-repositories.list

I'm no programmer, more of a competent normie.

Any help is greatly appreciated!

Anthony
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Another 'I can't install Wine' post

Post by jkfloris »

Can you post the output of:

Code: Select all

grep -R ^deb /etc/apt/sources.list*
# and
dpkg -l | grep wine
# and
sudo apt install --install-recommends wine-stable-amd64
akwusmc
Level 1
Level 1
Posts: 7
Joined: Sun Sep 26, 2021 11:09 am

Re: Another 'I can't install Wine' post

Post by akwusmc »

grep -R ^deb /etc/apt/sources.list*

Code: Select all

grep -R ^deb /etc/apt/sources.list*
/etc/apt/sources.list.d/brave-browser-release.list:deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
/etc/apt/sources.list.d/mono-official-stable.list:deb https://download.mono-project.com/repo/ubuntu stable-focal main
/etc/apt/sources.list.d/dansmith-chirp-snapshots-focal.list:deb http://ppa.launchpad.net/dansmith/chirp-snapshots/ubuntu focal main
/etc/apt/sources.list.d/nrbrtx-python2-stuff-focal.list:deb http://ppa.launchpad.net/nrbrtx/python2-stuff/ubuntu focal main
/etc/apt/sources.list.d/freecad-maintainers-freecad-stable-focal.list:deb http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu focal main
/etc/apt/sources.list.d/additional-repositories.list:deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
/etc/apt/sources.list.d/official-package-repositories.list:deb http://packages.linuxmint.com ulyana main upstream import backport #id:linuxmint_main
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.canonical.com/ubuntu/ focal partner
/etc/apt/sources.list.d/spotify.list:deb http://repository.spotify.com stable non-free
dpkg -l | grep wine

Code: Select all

dpkg -l | grep wine
rc  wine-stable-i386:i386                                       6.0.1~focal-1                                               i386         WINE Is Not An Emulator - runs MS Windows programs
sudo apt install --install-recommends wine-stable-amd64

Code: Select all

sudo apt install --install-recommends wine-stable-amd64
[sudo] password for anthony:         
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libcapi20-3 libfaudio0 libstb0 libvkd3d-shader1 libvkd3d1 vkd3d-compiler
The following NEW packages will be installed:
  libcapi20-3 libfaudio0 libstb0 libvkd3d-shader1 libvkd3d1 vkd3d-compiler wine-stable-amd64
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/80.8 MB of archives.
After this operation, 581 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
Selecting previously unselected package libstb0:amd64.
(Reading database ... 481685 files and directories currently installed.)
Preparing to unpack .../0-libstb0_0.0~git20190817.1.052dce1-1_amd64.deb ...
Unpacking libstb0:amd64 (0.0~git20190817.1.052dce1-1) ...
Selecting previously unselected package libfaudio0:amd64.
Preparing to unpack .../1-libfaudio0_20.04-2_amd64.deb ...
Unpacking libfaudio0:amd64 (20.04-2) ...
Selecting previously unselected package libvkd3d-shader1:amd64.
Preparing to unpack .../2-libvkd3d-shader1_1.2~focal-1_amd64.deb ...
Unpacking libvkd3d-shader1:amd64 (1.2~focal-1) ...
Selecting previously unselected package libvkd3d1:amd64.
Preparing to unpack .../3-libvkd3d1_1.2~focal-1_amd64.deb ...
Unpacking libvkd3d1:amd64 (1.2~focal-1) ...
Selecting previously unselected package wine-stable-amd64.
Preparing to unpack .../4-wine-stable-amd64_6.0.1~focal-1_amd64.deb ...
Unpacking wine-stable-amd64 (6.0.1~focal-1) ...
Selecting previously unselected package vkd3d-compiler.
Preparing to unpack .../5-vkd3d-compiler_1.2~focal-1_amd64.deb ...
Unpacking vkd3d-compiler (1.2~focal-1) ...
Selecting previously unselected package libcapi20-3:amd64.
Preparing to unpack .../6-libcapi20-3_1%3a3.27-3_amd64.deb ...
Unpacking libcapi20-3:amd64 (1:3.27-3) ...
Setting up libcapi20-3:amd64 (1:3.27-3) ...
Setting up libvkd3d-shader1:amd64 (1.2~focal-1) ...
Setting up libstb0:amd64 (0.0~git20190817.1.052dce1-1) ...
Setting up vkd3d-compiler (1.2~focal-1) ...
Setting up libvkd3d1:amd64 (1.2~focal-1) ...
Setting up libfaudio0:amd64 (20.04-2) ...
Setting up wine-stable-amd64 (6.0.1~focal-1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.3) ...
wine-stable-amd46 appears to have installed, but again ... when I try to open a Windows executable, Wine Program loader isn't an option (Winebrowser is listed in 'Other application')
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Another 'I can't install Wine' post

Post by jkfloris »

The first part of Wine is installed. Can you also install the 32-bit part?

Code: Select all

sudo apt install --install-recommends wine-stable-i386:i386
If that package is also installed, install:

Code: Select all

sudo apt install --install-recommends winehq-stable wine-stable
akwusmc
Level 1
Level 1
Posts: 7
Joined: Sun Sep 26, 2021 11:09 am

Re: Another 'I can't install Wine' post

Post by akwusmc »

Those steps appear to have worked (many thanks!), at least for 32-bit Windows programs. Trying to run a 64-bit program returns a rundll error, which Windows troubleshooting attributes to the .NET framework either being corrupted or not found, as well as a '64-bit Windows is required' error.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Another 'I can't install Wine' post

Post by jkfloris »

Not everything of .Net is built into Wine yet. Sometimes it is necessary to install the .Net Framework.
To keep the forum organized, create a new post containing the name of the program you are trying to run and if you can, a terminal output.
akwusmc
Level 1
Level 1
Posts: 7
Joined: Sun Sep 26, 2021 11:09 am

Re: Another 'I can't install Wine' post

Post by akwusmc »

create a new post containing the name of the program you are trying to run and if you can, a terminal output
I'll do that, and thanks again for your help!

a
Locked