Debendency broken on Lubuntu 18.04

Questions about Wine on Linux
Locked
nyta8591
Newbie
Newbie
Posts: 2
Joined: Thu Jun 08, 2023 7:53 pm

Debendency broken on Lubuntu 18.04

Post by nyta8591 »

The following packages have unmet dependencies:
winehq-stable : Depends: wine-stable (= 8.0.1~focal-1) but it won't be installed
E: Unable to fix errors: you have broken packages.

I get this dependency error when trying to Install Wine on Lubuntu 18.04 by following this guide (https://wine.htmlvalidator.com/install- ... 18.04.html )

Can someone please help? :(
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Debendency broken on Lubuntu 18.04

Post by jkfloris »

winehq-stable : Depends: wine-stable (= 8.0.1~focal-1) but it won't be installed
The release name of Ubuntu 18.04 is Bionic. In other words, you have (also) added the wrong repository.
Remove the focal repo, add bionic and try again:

Code: Select all

sudo rm /etc/apt/sources.list.d/winehq-focal.sources
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/winehq-bionic.sources
sudo apt update
sudo apt install --install-recommends winehq-stable
Keep in mind: There will be no new packages made for Bionic.
Locked