E: Unable to locate package winehq-stable

Questions about Wine on Linux
Locked
hyperaxreborn
Newbie
Newbie
Posts: 1
Joined: Thu Jan 04, 2024 8:05 pm

E: Unable to locate package winehq-stable

Post by hyperaxreborn »

Every time i enter the command: sudo apt install --install-recommends it keeps saying E: Unable to locate package winehq-stable,staging and even devel and won't let me fix this.
To help these are my linux details:
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Please find a way to fix this.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: E: Unable to locate package winehq-stable

Post by jkfloris »

Cloud you also post the output of:

Code: Select all

apt policy
SweetOzi
Newbie
Newbie
Posts: 1
Joined: Mon Jan 22, 2024 9:52 am

Re: E: Unable to locate package winehq-stable

Post by SweetOzi »

I’m having the same issues here’s the output from “apt policy”

Package files:
100 /var/lib/dpkg/status
release a=now
100 https://deb.debian.org/debian bullseye-backports/main i386 Packages
release o=Debian Backports,a=bullseye-backports,n=bullseye-backports,l=Debian Backports,c=main,b=i386
origin deb.debian.org
100 https://deb.debian.org/debian bullseye-backports/main amd64 Packages
release o=Debian Backports,a=bullseye-backports,n=bullseye-backports,l=Debian Backports,c=main,b=amd64
origin deb.debian.org
995 https://storage.googleapis.com/cros-packages/119 bullseye/main i386 Packages
release v=1.0,o=Google,a=stable,n=bullseye,l=cros-containers,c=main,b=i386
origin storage.googleapis.com
995 https://storage.googleapis.com/cros-packages/119 bullseye/main amd64 Packages
release v=1.0,o=Google,a=stable,n=bullseye,l=cros-containers,c=main,b=amd64
origin storage.googleapis.com
500 https://deb.debian.org/debian-security bullseye-security/main i386 Packages
release v=11,o=Debian,a=oldstable-security,n=bullseye-security,l=Debian-Security,c=main,b=i386
origin deb.debian.org
500 https://deb.debian.org/debian-security bullseye-security/main amd64 Packages
release v=11,o=Debian,a=oldstable-security,n=bullseye-security,l=Debian-Security,c=main,b=amd64
origin deb.debian.org
500 https://deb.debian.org/debian bullseye-updates/main i386 Packages
release v=11-updates,o=Debian,a=oldstable-updates,n=bullseye-updates,l=Debian,c=main,b=i386
origin deb.debian.org
500 https://deb.debian.org/debian bullseye-updates/main amd64 Packages
release v=11-updates,o=Debian,a=oldstable-updates,n=bullseye-updates,l=Debian,c=main,b=amd64
origin deb.debian.org
500 https://deb.debian.org/debian bullseye/main i386 Packages
release v=11.8,o=Debian,a=oldstable,n=bullseye,l=Debian,c=main,b=i386
origin deb.debian.org
500 https://deb.debian.org/debian bullseye/main amd64 Packages
release v=11.8,o=Debian,a=oldstable,n=bullseye,l=Debian,c=main,b=amd64
origin deb.debian.org
Pinned packages:
libpipewire-0.3-dev -> 0.3.65-2~bpo11+1 with priority 900
libspa-0.2-dev -> 0.3.65-2~bpo11+1 with priority 900
wireplumber-doc -> 0.4.13-1~bpo11+1 with priority 900
gir1.2-wp-0.4 -> 0.4.13-1~bpo11+1 with priority 900
libpipewire-0.3-common -> 0.3.65-2~bpo11+1 with priority 900
pipewire-pulse -> 0.3.65-2~bpo11+1 with priority 900
pipewire-audio-client-libraries -> 0.3.65-2~bpo11+1 with priority 900
pipewire -> 0.3.65-2~bpo11+1 with priority 900
pipewire-tests -> 0.3.65-2~bpo11+1 with priority 900
pipewire-v4l2 -> 0.3.65-2~bpo11+1 with priority 900
libspa-0.2-jack -> 0.3.65-2~bpo11+1 with priority 900
libspa-0.2-bluetooth -> 0.3.65-2~bpo11+1 with priority 900
pipewire-jack -> 0.3.65-2~bpo11+1 with priority 900
gstreamer1.0-pipewire -> 0.3.65-2~bpo11+1 with priority 900
libwireplumber-0.4-dev -> 0.4.13-1~bpo11+1 with priority 900
libpipewire-0.3-modules-x11 -> 0.3.65-2~bpo11+1 with priority 900
pipewire-audio -> 0.3.65-2~bpo11+1 with priority 900
pipewire-bin -> 0.3.65-2~bpo11+1 with priority 900
pipewire-doc -> 0.3.65-2~bpo11+1 with priority 900
libspa-0.2-modules -> 0.3.65-2~bpo11+1 with priority 900
libpipewire-0.3-modules -> 0.3.65-2~bpo11+1 with priority 900
wireplumber -> 0.4.13-1~bpo11+1 with priority 900
pipewire-alsa -> 0.3.65-2~bpo11+1 with priority 900
libwireplumber-0.4-0 -> 0.4.13-1~bpo11+1 with priority 900
libpipewire-0.3-0 -> 0.3.65-2~bpo11+1 with priority 900
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: E: Unable to locate package winehq-stable

Post by jkfloris »

You have not yet added the WineHQ repository to your system.
Follow the instructions for Debian 11 on the wiki.
Locked