Thanks in advance for your time.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-staging : Depends: wine-staging (= 6.9~focal-1)
E: Unable to correct problems, you have held broken packages.
Cannot install wineHQ
Cannot install wineHQ
So I was trying to play a game and I install wine64. The wine then told me that I need to install wine32 which I was not able to. I post my problem on the Kubuntu forum and they asked me to install wineHQ. I uninstall wine and try to install wineHQ but I receive the following error:
Re: Cannot install wineHQ
Read the instructions on the wiki:
https://wiki.winehq.org/FAQ#How_do_I_so ... ll_Wine.3F
If that does not resolve the issue, post the output of
https://wiki.winehq.org/FAQ#How_do_I_so ... ll_Wine.3F
If that does not resolve the issue, post the output of
Code: Select all
grep -R ^deb /etc/apt/sources.list*
Re: Cannot install wineHQ
Thanks for the reply. I followed the instruction in the link and I faced a long number of dependencies that I should install. Should I follow that?jkfloris wrote: ↑Sun May 30, 2021 5:34 pm Read the instructions on the wiki:
https://wiki.winehq.org/FAQ#How_do_I_so ... ll_Wine.3F
If that does not resolve the issue, post the output ofCode: Select all
grep -R ^deb /etc/apt/sources.list*
Here is the outcome of the command
/etc/apt/sources.list:deb http://ir.archive.ubuntu.com/ubuntu/ focal main restricted
/etc/apt/sources.list:deb http://ir.archive.ubuntu.com/ubuntu/ focal-updates main restricted
/etc/apt/sources.list:deb http://ir.archive.ubuntu.com/ubuntu/ focal universe
/etc/apt/sources.list:deb http://ir.archive.ubuntu.com/ubuntu/ focal-updates universe
/etc/apt/sources.list:deb http://ir.archive.ubuntu.com/ubuntu/ focal multiverse
/etc/apt/sources.list:deb http://ir.archive.ubuntu.com/ubuntu/ focal-updates multiverse
/etc/apt/sources.list:deb http://ir.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
/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.d/lutris-team-ubuntu-lutris-focal.list:deb http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal 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/lutris-team-ubuntu-lutris-focal.list.save:deb http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal main
/etc/apt/sources.list.save:deb http://ir.archive.ubuntu.com/ubuntu/ focal main restricted
/etc/apt/sources.list.save:deb http://ir.archive.ubuntu.com/ubuntu/ focal-updates main restricted
/etc/apt/sources.list.save:deb http://ir.archive.ubuntu.com/ubuntu/ focal universe
/etc/apt/sources.list.save:deb http://ir.archive.ubuntu.com/ubuntu/ focal-updates universe
/etc/apt/sources.list.save:deb http://ir.archive.ubuntu.com/ubuntu/ focal multiverse
/etc/apt/sources.list.save:deb http://ir.archive.ubuntu.com/ubuntu/ focal-updates multiverse
/etc/apt/sources.list.save:deb http://ir.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
/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
/etc/apt/sources.list.save:deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
Re: Cannot install wineHQ
I tried to resolve the dependency issue by installing what is requested. It asked me to install another dependency, etc. Until I came to install libc6:i386 which required installing 6 packages and removing 2800 packages which seemed potentially harmful so stop that track.
Re: Cannot install wineHQ
Make sure the i386 and the amd64 versions of libc6 are exactly the same.
You can find the available versions with:
And install a specific version with:
You can find the available versions with:
Code: Select all
apt policy libc6 libc6:i386
Code: Select all
sudo apt install libc6:i386=<the version number you found>
Re: Cannot install wineHQ
I use the only version which was available but the same problem. It tells me that 2160 packages will be removed and 6 packages will be installed.
Re: Cannot install wineHQ
What is the output of:
Code: Select all
apt policy libc6 libc6:i386
Re: Cannot install wineHQ
Here the output:jkfloris wrote: ↑Tue Jun 01, 2021 1:43 am What is the output of:Code: Select all
apt policy libc6 libc6:i386
ibc6:
Installed: 2.31-0ubuntu9.3
Candidate: 2.31-0ubuntu9.3
Version table:
*** 2.31-0ubuntu9.3 100
100 /var/lib/dpkg/status
2.31-0ubuntu9.2 500
500 http://ir.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
2.31-0ubuntu9 500
500 http://ir.archive.ubuntu.com/ubuntu focal/main amd64 Packages
libc6:i386:
Installed: (none)
Candidate: 2.31-0ubuntu9.2
Version table:
2.31-0ubuntu9.2 500
500 http://ir.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
2.31-0ubuntu9 500
500 http://ir.archive.ubuntu.com/ubuntu focal/main i386 Packages
Re: Cannot install wineHQ
From https://bugs.launchpad.net/ubuntu/+sour ... ug/1926918
Now you should be able to install libc6:i386Please downgrade libc6 to the version in focal-updates. The one installed has been removed from -updates because it caused regressions and the new version superseding 2.31-0ubuntu9.3 is not yet released.
...
Try this:Code: Select all
sudo apt install libc6=2.31-0ubuntu9.2
Re: Cannot install wineHQ
Good. I just have one question. Doesn't libc6 get upgraded again when I upgrade the system?jkfloris wrote: ↑Tue Jun 01, 2021 3:57 pm From https://bugs.launchpad.net/ubuntu/+sour ... ug/1926918Now you should be able to install libc6:i386Please downgrade libc6 to the version in focal-updates. The one installed has been removed from -updates because it caused regressions and the new version superseding 2.31-0ubuntu9.3 is not yet released.
...
Try this:Code: Select all
sudo apt install libc6=2.31-0ubuntu9.2
Re: Cannot install wineHQ
After downgrading lib6 I was able to install wineHQ without the need to go through dependency. Thanks for your time.