Having trouble downloading wine. SOLVED!
Having trouble downloading wine. SOLVED!
I want to get wine installed and am having a heck of a time.
I'm trying to go at this as an actual download then install like you would with windows programs you get online.
I tried to follow the directions on winehq's website and its not working.
What am I doing wrong?
I'm trying to go at this as an actual download then install like you would with windows programs you get online.
I tried to follow the directions on winehq's website and its not working.
What am I doing wrong?
Last edited by Noidly1 on 2024-10-10 00:57, edited 1 time in total.
Re: Having trouble downloading wine.
sudo must be supplied before the other apt commands.
Why are you using a method for installation without internet access? And would it not just be easier to install wine via Debian's package wine?
Why are you using a method for installation without internet access? And would it not just be easier to install wine via Debian's package wine?
Re: Having trouble downloading wine.
I can get it via Apper, Discover and Synaptic. They all have the same version.Uptorn wrote: 2024-09-28 03:24 sudo must be supplied before the other apt commands.
Why are you using a method for installation without internet access? And would it not just be easier to install wine via Debian's package wine?
I went to Winehq website to check it out and according to them, the app will usually be older getting it through app managers.
Since it is harder to go through all the typing and errors, I thought it would easier doing it that way.
You know, it would be a lot easier if these companies would just supply an installer like an .exe, .msi.or a .zip file that you could download and just click setup or install. Heck, a simple apk would be great. j/s...
BTW; I tried to set a repos in the app managers and I got an error. Go figure...
Later I went to do another update and got this
Code: Select all
noid@Laptop:~$ sudo apt update
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Get:3 https://dl.winehq.org/wine-builds/debian bookworm InRelease [8,045 B]
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
Hit:5 http://deb.debian.org/debian bookworm-backports InRelease
Err:3 https://dl.winehq.org/wine-builds/debian bookworm InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Reading package lists... Done
W: GPG error: https://dl.winehq.org/wine-builds/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
noid@Laptop:~$
Re: Having trouble downloading wine.
The public key of the winehq repos is missing. It can be installed like described in https://gitlab.winehq.org/wine/wine/-/w ... repository:
Code: Select all
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
Re: Having trouble downloading wine.
Hmm. the first line worked but, the second line did not.blackbird wrote: 2024-09-28 05:43The public key of the winehq repos is missing. It can be installed like described in https://gitlab.winehq.org/wine/wine/-/w ... repository:
Code: Select all
sudo mkdir -pm755 /etc/apt/keyrings sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
Code: Select all
noid@Laptop:~$ sudo mkdir -pm755 /etc/apt/keyrings
[sudo] password for noid:
noid@Laptop:~$ sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo: wget: command not found
noid@Laptop:~$
Re: Having trouble downloading wine.
If wget isn't installed, you can install it with
If you have downloaded it otherwise and want to copy it, you need admin rights, like
Code: Select all
sudo apt install wget
Code: Select all
sudo cp ~/Downloads/winehq.key /etc/apt/keyrings/winehq-archive.key
Re: Having trouble downloading wine.
I got everything above to work. Yay,,,
Now, getting the i386 thing to work is another problem.
Err..
Wait a Minute, I don't know what I did but I think it worked.
Now I tried to install wine and it was a success then did another update and got this>
I can't find the "mis-spell...
Now, getting the i386 thing to work is another problem.
Err..
Wait a Minute, I don't know what I did but I think it worked.
Code: Select all
oid@Laptop:~$ sudo dpkg --add-architecture i386
[sudo] password for noid:
noid@Laptop:~$
Code: Select all
noid@Laptop:~$ sudo apt update
[sudo] password for noid:
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://dl.winehq.org/wine-builds/debian bookworm InRelease
Hit:5 http://deb.debian.org/debian bookworm-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Skipping acquire of configured file 'winehq-bookworm.sources/binary-all/Packages' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'winehq-bookworm.sources' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'winehq-bookworm.sources/binary-amd64/Packages' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'winehq-bookworm.sources' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'winehq-bookworm.sources/binary-i386/Packages' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'winehq-bookworm.sources' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'winehq-bookworm.sources/i18n/Translation-en_US' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'winehq-bookworm.sources' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'winehq-bookworm.sources/i18n/Translation-en' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'winehq-bookworm.sources' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'winehq-bookworm.sources/dep11/Components-amd64.yml' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'winehq-bookworm.sources' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'winehq-bookworm.sources/dep11/Components-all.yml' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'winehq-bookworm.sources' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'winehq-bookworm.sources/dep11/icons-48x48.tar' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'winehq-bookworm.sources' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'winehq-bookworm.sources/dep11/icons-64x64.tar' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'winehq-bookworm.sources' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'winehq-bookworm.sources/dep11/icons-64x64@2.tar' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'winehq-bookworm.sources' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'winehq-bookworm.sources/dep11/icons-128x128.tar' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'winehq-bookworm.sources' (component misspelt in sources.list?)
noid@Laptop:~$
Code: Select all
noid@Laptop:~$ sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
[sudo] password for noid:
--2024-09-28 20:07:56-- https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
Resolving dl.winehq.org (dl.winehq.org)... 199.232.70.217, 2a04:4e42:51::729
Connecting to dl.winehq.org (dl.winehq.org)|199.232.70.217|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
File ‘/etc/apt/sources.list.d/winehq-bookworm.sources’ not modified on server. Omitting download.
noid@Laptop:~$
Re: Having trouble downloading wine.
You have some wrong configuration. Could you show what files you have in sources.list.d?
Maybe you have now two configuration files, one downloaded with wget and the old that you created in the GUI.
As a quick fix you can correct the section in the GUI, from "winehq..." to "main".
Code: Select all
ls /etc/apt/sources.list.d/
As a quick fix you can correct the section in the GUI, from "winehq..." to "main".
Re: Having trouble downloading wine.
Code: Select all
noid@Laptop:~$ ls /etc/apt/sources.list.d/
winehq-bookworm.sources
noid@Laptop:~$
Re: Having trouble downloading wine.
I changed the switch to source.
Seemed to clean up update a bit from last time but something is still off.
don't know if this might have something to do with it.
Seemed to clean up update a bit from last time but something is still off.
Code: Select all
noid@Laptop:~$ sudo apt update
[sudo] password for noid:
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 https://dl.winehq.org/wine-builds/debian bookworm InRelease
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
Hit:5 http://deb.debian.org/debian bookworm-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Skipping acquire of configured file 'winehq-bookworm.sources/source/Sources' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'winehq-bookworm.sources' (component misspelt in sources.list?)
noid@Laptop:~$ sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
--2024-09-29 20:20:34-- https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
Resolving dl.winehq.org (dl.winehq.org)... 199.232.70.217, 2a04:4e42:51::729
Connecting to dl.winehq.org (dl.winehq.org)|199.232.70.217|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
File ‘/etc/apt/sources.list.d/winehq-bookworm.sources’ not modified on server. Omitting download.
noid@Laptop:~$ sudo apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://deb.debian.org/debian bookworm-backports InRelease
Hit:5 https://dl.winehq.org/wine-builds/debian bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Skipping acquire of configured file 'winehq-bookworm.sources/source/Sources' as repository 'https://dl.winehq.org/wine-builds/debian bookworm InRelease' doesn't have the component 'winehq-bookworm.sources' (component misspelt in sources.list?)
noid@Laptop:~$
Code: Select all
HTTP request sent, awaiting response... 304 Not Modified
File ‘/etc/apt/sources.list.d/winehq-bookworm.sources’ not modified on server. Omitting download.
Re: Having trouble downloading wine.
In the screenshot the "Section(s)" is still "winehq-bookworm.sources" but it should be "main".
You could show the content of the sources file
just to see what's currently configured.
Then you could change the wget without timestamp checking:
and check again the content with the "cat" command above. It should have changed now.
If this don't helps you could remove the sources file and download again
I think these are the most clean solutions, alternatively you change in the GUI the "Section(s)" for the wine line to "main".
You could show the content of the sources file
Code: Select all
cat /etc/apt/sources.list.d/winehq-bookworm.sources
Then you could change the wget without timestamp checking:
Code: Select all
sudo wget -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
If this don't helps you could remove the sources file and download again
Code: Select all
sudo rm /etc/apt/sources.list.d/winehq-bookworm.sources
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
-
- Posts: 1627
- Joined: 2008-02-21 17:03
- Location: Finland
- Has thanked: 1 time
- Been thanked: 85 times
Re: Having trouble downloading wine.
Did you even try Debian version? Got any errors? It would be in many ways cleaner process, like @Uptorn suggested. Yes its is older, but tested for bugs.
And to i386 architecture, I think the best info is https://wiki.debian.org/Multiarch/HOWTO
And to i386 architecture, I think the best info is https://wiki.debian.org/Multiarch/HOWTO
Re: Having trouble downloading wine.
You were right, that worked. Thank you very much.blackbird wrote: 2024-10-02 05:29 In the screenshot the "Section(s)" is still "winehq-bookworm.sources" but it should be "main".
change in the GUI the "Section(s)" for the wine line to "main".
Yes, I did try that and it did install no problems via Discover. Never got a chance to try it to see if it worked.arzgi wrote: 2024-10-02 09:54 Did you even try Debian version? Got any errors? It would be in many ways cleaner process, like @Uptorn suggested. Yes its is older, but tested for bugs.
And to i386 architecture, I think the best info is https://wiki.debian.org/Multiarch/HOWTO
I resized my /root partition to make way for a Data partition, different file system, and had ended up having to scrub /root and start over and reinstall debian.
Re: Having trouble downloading wine.
I finally got up and running. Yay...
Just a Thank You for everyone's help. Mucho Cracias!!!
Just a Thank You for everyone's help. Mucho Cracias!!!
-
- Posts: 1627
- Joined: 2008-02-21 17:03
- Location: Finland
- Has thanked: 1 time
- Been thanked: 85 times
Re: Having trouble downloading wine.
Nice, could you edit the header of your first post in the thread and add [SOLVED] to front of it.
And if you could also tell how you fixed your problem, would be very nice too.
And if you could also tell how you fixed your problem, would be very nice too.
Re: Having trouble downloading wine. SOLVED!
After going back and forth with the settings under Konsol and not getting anywhere, I went into the Synaptic repositories and tried a few things and with the help of "Blackbird", finally found the setup that works.
Below are the correct setting to get all of the files needed to download wine.
Make sure that the box on top is set to "Source (deb-src)" and NOT "Binary (deb)".
Below are the correct setting to get all of the files needed to download wine.
Make sure that the box on top is set to "Source (deb-src)" and NOT "Binary (deb)".
Re: Having trouble downloading wine. SOLVED!
That can't be the correct setting. With deb-src you could only download the sources of wine, not the binary packages. Is it possible you have installed the Wine version from the Debian repository?Noidly1 wrote: 2024-10-10 01:07 Make sure that the box on top is set to "Source (deb-src)" and NOT "Binary (deb)".
Re: Having trouble downloading wine. SOLVED!
Not sure. I just know it worked...blackbird wrote: 2024-10-10 20:44That can't be the correct setting. With deb-src you could only download the sources of wine, not the binary packages. Is it possible you have installed the Wine version from the Debian repository?Noidly1 wrote: 2024-10-10 01:07 Make sure that the box on top is set to "Source (deb-src)" and NOT "Binary (deb)".
I will look into this later.