Problem installing Wine on Ubuntu 20.04.3

Questions about Wine on Linux
Locked
profanter
Newbie
Newbie
Posts: 3
Joined: Wed Nov 03, 2021 8:18 am

Problem installing Wine on Ubuntu 20.04.3

Post by profanter »

Hi, i'm trying to install Wine on Ubuntu 20.04.03 through the official PPA (following the site's instructions) but everytime i try this is what happens:
xx@xx-pc: ~ $ sudo apt install --install-recommends winehq-devel
[sudo] mc password:
Reading package list ... Done
Dependency tree generation
Read status information ... Done
Some packages cannot be installed. This can mean
that an impossible situation has been requested or, if you are
using a development distribution, which some packages required
have not yet been created or have been removed from Incoming.
The following information can help resolve the situation:

The following packages have unmet dependencies:
winehq-devel: Depends: wine-devel (= 6.20 ~ impish-1)
E: Unable to fix problems, there are bad packages blocked.
xx@ xx-pc: ~ $
I'v tried to solve through Synaptic but it seems impossible.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problem installing Wine on Ubuntu 20.04.3

Post by dimesio »

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

Re: Problem installing Wine on Ubuntu 20.04.3

Post by jkfloris »

winehq-devel: Depends: wine-devel (= 6.20 ~ impish-1)
Ubuntu 20.04.3 is named Focal Fossa.
You probably added the wrong repository.
profanter
Newbie
Newbie
Posts: 3
Joined: Wed Nov 03, 2021 8:18 am

Re: Problem installing Wine on Ubuntu 20.04.3

Post by profanter »

jkfloris wrote: Wed Nov 03, 2021 3:34 pm
winehq-devel: Depends: wine-devel (= 6.20 ~ impish-1)
Ubuntu 20.04.3 is named Focal Fossa.
You probably added the wrong repository.
I know that Ubuntu 20.04.3 is named Focal Foss and of course i added the right repository (following the site's instructions). The problem is that when i update the Impish repository seems present and maybe this is the problem.
Trovato:1 http://deb.xanmod.org releases InRelease
Trovato:2 https://qgis.org/ubuntu focal InRelease
Trovato:3 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Trovato:4 https://dl.winehq.org/wine-builds/ubuntu impish InRelease
Trovato:5 http://archive.ubuntu.com/ubuntu focal InRelease
Trovato:6 http://ppa.launchpad.net/alex-p/qcad/ubuntu focal InRelease
The impish repository is not present in the update application of Ubuntu and is not present in the etc/apt/sources.list so i don't know how to remove it. I'm sure that i didn't install it.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Problem installing Wine on Ubuntu 20.04.3

Post by jkfloris »

The following command should tell you where the wrong wine repository is:

Code: Select all

grep -Rn impish /etc/apt/sources.list*
profanter
Newbie
Newbie
Posts: 3
Joined: Wed Nov 03, 2021 8:18 am

Re: Problem installing Wine on Ubuntu 20.04.3

Post by profanter »

jkfloris wrote: Thu Nov 04, 2021 11:15 am The following command should tell you where the wrong wine repository is:

Code: Select all

grep -Rn impish /etc/apt/sources.list*
Problem solved. Thank you very much!
Locked