Hello. I am new to the forum but was using wine for a long time under Ubuntu. However, after upgrading to Ubuntu 20.04 LTS I can't install wine any more.
I have followed this guide <https://tecadmin.net/how-to-install-win ... ntu-20-04/> but receive an error after
'sudo apt install --install-recommends winehq-stable'
The output is:
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:
dconf-gsettings-backend : Depends: dconf-service (>= 0.36.0-1)
Depends: dconf-service (< 0.36.0-1.1~)
winehq-stable : Depends: wine-stable (= 6.0.2~focal-1)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Any help would be much appreciated.
Problem installing wine on 20.04 LTS because of dependcies
Re: Problem installing wine on 20.04 LTS because of dependcies
What is the output of:
Code: Select all
apt policy dconf-service
# and
grep -R ^deb /etc/apt/sources.list*
Re: Problem installing wine on 20.04 LTS because of dependcies
Here is the output.
arno@tanatalus-3:~$ apt policy dconf-service
dconf-service:
Installed: 0.36.0-1
Candidate: 0.36.0-1
Version table:
*** 0.36.0-1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
arno@tanatalus-3:~$ # and
arno@tanatalus-3:~$ grep -R ^deb /etc/apt/sources.list*
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal main restricted
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal universe
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal-updates universe
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal multiverse
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
/etc/apt/sources.list:deb http://archive.canonical.com/ubuntu focal partner
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security multiverse
/etc/apt/sources.list:deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
/etc/apt/sources.list~:deb http://archive.ubuntu.com/ubuntu/ xenial main restricted
/etc/apt/sources.list~:deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted
/etc/apt/sources.list~:deb http://archive.ubuntu.com/ubuntu/ xenial universe
/etc/apt/sources.list~:deb http://archive.ubuntu.com/ubuntu/ xenial-updates universe
/etc/apt/sources.list~:deb http://archive.ubuntu.com/ubuntu/ xenial multiverse
/etc/apt/sources.list~:deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse
/etc/apt/sources.list~:deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
/etc/apt/sources.list~:deb http://archive.canonical.com/ubuntu xenial partner
/etc/apt/sources.list~:deb http://security.ubuntu.com/ubuntu xenial-security main restricted
/etc/apt/sources.list~:deb http://security.ubuntu.com/ubuntu xenial-security universe
/etc/apt/sources.list~:deb http://security.ubuntu.com/ubuntu xenial-security multiverse
/etc/apt/sources.list.d/sane-project-ubuntu-sane-release-focal.list:deb http://ppa.launchpad.net/sane-project/s ... ase/ubuntu focal main
/etc/apt/sources.list.d/skype-stable.list.distUpgrade:deb [arch=amd64] https://repo.skype.com/deb stable main
/etc/apt/sources.list.d/sane-project-ubuntu-sane-release-focal.list.save:deb http://ppa.launchpad.net/sane-project/s ... ase/ubuntu focal main
/etc/apt/sources.list.d/bablu-boy-ubuntu-nutty_0_1-bionic.list.distUpgrade:deb http://ppa.launchpad.net/bablu-boy/nutty.0.1/ubuntu bionic main
/etc/apt/sources.list.d/teams.list.distUpgrade:deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
/etc/apt/sources.list.d/google-chrome.list:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/google-chrome.list.save:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/google-chrome.list.distUpgrade:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.distUpgrade:deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
/etc/apt/sources.list.distUpgrade:deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
/etc/apt/sources.list.distUpgrade:deb http://archive.ubuntu.com/ubuntu/ bionic universe
/etc/apt/sources.list.distUpgrade:deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
/etc/apt/sources.list.distUpgrade:deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
/etc/apt/sources.list.distUpgrade:deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
/etc/apt/sources.list.distUpgrade:deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
/etc/apt/sources.list.distUpgrade:deb http://archive.canonical.com/ubuntu bionic partner
/etc/apt/sources.list.distUpgrade:deb http://security.ubuntu.com/ubuntu bionic-security main restricted
/etc/apt/sources.list.distUpgrade:deb http://security.ubuntu.com/ubuntu bionic-security universe
/etc/apt/sources.list.distUpgrade:deb http://security.ubuntu.com/ubuntu bionic-security multiverse
/etc/apt/sources.list.save:deb http://archive.ubuntu.com/ubuntu/ focal main restricted
/etc/apt/sources.list.save:deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
/etc/apt/sources.list.save:deb http://archive.ubuntu.com/ubuntu/ focal universe
/etc/apt/sources.list.save:deb http://archive.ubuntu.com/ubuntu/ focal-updates universe
/etc/apt/sources.list.save:deb http://archive.ubuntu.com/ubuntu/ focal multiverse
/etc/apt/sources.list.save:deb http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
/etc/apt/sources.list.save:deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
/etc/apt/sources.list.save:deb http://archive.canonical.com/ubuntu focal partner
/etc/apt/sources.list.save:deb http://security.ubuntu.com/ubuntu focal-security main restricted
/etc/apt/sources.list.save:deb http://security.ubuntu.com/ubuntu focal-security universe
/etc/apt/sources.list.save:deb http://security.ubuntu.com/ubuntu focal-security multiverse
arno@tanatalus-3:~$ apt policy dconf-service
dconf-service:
Installed: 0.36.0-1
Candidate: 0.36.0-1
Version table:
*** 0.36.0-1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
arno@tanatalus-3:~$ # and
arno@tanatalus-3:~$ grep -R ^deb /etc/apt/sources.list*
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal main restricted
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal universe
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal-updates universe
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal multiverse
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
/etc/apt/sources.list:deb http://archive.canonical.com/ubuntu focal partner
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security multiverse
/etc/apt/sources.list:deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
/etc/apt/sources.list~:deb http://archive.ubuntu.com/ubuntu/ xenial main restricted
/etc/apt/sources.list~:deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted
/etc/apt/sources.list~:deb http://archive.ubuntu.com/ubuntu/ xenial universe
/etc/apt/sources.list~:deb http://archive.ubuntu.com/ubuntu/ xenial-updates universe
/etc/apt/sources.list~:deb http://archive.ubuntu.com/ubuntu/ xenial multiverse
/etc/apt/sources.list~:deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse
/etc/apt/sources.list~:deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
/etc/apt/sources.list~:deb http://archive.canonical.com/ubuntu xenial partner
/etc/apt/sources.list~:deb http://security.ubuntu.com/ubuntu xenial-security main restricted
/etc/apt/sources.list~:deb http://security.ubuntu.com/ubuntu xenial-security universe
/etc/apt/sources.list~:deb http://security.ubuntu.com/ubuntu xenial-security multiverse
/etc/apt/sources.list.d/sane-project-ubuntu-sane-release-focal.list:deb http://ppa.launchpad.net/sane-project/s ... ase/ubuntu focal main
/etc/apt/sources.list.d/skype-stable.list.distUpgrade:deb [arch=amd64] https://repo.skype.com/deb stable main
/etc/apt/sources.list.d/sane-project-ubuntu-sane-release-focal.list.save:deb http://ppa.launchpad.net/sane-project/s ... ase/ubuntu focal main
/etc/apt/sources.list.d/bablu-boy-ubuntu-nutty_0_1-bionic.list.distUpgrade:deb http://ppa.launchpad.net/bablu-boy/nutty.0.1/ubuntu bionic main
/etc/apt/sources.list.d/teams.list.distUpgrade:deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
/etc/apt/sources.list.d/google-chrome.list:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/google-chrome.list.save:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/google-chrome.list.distUpgrade:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.distUpgrade:deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
/etc/apt/sources.list.distUpgrade:deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
/etc/apt/sources.list.distUpgrade:deb http://archive.ubuntu.com/ubuntu/ bionic universe
/etc/apt/sources.list.distUpgrade:deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
/etc/apt/sources.list.distUpgrade:deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
/etc/apt/sources.list.distUpgrade:deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
/etc/apt/sources.list.distUpgrade:deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
/etc/apt/sources.list.distUpgrade:deb http://archive.canonical.com/ubuntu bionic partner
/etc/apt/sources.list.distUpgrade:deb http://security.ubuntu.com/ubuntu bionic-security main restricted
/etc/apt/sources.list.distUpgrade:deb http://security.ubuntu.com/ubuntu bionic-security universe
/etc/apt/sources.list.distUpgrade:deb http://security.ubuntu.com/ubuntu bionic-security multiverse
/etc/apt/sources.list.save:deb http://archive.ubuntu.com/ubuntu/ focal main restricted
/etc/apt/sources.list.save:deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
/etc/apt/sources.list.save:deb http://archive.ubuntu.com/ubuntu/ focal universe
/etc/apt/sources.list.save:deb http://archive.ubuntu.com/ubuntu/ focal-updates universe
/etc/apt/sources.list.save:deb http://archive.ubuntu.com/ubuntu/ focal multiverse
/etc/apt/sources.list.save:deb http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
/etc/apt/sources.list.save:deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
/etc/apt/sources.list.save:deb http://archive.canonical.com/ubuntu focal partner
/etc/apt/sources.list.save:deb http://security.ubuntu.com/ubuntu focal-security main restricted
/etc/apt/sources.list.save:deb http://security.ubuntu.com/ubuntu focal-security universe
/etc/apt/sources.list.save:deb http://security.ubuntu.com/ubuntu focal-security multiverse
Re: Problem installing wine on 20.04 LTS because of dependcies
You probably installed one or more packages from the focal-backports repository.
When you install Wine, several 32-bit packages are also installed. The 64-bit and 32-bit packages must be the same version. The packages from focal-backports are given a lower priority and are not installed automatically, causing an unsolvable problem for apt.
You can solve this manually with:
When you install Wine, several 32-bit packages are also installed. The 64-bit and 32-bit packages must be the same version. The packages from focal-backports are given a lower priority and are not installed automatically, causing an unsolvable problem for apt.
You can solve this manually with:
Code: Select all
sudo apt -t focal-backports install --install-recommends winehq-stable
Re: Problem installing wine on 20.04 LTS because of dependcies
Thank you. I have tried it, but it still does not work. Same message.
Here is the output:
arno@tanatalus-3:~$ sudo apt -t focal-backports install --install-recommends winehq-stable
[sudo] password for arno:
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:
dconf-gsettings-backend : Depends: dconf-service (>= 0.36.0-1)
Depends: dconf-service (< 0.36.0-1.1~)
winehq-stable : Depends: wine-stable (= 6.0.2~focal-1)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Here is the output:
arno@tanatalus-3:~$ sudo apt -t focal-backports install --install-recommends winehq-stable
[sudo] password for arno:
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:
dconf-gsettings-backend : Depends: dconf-service (>= 0.36.0-1)
Depends: dconf-service (< 0.36.0-1.1~)
winehq-stable : Depends: wine-stable (= 6.0.2~focal-1)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Re: Problem installing wine on 20.04 LTS because of dependcies
Then, unfortunately, you'll have to manually check the dependencies:
Code: Select all
sudo apt install wine-stable
# Some error about dependency 'example-package-1'
sudo apt install example-package-1
# Some error about dependency 'example-package-2'
sudo apt install example-package-2
# and so on...