Having issue trying to get Wine to work on my unbuntu 25.10

Which Linux distro are you using? Ubuntu

Which release version?25.10
(if rolling release without a release version, skip this question)

(If rolling release, last date updated?)

Which kernel are you using?Linux 6.17.0-20-generic

Which BIOS version are you using?3.5 just updated it

Which Framework Laptop 16 model are you using? (AMD Ryzen™ 7040 Series) Ryzen™ AI 9 HX 370

I am trying to install WINE on my computer and I got the keychain part but when I try to download WINE key, i get a message stating it was already there and do you want to replace it Y/N

I choose yes but then it infinitely ask that question and I cant go any further does anyone know how to fix this or start over fresh?

Have you followed these steps? : Ubuntu 25.10 – How to Install Wine on Ubuntu 25.10

yes i have that open but my issue is use the following command

wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -

The next line is telling me that key already exist and do you want to replace it. I type Y and hit enter but after that it just repeats that same message infinitely and I have to close the terminal and start but get the same results

Remove winehq-archive.key and winehq.key from etc/apt/keyrings and try again.

When I go to that folder I cant open the file thats there it is locked and I cant do anything unless there is a way I am still new to it

I also tried removing it in the terminal but still gave me the infinite do you want to replace it message again

You could bypass the problem and place the key in /etc/apt/trusted.gpg.d

The keyrings only work if the apt sources use the Signed-by: directive.
Check the “winehq-questing.sources” and see if it used the Signed-by directive.
If so, save the key file to the filename pointed to by the Signed-by.

Also, you seem to have old “noble” lines in the sources.
You need the sources files to be for questing, to match Ubuntu 25.10

1 Like

Follow this guide to remove anything wine related: https://www.baeldung.com/linux/wine-remove-delete

Ok I will try later today I have to head out and thanks for the support

Thanks for the webpage I will look into this and get back later today as I have to head out