Issues installing on Ubuntu 20.04 (Focal)

Questions about Wine on Linux
Locked
geist325
Newbie
Newbie
Posts: 2
Joined: Tue Apr 12, 2022 8:53 am

Issues installing on Ubuntu 20.04 (Focal)

Post by geist325 »

Howdy! I've tried everything I've found to get Wine installed, to no avail. I've messed with this machine quite a bit. My Linux experience I would rate as intermediate.

So currently, I get a broken packages error:

Code: Select all

sudo apt install winehq-stable
Reading package lists... Done
Building dependency tree
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:
 winehq-stable : Depends: wine-stable (= 7.0.0.0~focal-1)
E: Unable to correct problems, you have held broken packages.
ANY help would be appreciated, thank you much!
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Issues installing on Ubuntu 20.04 (Focal)

Post by jkfloris »

Could you also post the output of:

Code: Select all

sudo apt install --install-recommends wine-stable-amd64
# and
sudo apt install --install-recommends wine-stable-i386:i386
geist325
Newbie
Newbie
Posts: 2
Joined: Tue Apr 12, 2022 8:53 am

Re: Issues installing on Ubuntu 20.04 (Focal)

Post by geist325 »

wine-stable-amd64

Code: Select all

sudo apt install --install-recommends wine-stable-amd64
[sudo] password for geist:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libodbc1 libosmesa6 libvkd3d-shader1 libvkd3d1 vkd3d-compiler
Suggested packages:
  libmyodbc odbc-postgresql tdsodbc unixodbc-bin
The following NEW packages will be installed:
  libodbc1 libosmesa6 libvkd3d-shader1 libvkd3d1 vkd3d-compiler wine-stable-amd64
0 upgraded, 6 newly installed, 0 to remove and 17 not upgraded.
Need to get 97.0 MB of archives.
After this operation, 720 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libodbc1 amd64 2.3.6-0.1build1 [189 kB]
Get:2 https://dl.winehq.org/wine-builds/ubuntu focal/main amd64 libvkd3d-shader1 amd64 1.3~focal-1 [176 kB]
Get:3 https://dl.winehq.org/wine-builds/ubuntu focal/main amd64 libvkd3d1 amd64 1.3~focal-1 [116 kB]
Get:4 https://dl.winehq.org/wine-builds/ubuntu focal/main amd64 wine-stable-amd64 amd64 7.0.0.0~focal-1 [93.4 MB]
Get:5 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libosmesa6 amd64 21.2.6-0ubuntu0.1~20.04.2 [3,054 kB]
Get:6 https://dl.winehq.org/wine-builds/ubuntu focal/main amd64 vkd3d-compiler amd64 1.3~focal-1 [14.1 kB]
Fetched 97.0 MB in 1s (73.9 MB/s)
Preconfiguring packages ...
Selecting previously unselected package libvkd3d-shader1:amd64.
(Reading database ... 384384 files and directories currently installed.)
Preparing to unpack .../0-libvkd3d-shader1_1.3~focal-1_amd64.deb ...
Unpacking libvkd3d-shader1:amd64 (1.3~focal-1) ...
Selecting previously unselected package libvkd3d1:amd64.
Preparing to unpack .../1-libvkd3d1_1.3~focal-1_amd64.deb ...
Unpacking libvkd3d1:amd64 (1.3~focal-1) ...
Selecting previously unselected package wine-stable-amd64.
Preparing to unpack .../2-wine-stable-amd64_7.0.0.0~focal-1_amd64.deb ...
Unpacking wine-stable-amd64 (7.0.0.0~focal-1) ...
Selecting previously unselected package libodbc1:amd64.
Preparing to unpack .../3-libodbc1_2.3.6-0.1build1_amd64.deb ...
Unpacking libodbc1:amd64 (2.3.6-0.1build1) ...
Selecting previously unselected package vkd3d-compiler.
Preparing to unpack .../4-vkd3d-compiler_1.3~focal-1_amd64.deb ...
Unpacking vkd3d-compiler (1.3~focal-1) ...
Selecting previously unselected package libosmesa6:amd64.
Preparing to unpack .../5-libosmesa6_21.2.6-0ubuntu0.1~20.04.2_amd64.deb ...
Unpacking libosmesa6:amd64 (21.2.6-0ubuntu0.1~20.04.2) ...
Setting up libvkd3d-shader1:amd64 (1.3~focal-1) ...
Setting up libodbc1:amd64 (2.3.6-0.1build1) ...
Setting up vkd3d-compiler (1.3~focal-1) ...
Setting up libosmesa6:amd64 (21.2.6-0ubuntu0.1~20.04.2) ...
Setting up libvkd3d1:amd64 (1.3~focal-1) ...
Setting up wine-stable-amd64 (7.0.0.0~focal-1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.7) ...[
wine-stable-i386:i386

Code: Select all

sudo apt install --install-recommends wine-stable-i386:i386
Reading package lists... Done
Building dependency tree
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: libgphoto2-6: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: libpulse0:i386 (>= 0.99.1) but it is not going to be installed
                         Depends: libsane:i386 (>= 1.0.24) but it is not going to be installed
                         Depends: libasound2-plugins: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: libsdl2-2.0-0:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Issues installing on Ubuntu 20.04 (Focal)

Post by jkfloris »

The 64-bit part of Wine was installed successfully. The problem is in the 32-bit part.
Try to install the missing dependencies manually one by one.

Code: Select all

sudo apt install libgphoto2-6:i386
# Some error about missing dependency <package-1:i386>
# sudo apt install package-1:i386
# Some error about missing dependency 
# etc.
Locked