http://bugs.winehq.org/show_bug.cgi?id=59270 Bug ID: 59270 Summary: [WIKI] Update install instructions for Ubuntu 25.04/25.10 due to apt changes Product: Wine-staging Version: unspecified Hardware: Other OS: other Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: b1779506@trbvn.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com https://gitlab.winehq.org/wine/wine/-/wikis/Debian-Ubuntu The current instructions in the "WineHQ repository" section cause an installation failure on Ubuntu 25.10 (and 24.04+) due to strict key format enforcement by newer apt versions. The specific command "wget ... | gpg --dearmor -o ...winehq-archive.key" creates a binary keyring file but saves it with a .key extension. apt now rejects this mismatch with the error: "The key(s) in the keyring /etc/apt/keyrings/winehq-archive.key are ignored as the file has an unsupported filetype," because it expects .key files to be ASCII armored (text) and .gpg files to be binary. Since the repository .sources files (e.g., winehq-questing.sources) are hardcoded to look for /etc/apt/keyrings/winehq-archive.key, the most compatible fix is to remove the gpg --dearmor step and save the key as plain ASCII text. I suggest modifying the "Download and add the repository key" command in the Wiki to the following: wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo tee /etc/apt/keyrings/winehq-archive.key > /dev/null -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.