i am trying to install wine and accidentally typed
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
which is for ubuntu version 22.04 jammy jellyfish. I am currently running 20.04 Focal Fossa. Now when i type
sudo apt install --install-recommends winehq-stable
it gives me the error
eading 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 (= 8.0.2~jammy-1) E: Unable to correct problems, you have held broken packages.
anyone know how to fix this Thanks in advance
Software & Sources
, and then add the correct repository – Archisman Panigrahi Dec 13 '23 at 17:22sudo apt update
, and install wine from the terminal – Archisman Panigrahi Dec 13 '23 at 17:33cd /etc/apt/sources.list.d/ && ls
– Archisman Panigrahi Dec 13 '23 at 21:19