Debian Jessie - apt-get Failed to fetch ..
Debian Jessie - apt-get Failed to fetch ..
I read over https://wiki.winehq.org/Debian and followed the steps. When I run "sudo apt-get update", apt returns the following errors
Err https://dl.winehq.org jessie/main amd64 Packages
Err https://dl.winehq.org jessie/main i386 Packages
W: Failed to fetch https://dl.winehq.org/wine-builds/debia ... 4/Packages
W: Failed to fetch https://dl.winehq.org/wine-builds/debia ... 6/Packages
I have double and triple checked everything, but I'm not sure what is going on.
Here is my sources.list
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
deb http://ftp.us.debian.org/debian/ jessie-backports main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie-backports main contrib non-free
deb https://dl.winehq.org/wine-builds/debian/ jessie main
Err https://dl.winehq.org jessie/main amd64 Packages
Err https://dl.winehq.org jessie/main i386 Packages
W: Failed to fetch https://dl.winehq.org/wine-builds/debia ... 4/Packages
W: Failed to fetch https://dl.winehq.org/wine-builds/debia ... 6/Packages
I have double and triple checked everything, but I'm not sure what is going on.
Here is my sources.list
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
deb http://ftp.us.debian.org/debian/ jessie-backports main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie-backports main contrib non-free
deb https://dl.winehq.org/wine-builds/debian/ jessie main
Re: Debian Jessie - apt-get Failed to fetch ..
I'm not entirely sure that covers my issue, and I did see this bug report prior.
The bug report seems to suggest that the user was able to get past the 'apt-get update' part of the guide, but experiences an Error 404 when trying to install using 'apt-get install' due to server side caching issues.
On my side 'apt-get update' doesn't even acknowledge that the repository exists. The error lines I posted in my original topic are from the 'apt-get update' process which would suggest I might have "fat fingered" something during the setup, but when I check over the sources.list, everything seems to be in place.
Before anyone asks, I did download the key. Something 'wget' had complained about was the key being invalid (Unknown Signer), which required a work around.
The bug report seems to suggest that the user was able to get past the 'apt-get update' part of the guide, but experiences an Error 404 when trying to install using 'apt-get install' due to server side caching issues.
On my side 'apt-get update' doesn't even acknowledge that the repository exists. The error lines I posted in my original topic are from the 'apt-get update' process which would suggest I might have "fat fingered" something during the setup, but when I check over the sources.list, everything seems to be in place.
Before anyone asks, I did download the key. Something 'wget' had complained about was the key being invalid (Unknown Signer), which required a work around.
Re: Debian Jessie - apt-get Failed to fetch ..
That doesn't make sense. Wget just downloads the file; it doesn't check the validity of the key. Are you sure it wasn't apt-key complaining?Before anyone asks, I did download the key. Something 'wget' had complained about was the key being invalid (Unknown Signer), which required a work around.
Nobody else has reported needing a "workaround" to install the key and AFAIK you shouldn't need one, so my guess would be something went wrong with that. Try downloading and installing it again.
Re: Debian Jessie - apt-get Failed to fetch ..
Apparently it does in Debian Jessie 8.3 lol.
wget https://dl.winehq.org/wine-builds/Release.key
--2016-03-26 09:11:09-- https://dl.winehq.org/wine-builds/Release.key
Resolving dl.winehq.org (dl.winehq.org)... 23.235.39.69
Connecting to dl.winehq.org (dl.winehq.org)|23.235.39.69|:443... connected.
ERROR: The certificate of ‘dl.winehq.org’ is not trusted.
ERROR: The certificate of ‘dl.winehq.org’ hasn't got a known issuer.
wget https://dl.winehq.org/wine-builds/Release.key
--2016-03-26 09:11:09-- https://dl.winehq.org/wine-builds/Release.key
Resolving dl.winehq.org (dl.winehq.org)... 23.235.39.69
Connecting to dl.winehq.org (dl.winehq.org)|23.235.39.69|:443... connected.
ERROR: The certificate of ‘dl.winehq.org’ is not trusted.
ERROR: The certificate of ‘dl.winehq.org’ hasn't got a known issuer.
Re: Debian Jessie - apt-get Failed to fetch ..
If I use this instead, the certificate downloads without an issue. Although I'm not sure that this had anything to due with the error I'm getting.
I'm not sure what I need to do in order to pull more information, admittedly I haven't used Linux other than experimenting with it in the past.
Code: Select all
wget --no-check-certificate https://dl.winehq.org/wine-builds/Release.key
Re: Debian Jessie - apt-get Failed to fetch ..
Wget doesn't do that when I download the key on openSUSE, and no other Debian user has reported this as a problem. Maybe you need to update the certificates on your system?
Re: Debian Jessie - apt-get Failed to fetch ..
Well it seems that was the start of my issues. I was missing ca-certificates from the Debian repository, something that was not automatically installed during a minimal setup of Debian 8 + Gnome. After I installed the ca-certificates and OpenSSL package I was able to issue update-ca-certificates which fixed the issue. It seems that was also causing a problem with apt-get.