Unable to locate package winehq-stable

Questions about Wine on Linux
Locked
itztass

Unable to locate package winehq-stable

Post by itztass »

i have followed all the steps but for some reason it does not find the package


 tales on  ~/Downloads
# sudo dpkg --add-architecture i386
 tales on  ~/Downloads
#
 tales on  ~/Downloads
# sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
--2024-09-07 14:00:58-- https://dl.winehq.org/wine-builds/winehq.key
Resolving dl.winehq.org (dl.winehq.org)... 2a04:4e42:16::729, 151.101.94.217
Connecting to dl.winehq.org (dl.winehq.org)|2a04:4e42:16::729|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3212 (3.1K) [application/pgp-keys]
Saving to: ‘/etc/apt/keyrings/winehq-archive.key’

/etc/apt/keyrings/winehq-archive.key 100%[======================================================================================================================>] 3.14K --.-KB/s in 0.003s

2024-09-07 14:00:59 (1.13 MB/s) - ‘/etc/apt/keyrings/winehq-archive.key’ saved [3212/3212]

 tales on  ~/Downloads
#
 tales on  ~/Downloads
# sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubunt ... le.sources
--2024-09-07 14:01:07-- https://dl.winehq.org/wine-builds/ubunt ... le.sources
Resolving dl.winehq.org (dl.winehq.org)... 2a04:4e42:16::729, 151.101.94.217
Connecting to dl.winehq.org (dl.winehq.org)|2a04:4e42:16::729|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 163
Saving to: ‘/etc/apt/sources.list.d/winehq-noble.sources’

winehq-noble.sources 100%[======================================================================================================================>] 163 --.-KB/s in 0s

2024-09-07 14:01:08 (11.0 MB/s) - ‘/etc/apt/sources.list.d/winehq-noble.sources’ saved [163/163]

 tales on  ~/Downloads
# sudo apt update
Get:1 https://dl.winehq.org/wine-builds/ubuntu noble InRelease [6,261 B]
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:3 https://dl.winehq.org/wine-builds/ubuntu noble/main i386 Packages [36.7 kB]
Get:4 https://dl.winehq.org/wine-builds/ubuntu noble/main amd64 Packages [36.7 kB]
Fetched 79.7 kB in 1s (91.1 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

 tales on  ~/Downloads
# 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
 tales on  ~/Downloads
#
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Unable to locate package winehq-stable

Post by dimesio »

There are no winehq-stable packages for 24.04 because 24.04 was not yet released when wine-9.0 came out. There will be winehq-stable packages for 24.04 whenever the next stable release comes out. In the meantime, there are winehq packages for the development and staging branches, or you could simply use the distro wine package.
BOplaid
Level 1
Level 1
Posts: 7
Joined: Mon Sep 09, 2024 9:12 am

Re: Unable to locate package winehq-stable

Post by BOplaid »

dimesio wrote: Sat Sep 07, 2024 1:37 pm There are no winehq-stable packages for 24.04 because 24.04 was not yet released when wine-9.0 came out. There will be winehq-stable packages for 24.04 whenever the next stable release comes out. In the meantime, there are winehq packages for the development and staging branches, or you could simply use the distro wine package.
How come the distro wine packages work with 24.04? I mean don't they just take from winehq?
And aren't they older than winehq's wine? And wouldn't that be even worse?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Unable to locate package winehq-stable

Post by dimesio »

BOplaid wrote: Tue Sep 10, 2024 11:38 am How come the distro wine packages work with 24.04? I mean don't they just take from winehq?
And aren't they older than winehq's wine? And wouldn't that be even worse?
The distro builds their own packages, and they have built wine 9.0 packages for 24.04. https://launchpad.net/ubuntu/noble/+package/wine

As for our repository, Wine 9.0 came out in January; 24.04 wasn't released until April, so the first Wine package we built was for it was 9.8. We don't go back and build old versions for new distros.
Locked