Code: Select all
$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
File ‘winehq.key’ already there; not retrieving.
Code: Select all
$ sudo apt-key add winehq.key
OK
Code: Select all
$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
Hit:1 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
...
Reading package lists... Done
Code: Select all
https://dl.winehq.org/wine-builds/ubuntu/ focal main (Source Code)
https://dl.winehq.org/wine-builds/ubuntu/ main
Code: Select all
$ sudo apt update
...
Hit:2 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
...
Reading package lists... Done
Code: Select all
$ sudo apt install --install-recommends 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 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.
Code: Select all
$ sudo apt install wine-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 resolve the situation:
The following packages have unmet dependencies:
wine-stable : Depends: wine-stable-i386 (= 7.0.0.0~focal-1)
E: Unable to correct problems, you have held broken packages.
Code: Select all
$ sudo apt install wine-stable-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 resolve the situation:
The following packages have unmet dependencies:
wine-stable-i386:i386 : Depends: libsane:i386 (>= 1.0.24)
E: Unable to correct problems, you have held broken packages.
Code: Select all
$ sudo apt install libsane: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 resolve the situation:
The following packages have unmet dependencies:
libsane:i386 : Depends: libsnmp35:i386 (>= 5.8+dfsg) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Code: Select all
$ sudo apt install libsnmp35: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 resolve the situation:
The following packages have unmet dependencies:
libsnmp35:i386 : Depends: libmysqlclient21:i386 (>= 8.0.11) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Code: Select all
$ sudo apt install libmysqlclient21: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 resolve the situation:
The following packages have unmet dependencies:
libmysqlclient21:i386 : Depends: mysql-common:i386 (>= 5.5)
E: Unable to correct problems, you have held broken packages.
Code: Select all
$ sudo apt install mysql-common:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-common:i386 is a virtual package provided by:
mysql-common 5.8+1.0.5ubuntu2 [Not candidate version]
E: Package 'mysql-common:i386' has no installation candidate
Code: Select all
$ sudo apt install mysql-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-common is already the newest version (1:10.3.27+maria~bionic).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Code: Select all
$ wine --version
Command 'wine' not found, but can be installed with:
sudo apt install wine # version 5.0-3ubuntu1, or
sudo apt install wine-development # version 5.5-3ubuntu1