I have tried installing Wine by following the Wiki and I am now faced with an error. i got all the way to updating the system and I got what you see in the photo. I am running Kubuntu 22.04. I have just one more step.
Error Updating
Re: Error Updating
Did you follow the instructions on https://wiki.winehq.org/Ubuntu for downloading and adding the key?
Download and add the repository key:
Code: Select all
wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo mv winehq.key /usr/share/keyrings/winehq-archive.key
Re: Error Updating
What is the output of:
Code: Select all
find /etc/apt/ -type f \( -name "*.list" -o -name "*.sources" \) -print -exec nl {} \;
Re: Error Updating
I somehow fixed the original problem, but now I get the following when trying to install the stable version of Wine:
W: http://linux.dropbox.com/ubuntu/dists/disco/Release.gpg: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
$ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package winehq-stable
W: http://linux.dropbox.com/ubuntu/dists/disco/Release.gpg: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
$ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package winehq-stable
Re: Error Updating
This is because dropbox uses apt-key add to add its repository.Code: Select all
W: http://linux.dropbox.com/ubuntu/dists/disco/Release.gpg: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
After Debian 11/ Ubuntu 22.04 this will no longer work, therefore the user is warned.
This looks like the WineHQ repository has not been added.Code: Select all
$ sudo apt install --install-recommends winehq-stable Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package winehq-stable
Did you run sudo apt update, after adding the repository .sources-file?
With the command in my previous post, you can see which repositories have been added to the system.