[Bug 59270] New: [WIKI] Update install instructions for Ubuntu 25.04/25.10 due to apt changes
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.
http://bugs.winehq.org/show_bug.cgi?id=59270 --- Comment #1 from Otto <b1779506@trbvn.com> --- This command is best: sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59270 --- Comment #2 from Otto <b1779506@trbvn.com> --- These are the needed commands in order: wget -O - https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor -o /etc/apt/keyrings/winehq-archive.gpg sed -i 's/winehq-archive.key/winehq-archive.gpg/' /etc/apt/sources.list.d/winehq-questing.sources rm /etc/apt/keyrings/winehq-archive.key apt update -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59270 --- Comment #3 from Jactry Zeng <jactry92@gmail.com> --- Hi, Thanks for catching this. (In reply to Otto from comment #2)
These are the needed commands in order:
wget -O - https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor -o /etc/apt/keyrings/winehq-archive.gpg
sed -i 's/winehq-archive.key/winehq-archive.gpg/' /etc/apt/sources.list.d/winehq-questing.sources
rm /etc/apt/keyrings/winehq-archive.key apt update
I think it will be better to update the winehq.key file from the server to avoid additional commands and make things more straightforward. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59270 Jactry Zeng <jactry92@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio@earthlink.net Product|Wine-staging |Packaging Component|-unknown |wine-packages -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59270 Rosanne DiMesio <dimesio@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkfloris@dds.nl -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59270 --- Comment #4 from jkfloris@dds.nl --- Since all currently supported versions of Debian and Ubuntu have built-in PGP key support, the key can be added to the *.sources-file. Then, the user only needs to download the *.sources-file and run “apt update.” --- Types: deb URIs: https://dl.winehq.org/wine-builds/ubuntu Suites: questing Components: main Architectures: amd64 i386 Signed-By: -----BEGIN PGP PUBLIC KEY BLOCK----- . mQGNBFwOmrgBDAC9FZW3dFpew1hwDaqRfdQQ1ABcmOYu1NKZHwYjd+bGvcR2LRGe R5dfRqG1Uc/5r6CPCMvnWxFprymkqKEADn8eFn+aCnPx03HrhA+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KM O/NFTNoYkJ3cNW/kfcynwV+4AcKwdRz2A3Mez+g5TKFYPZROIbayOo01yTMLfz2p jcqki/t4PACtwFOhkAs+MYPPyZDUkTFcEJQCPDstkAgmJWI3K2qELtDOLQyps3WY Mfp+mntOdc8bKjFTMcCEk1zcm14K4Oms+w6dw2UnYsX1FAYYhPm8HUYwE4kP8M+D 9HGLMjLqqF/kanlCFZs5Avx3mDSAx6zS8vtNdGh+64oDNk4x4A2j8GTUuQARAQAB iQG2BBgBCgAgAhsMFiEE1D9kAUU2nFHXht3qdvGiD/mHZy8FAmZxp3IACgkQdvGi D/mHZy+Ahgv/RTvTSZ2aBjq3Rgvx4ntjb5UDMcXa2gEzacdNll34c4gExMp20mnQ nLy8YRAiSoXG8QILrnEG4e3pwNogaBxPR42dA9u17jlH1pRS6k8g9vx2DtC/Atv/ x8D/E0KF1ovHS7GeWlRgNlRqRB5YvC4/4e8pU2BtM/mpe4paor8KoRyE31Hcy99y nTcH2eAstZLXUgu7suNSwUXGvm8fho2E+Fg7Ll+d51VInwOssBVzs2JlfwFvhpQU G8lN4sOftHpOQUnGTKrb7zY40Tf29ibWBNA695qnnD2QyTlumf47HWf8E0hIwg0T 2oJUyKJgu6B/xSqv0tLI+Qs8uIEyOUNVWNsSnPbs/W5HJ3yOLiGtmVIomPc59YfB kJ5wQjXSCyfESCMnJbrkH/B7drciRmIFT93+ApEvrNvmiQUrVWU64fZQx68HBj2m sdE07ElnwPBqDnMdqBfzozPTpEpbO7aVRT15gjOggf9Mbf0XCpsrAWs2Pgfxo9MU uNBEXR+VjRvm =NUWj -----END PGP PUBLIC KEY BLOCK----- -- 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.
participants (1)
-
WineHQ Bugzilla