Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WineDependencies command fails if any existing apt package on machine cannot be updated #180

Open
RainOfPain125 opened this issue Jan 9, 2025 · 0 comments

Comments

@RainOfPain125
Copy link

RainOfPain125 commented Jan 9, 2025

sudo dpkg --add-architecture i386 && sudo apt update && sudo apt install -y wine64 wine32 libasound2-plugins:i386 libsdl2-2.0-0:i386 libdbus-1-3:i386 libsqlite3-0:i386
found here https://github.com/lutris/docs/blob/master/WineDependencies.md

Spotify cannot update because it has a missing public key (or something like that). Because of this, the command above will fail at sudo apt update and doesn't finish the rest of the command && sudo apt install -y wine64 wine32 libasound2-plugins:i386 libsdl2-2.0-0:i386 libdbus-1-3:i386 libsqlite3-0:i386`.

As a brand new Linux user, I'd recommend giving people a command that won't fail and stop halfway regardless of a separate menial issue like this.

rain@Eaglefire-II:~$ sudo dpkg --add-architecture i386 && sudo apt update && sudo apt install -y wine64 wine32 libasound2-plugins:i386 libsdl2-2.0-0:i386 libdbus-1-3:i386 libsqlite3-0:i386
[sudo] password for rain:     
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease                         
Ign:3 http://packages.linuxmint.com wilma InRelease                            
Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease                 
Hit:5 https://download.docker.com/linux/ubuntu noble InRelease                 
Hit:6 http://packages.linuxmint.com wilma Release                              
Hit:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease               
Hit:8 https://repo.steampowered.com/steam stable InRelease          
Get:10 http://repository.spotify.com stable InRelease [3,316 B]
Err:10 http://repository.spotify.com stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C85668DF69375001
Reading package lists... Done
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C85668DF69375001
E: The repository 'http://repository.spotify.com stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
rain@Eaglefire-II:~$

as you can see, it fails on that step and then doesn't finish the rest of the command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant