0
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 to resolve the situation:

The following packages have unmet dependencies:
 winehq-stable : Depends: wine-stable (= 5.0.3~groovy)
E: Unable to correct problems, you have held broken packages.
Ashraf
  • 1
  • Looks like you are unwisely trying to install a non-Ubuntu version of Wine that is incompatible with your release of Ubuntu. That counts as requesting "an impossible situation." Pick a release of Wine that is compatible with your release of Ubuntu. The version in the Ubuntu repositories has been tested and debugged -- it's compatible (and easier to install than your current method). – user535733 Jan 02 '21 at 04:45
  • but i tried every version of that pakage but still got the same at everytime – Ashraf Jan 02 '21 at 05:09
  • Different versions of winehq-stable would, of course, depend upon different versions of wine-stable. If you get the same output (Depends: wine-stable (= 5.0.3~groovy)) everytime, that suggests that either you tried the same wrong release each time...or you failed to clean up after your first failure. Um, a package with the name groovy (Groovy = 20.10) in the version won't be compatible with an older (Focal = 20.04) system. – user535733 Jan 02 '21 at 05:22
  • will you please help me out . how to clean completely that – Ashraf Jan 02 '21 at 05:25
  • 1
    Edit your question: You must clearly list every step you followed to add the Wine repositories and install the (incompatible) software. How you remove something cleanly depends upon how you originally installed it. Refer your apt history in /var/log/apt/history.log and /var/log/apt/term.log if you do not recall exactly what you did. – user535733 Jan 02 '21 at 05:29
  • 1
    Question: Why are you trying to install Wine from the upstream WineHQ instead of using the very good version that's already in the Ubuntu repositories? Is there some feature you want that's only available in the upstream package? Or did you just not know about the easy way? – user535733 Jan 02 '21 at 05:31
  • 4

0 Answers0