Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Stretch repository error

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
HarborView
Posts: 41
Joined: 2014-02-01 02:21
Location: The Space Coast of the USA

Stretch repository error

#1 Post by HarborView »

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.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Stretch repository error

#2 Post by pylkko »

The URL is wrong. You have http in place of ftp in the URL itself.

HarborView
Posts: 41
Joined: 2014-02-01 02:21
Location: The Space Coast of the USA

Re: Stretch repository error

#3 Post by HarborView »

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.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Stretch repository error

#4 Post by pylkko »

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

HarborView
Posts: 41
Joined: 2014-02-01 02:21
Location: The Space Coast of the USA

[SOLVED] Stretch repository error

#5 Post by HarborView »

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.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Stretch repository error

#6 Post by GarryRicketson »

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/pkgrepo ... t=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.

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

Re: Stretch repository error

#7 Post by shvman »

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

#8 Post by shvman »

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.

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Stretch repository error

#9 Post by Bulkley »

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.

HarborView
Posts: 41
Joined: 2014-02-01 02:21
Location: The Space Coast of the USA

Re: Stretch repository error

#10 Post by HarborView »

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.

luedtke
Posts: 4
Joined: 2017-08-12 19:39

Re: Stretch repository error

#11 Post by luedtke »

@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/bugrepo ... bug=866765 and https://bugs.debian.org/cgi-bin/bugrepo ... bug=864640 )

Post Reply