wine-stable (= 8.0.1~lunar-1)

Questions about Wine on Linux
Locked
nerosan2020
Newbie
Newbie
Posts: 2
Joined: Tue May 23, 2023 8:15 pm

wine-stable (= 8.0.1~lunar-1)

Post by nerosan2020 »

I went to download wine again, but I had already downloaded it and it was kind of "uninstalled", today I went to download it again and I got an error called: "Some packages could not be installed. This could mean that
you requested an impossible situation or, if you are using the
unstable distribution, that some required packages were not
created yet or removed from "Incoming".
The following information may help resolve the situation:

The following packages have mismatched dependencies:
winehq-stable : Depends: wine-stable (= 8.0.1~lunar-1)"

Does anybody know how to solve this?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: wine-stable (= 8.0.1~lunar-1)

Post by jkfloris »

Could you give more information about your system?
Probably the output of "inxi -Sr" (distro name and repositories) is enough.
nerosan2020
Newbie
Newbie
Posts: 2
Joined: Tue May 23, 2023 8:15 pm

Re: wine-stable (= 8.0.1~lunar-1)

Post by nerosan2020 »

Distro: Linux Mint 20.3 Una

repositories: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
1: deb https://screenrec.com/download/ubuntu stable main
No active apt repos in: /etc/apt/sources.list.d/google-chrome.list
Active apt repos in: /etc/apt/sources.list.d/lutris-team-lutris-focal.list
1: deb http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://packages.linuxmint.com una main upstream import backport #id:linuxmint_main
2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
6: deb http://archive.canonical.com/ubuntu/ focal partner
Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
1: deb [arch=amd64] https://repo.skype.com/deb stable main
Active apt repos in: /etc/apt/sources.list.d/spotify.list
1: deb http://repository.spotify.com stable non-free
Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main
Active apt repos in: /etc/apt/sources.list.d/winehq-bionic.sources
1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu bionic main
Active apt repos in: /etc/apt/sources.list.d/winehq-bookworm.sources
1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/debian bookworm main
Active apt repos in: /etc/apt/sources.list.d/winehq-focal.sources
1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu focal main
Active apt repos in: /etc/apt/sources.list.d/winehq-jammy.sources
1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/winehq-lunar.sources
1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu lunar main

Does this information work? I don't know much about Linux, it's my first time using it
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: wine-stable (= 8.0.1~lunar-1)

Post by jkfloris »

Active apt repos in: /etc/apt/sources.list.d/winehq-bionic.sources
1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu bionic main
Active apt repos in: /etc/apt/sources.list.d/winehq-bookworm.sources
1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/debian bookworm main
Active apt repos in: /etc/apt/sources.list.d/winehq-focal.sources
1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu focal main
Active apt repos in: /etc/apt/sources.list.d/winehq-jammy.sources
1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/winehq-lunar.sources
1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu lunar main
You have added the repository for all kinds of Linux versions.
You only need to add the repository for your own distribution (focal).

You can remove the following files from /etc/apt/sources.list.d/:
- winehq-bionic.sources
- winehq-bookworm.sources
- winehq-jammy.sources
- winehq-lunar.sources
You can do this as follows:

Code: Select all

cd /etc/apt/sources.list.d/
sudo rm -i winehq-bionic.sources winehq-bookworm.sources winehq-jammy.sources winehq-lunar.sources
And try to install Wine again:

Code: Select all

sudo apt update
sudo apt install --install-recommends winehq-stable
nerosan2020
Newbie
Newbie
Posts: 2
Joined: Tue May 23, 2023 8:15 pm

Re: wine-stable (= 8.0.1~lunar-1)

Post by nerosan2020 »

it didn't work, it's giving this error "The following packages have mismatched dependencies:
winehq-stable : Depends: wine-stable (= 8.0.1~lunar-1)
E: Unable to fix problems, you held broken packages"

I did the procedures but I still got this error when installing Wine
Last edited by nerosan2020 on Sat May 27, 2023 8:25 am, edited 1 time in total.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: wine-stable (= 8.0.1~lunar-1)

Post by jkfloris »

winehq-stable : Depends: wine-stable (= 8.0.1~lunar-1)
You still have the Lunar repository enabled.
Did you run sudo apt update, after deleting the /etc/apt/sources.list.d/winehq-lunar.sources file?
Locked