Can'r install WINE on Debian Bullseye

Questions about Wine on Linux
Locked
systemctl
Newbie
Newbie
Posts: 1
Joined: Sun Nov 06, 2022 6:00 pm

Can'r install WINE on Debian Bullseye

Post by systemctl »

Running the Latest Version of Debian and installed the repositorys but can't install wine I did everything! I typed into Konsole:

Code: Select all

sudo wget /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources
And:

Code: Select all

sudo wget  /etc/aptkeyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
AND ALSO:

Code: Select all

sudo apt uodate
They installed the repositorys and updated but when I typed

Code: Select all

sudo apt install --install-recommends winehq-stable
It told me it wasn't found! Can someone help me on this?
If you want this is what I typed:

Code: Select all

USER@debian:~$ sudo apt install --install-recommends  winehq-stable
[sudo] password for USER: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package winehq-stable
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Can'r install WINE on Debian Bullseye

Post by jkfloris »

Code: Select all

sudo wget /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources
...

Code: Select all

sudo wget  /etc/aptkeyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
Check carefully what you have typed. These lines contain a few typos.

The first line should be:
---
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources
---
The second:
---
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
---------------------------^
Note the slash between apt and keyrings
Locked