IbChristian
Member
Hi.
I'm trying to install wine, I found this video:
And got as far as this command and I keep getting this error message:
chris@chris-Latitude-E6510:~$ wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key ---2026-01-11 07:52:37-- https://dl.wine.org/wine-builds/winehq.key
--2026-04-03 16:25:51-- https://dl.winehq.org/wine-builds/winehq.key
gpg: invalid option "---2026-01-11"ine.org/wine-builds/winehq.key
Resolving dl.winehq.org (dl.winehq.org)... 2a04:4e42:d::729, 151.101.14.217
Connecting to dl.winehq.org (dl.winehq.org)|2a04:4e42:d::729|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3212 (3.1K) [application/pgp-keys]
Saving to: ‘STDOUT’
- 0%[ ] 0 --.-KB/s in 0.003s
Cannot write to ‘-’ (Success).
chris@chris-Latitude-E6510:~$
I double checked the command three times and cannot find where I may have goofed. What's causing Cannot write to '-' ?
Did I goof? Is this command no longer valid??
I'm trying to install wine, I found this video:
chris@chris-Latitude-E6510:~$ wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key ---2026-01-11 07:52:37-- https://dl.wine.org/wine-builds/winehq.key
--2026-04-03 16:25:51-- https://dl.winehq.org/wine-builds/winehq.key
gpg: invalid option "---2026-01-11"ine.org/wine-builds/winehq.key
Resolving dl.winehq.org (dl.winehq.org)... 2a04:4e42:d::729, 151.101.14.217
Connecting to dl.winehq.org (dl.winehq.org)|2a04:4e42:d::729|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3212 (3.1K) [application/pgp-keys]
Saving to: ‘STDOUT’
- 0%[ ] 0 --.-KB/s in 0.003s
Cannot write to ‘-’ (Success).
chris@chris-Latitude-E6510:~$
I double checked the command three times and cannot find where I may have goofed. What's causing Cannot write to '-' ?
Did I goof? Is this command no longer valid??


