Trying to install Wine staging

I'm trying to install wine staging branch but I get this error message:

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-staging : Depends: wine-staging (= 6.20~hirsute-1)
E: Unable to correct problems, you have held broken packages.

note that a while ago I tried to install Brave Browser but I decided to remove it then i got this error message:

sudo add-apt-repository 'deb Index of /wine-builds/ubuntu focal main'
[sudo] password for gustavo:
Hit:1 http://br.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://br.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:3 https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease
Hit:4 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Hit:5 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:6 http://repository.spotify.com stable InRelease
Hit:7 http://archive.canonical.com/ubuntu focal InRelease
Hit:8 http://br.archive.ubuntu.com/ubuntu focal-security InRelease
Hit:9 http://ppa.launchpad.net/lah7/ubuntu-mate-colours/ubuntu focal InRelease
Err:5 https://brave-browser-apt-release.s3.brave.com stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A8580BDC82D3DC6C
Fetched 114 kB in 1s (95,2 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://brave-browser-apt-release.s3.brave.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A8580BDC82D3DC6C
W: Failed to fetch https://brave-browser-apt-release.s3.brave.com/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A8580BDC82D3DC6C
W: Some index files failed to download. They have been ignored, or old ones used instead.

Seems wine-staging needs hirsute but your repos are focal. Are you on 21.04 ?

1 Like

I'm on 20.04. I wrongly downloaded the hirsute repositories and I'm annoyed because when I go to Softwares & Updates and try to remove it, I get this:

So, the issue is with the Brave browser which does not have a pub key ? I suggest uninstall Brave, then make sure your repos are correct on focal (sudo apt update should be clean, no errors), then reinstall Brave. I will test Brave on my VM.

I was able to install brave from the Software Boutique -- no errors.

3 Likes