Stretch repository error

Help with issues regarding installation of Debian

Stretch repository error

Postby HarborView » 2017-07-16 10:37

I get this when I use Synaptic to load indexes from the Stretch repository:

Code: Select all
W: There is no public key available for the following key IDs:
EF0F382A1A7B6500


That is produced from /etc/apt/sources.list which has deb http://http.us.debian.org/debian/ stretch main .

I get a similar message from this line deb-src http://http.us.debian.org/debian/ stretch main .

My intent is (for the first time) to upgrade thru Synaptic.
HarborView
 
Posts: 38
Joined: 2014-02-01 02:21
Location: The Space Coast of the USA

Re: Stretch repository error

Postby pylkko » 2017-07-16 13:05

The URL is wrong. You have http in place of ftp in the URL itself.
User avatar
pylkko
 
Posts: 1174
Joined: 2014-11-06 19:02

Re: Stretch repository error

Postby HarborView » 2017-07-17 12:06

http appears twice. Which one is incorrect? You did not give an example. Also, I did not get a 404 error. I got a public key encryption error.
HarborView
 
Posts: 38
Joined: 2014-02-01 02:21
Location: The Space Coast of the USA

Re: Stretch repository error

Postby pylkko » 2017-07-17 16:07

HarborView wrote:http appears twice. Which one is incorrect? You did not give an example. Also, I did not get a 404 error. I got a public key encryption error.
see
https://wiki.debian.org/SourcesList



I think that when the ftp mirrors were ended they were replaced with http://ftp.debian.org. So I just assumed, wrongly, that you had replaced the two ftp instances with http.
However, http://http.us...does appear to work and is a valid mirror. It also has the stretch release.gpg

Interesting. Try the URL in the wiki though
Code: Select all
deb  http://deb.debian.org/debian stretch main


Does it work with apt just fine?

For keys see:
https://ftp-master.debian.org/keys.html

What does
Code: Select all
apt-key list
say?

You could try to get rid of the keyring
Code: Select all
rm /etc/apt/trusted.gpg
apt-key update

Or manually install it with
Code: Select all
apt-key adv --keyserver SITE --recv-keys NUMBER
User avatar
pylkko
 
Posts: 1174
Joined: 2014-11-06 19:02

[SOLVED] Stretch repository error

Postby HarborView » 2017-07-25 12:41

The problem was as I originally stated.

Debian had not updated its security certificates for a number of days. The .deb files for Stretch would download but Synaptic reported a security warning. I am not going to install an insecure OS.

I merely posted to inform them of the error.
HarborView
 
Posts: 38
Joined: 2014-02-01 02:21
Location: The Space Coast of the USA

Re: Stretch repository error

Postby GarryRicketson » 2017-07-25 13:57

HarborView »I merely posted to inform them of the error.

Who is "them" ? In any event "they" do not usually look at this forum
for bug reports or errors,...we are all just Debian Users, and not involved with the repositories and packaging.
Maybe : https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=synaptic;dist=unstable
Maintainers for synaptic are Michael Vogt <mvo@debian.org>.

You might like to refer to the synaptic package page, to the Package Tracking System, or to the source package src:synaptic's bug page.

If you find a bug not listed here, please report it.
User avatar
GarryRicketson
 
Posts: 4352
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Stretch repository error

Postby shvman » 2017-07-29 14:33

I have a similar problem, but may have an additional one as well. I recently installed Stretch from scratch. When I update using either Synaptic or apt-get update, I get the following:

W: http://security.debian.org/dists/stretc ... /InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: The repository 'http://deb.debian.org/debian stretch/updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: http://ftp.us.debian.org/debian/dists/s ... /InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://ftp.us.debian.org/debian/dists/s ... elease.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
E: Failed to fetch http://deb.debian.org/debian/dists/stre ... ce/Sources 404 Not Found [IP: 151.101.0.204 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.


I found that debian-keyring had not been installed but that debian-keyring-archive was installed. I fixed that. I also tried removing /etc/apt/trusted.gpg.

I guess I could attempt another install, but would like to avoid it if at all possible.

Thanks.
shvman
 
Posts: 5
Joined: 2017-07-25 17:46

Re: Stretch repository error

Postby shvman » 2017-07-30 00:23

OK. What seems to have fixed my problem(s) is to remake my sources.list file. I found a list of the major repositories on the Debian Wiki and entered those into a new file. Updated with "apt-get update" and no errors.

I will definitely stay away from Synaptic. I'm not absolutely sure that that's the problem, but I'll update via terminal from now on.

Hope this helps someone.
shvman
 
Posts: 5
Joined: 2017-07-25 17:46

Re: Stretch repository error

Postby Bulkley » 2017-07-30 00:29

shvman wrote:I will definitely stay away from Synaptic. I'm not absolutely sure that that's the problem, but I'll update via terminal from now on.


Good stuff. Synaptic has its uses but also its limitations. It is about control. You need to be able to control your system which is much easier with a terminal.
Bulkley
 
Posts: 5319
Joined: 2006-02-11 18:35

Re: Stretch repository error

Postby HarborView » 2017-07-31 13:43

Bulkley wrote:Good stuff. Synaptic has its uses but also its limitations. It is about control. You need to be able to control your system which is much easier with a terminal.


I chose Synaptic this time for several reasons.

(1) Experiment. I'll post how it works.
(2) I have a compromised wifii. It is shared, it is not fast, and it times me out randomly -- for 20 minutes to 3 hours.

So I spent a night and an evening watching a movie series and tending to it when I wanted a break. I moved all the package files from /var/cache/apt/archives to a place in my data partition. Someday when I am feeling sufficiently rested and have a space of time I will move it back, update it, and install.
HarborView
 
Posts: 38
Joined: 2014-02-01 02:21
Location: The Space Coast of the USA

Re: Stretch repository error

Postby luedtke » 2017-08-14 17:48

@shvman:
Could you be more explicit about how to "remake my sources.list file"?
When you subsequently updated with "apt-get update": Were there still valid PGP-keys, against which the updates could be verified? Who signed the updates?

(By the way, there is a similar issue http://forums.debian.net/viewtopic.php?f=5&t=133569
and bug reports https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866765 and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864640 )
luedtke
 
Posts: 4
Joined: 2017-08-12 19:39


Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable