Unable to obtain repository for Ubuntu 23.04

Questions about Wine on Linux
Locked
shag00
Level 3
Level 3
Posts: 50
Joined: Mon Sep 11, 2017 11:04 pm

Unable to obtain repository for Ubuntu 23.04

Post by shag00 »

I attempted to update the wine repository for Kubuntu 23.04 because after the Ubuntu update my system thinks wine is not installed by following the instructions at https://wiki.winehq.org/Ubuntu and was able to download the key but when using this instruction,

Ubuntu 23.04
(Lunar Lobster)

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubunt ... ar.sources

I get a 404 message (The requested URL was not found on this server.) result by clicking on the blue text.
shag00
Level 3
Level 3
Posts: 50
Joined: Mon Sep 11, 2017 11:04 pm

Re: Unable to obtain repository for Ubuntu 23.04

Post by shag00 »

In the hours since I posted a 404 message is no longer displayed and the address has been populated with additional files though unfortunately the key is not signed so the result is the same, no wine in ubuntu 23.04.
GPG error: https://dl.winehq.org/wine-builds/ubuntu lunar InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
I have run

Code: Select all

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 76F1A20FF987672F
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Unable to obtain repository for Ubuntu 23.04

Post by dimesio »

jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Unable to obtain repository for Ubuntu 23.04

Post by jkfloris »

Could you post the output of:

Code: Select all

cat /etc/apt/sources.list.d/winehq-lunar.sources
# and
file /etc/apt/keyrings/winehq-archive.key
shag00
Level 3
Level 3
Posts: 50
Joined: Mon Sep 11, 2017 11:04 pm

Re: Unable to obtain repository for Ubuntu 23.04

Post by shag00 »

Code: Select all

scott@scottubuntu:/$ cat /etc/apt/sources.list.d/winehq-lunar.sources
Types: deb
URIs: https://dl.winehq.org/wine-builds/ubuntu
Suites: lunar
Components: main
Architectures: amd64 i386
Signed-By: /etc/apt/keyrings/winehq-archive.key

Code: Select all

scott@scottubuntu:/$ file /etc/apt/keyrings/winehq-archive.key
/etc/apt/keyrings/winehq-archive.key: cannot open `/etc/apt/keyrings/winehq-archive.key' (No such file or directory)
But I do have which is just downloaded:

Code: Select all

scott@scottubuntu:/$ file /etc/apt/keyrings/winehq.key
/etc/apt/keyrings/winehq.key: PGP public key block Public-Key (old)
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Unable to obtain repository for Ubuntu 23.04

Post by jkfloris »

Rename /etc/apt/keyrings/winehq.key to /etc/apt/keyrings/winehq-archive.key
and try apt update again.
shag00
Level 3
Level 3
Posts: 50
Joined: Mon Sep 11, 2017 11:04 pm

Re: Unable to obtain repository for Ubuntu 23.04

Post by shag00 »

Renaming is accepted by apt but there are still some issues.

Code: Select all

scott@scottubuntu:/$ sudo apt update
[sudo] password for scott: 
Hit:1 https://dl.winehq.org/wine-builds/ubuntu lunar InRelease
/etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu-lunar.list has a file size of zero

Code: Select all

scott@scottubuntu:/$ sudo apt install --install-recommends winehq-devel
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
winehq-devel is already the newest version (8.6~jammy-1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
So I am still where I was after the upgrade to 23.04.

Code: Select all

scott@scottubuntu:/$ wine -v
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.

jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Unable to obtain repository for Ubuntu 23.04

Post by jkfloris »

There are currently no winehq-devel packages for Lunar. Lunar did not exist when Wine 8.6 was released.
When Wine 8.7 is released (probably at the end of this week), packages will be built.

At the moment, you can only install Wine 8.0.1 (stable).
Locked