Missing GPG keys, tried averything

If none of the more specific forums is the right place to ask

Missing GPG keys, tried averything

Postby daniek » 2018-10-08 12:15

Hello friends,

While doing an update I get the following output: (the important part is in the bottom)

Code: Select all
Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
Ign:2 http://deb.debian.org/debian stretch InRelease   
Get:3 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Ign:1 http://security.debian.org stretch/updates InRelease           
Ign:3 http://deb.debian.org/debian stretch-updates InRelease   
Get:4 http://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://deb.debian.org/debian stretch Release.gpg [2,434 B]
Ign:5 http://deb.debian.org/debian stretch Release.gpg
Get:7 http://deb.debian.org/debian stretch/main Sources [6,758 kB]
Get:7 http://deb.debian.org/debian stretch/main Sources [6,758 kB]
Get:11 http://deb.debian.org/debian stretch/main amd64 Packages [7,099 kB]     
Hit:6 http://deb.debian.org/debian stretch/non-free Sources                   
Hit:7 http://deb.debian.org/debian stretch/main Sources                       
Hit:10 http://deb.debian.org/debian stretch/contrib Sources                   
Ign:6 http://deb.debian.org/debian stretch/non-free Sources                   
Ign:7 http://deb.debian.org/debian stretch/main Sources                       
Ign:10 http://deb.debian.org/debian stretch/contrib Sources                   
Hit:11 http://deb.debian.org/debian stretch/main amd64 Packages               
Hit:13 http://deb.debian.org/debian stretch/main Translation-en               
Hit:14 http://deb.debian.org/debian stretch/main amd64 DEP-11 Metadata         
Hit:15 http://deb.debian.org/debian stretch/contrib amd64 Packages             
Ign:11 http://deb.debian.org/debian stretch/main amd64 Packages               
Hit:16 http://deb.debian.org/debian stretch/contrib Translation-en             
Ign:13 http://deb.debian.org/debian stretch/main Translation-en               
Hit:17 http://deb.debian.org/debian stretch/contrib amd64 DEP-11 Metadata     
Hit:18 http://deb.debian.org/debian stretch/non-free amd64 Packages           
Ign:14 http://deb.debian.org/debian stretch/main amd64 DEP-11 Metadata         
Ign:15 http://deb.debian.org/debian stretch/contrib amd64 Packages             
Ign:16 http://deb.debian.org/debian stretch/contrib Translation-en             
Ign:17 http://deb.debian.org/debian stretch/contrib amd64 DEP-11 Metadata     
Ign:18 http://deb.debian.org/debian stretch/non-free amd64 Packages           
Hit:19 http://deb.debian.org/debian stretch/non-free Translation-en           
Hit:20 http://deb.debian.org/debian stretch/non-free amd64 DEP-11 Metadata     
Ign:19 http://deb.debian.org/debian stretch/non-free Translation-en           
Ign:20 http://deb.debian.org/debian stretch/non-free amd64 DEP-11 Metadata     
Hit:6 http://deb.debian.org/debian stretch/non-free Sources                   
Ign:6 http://deb.debian.org/debian stretch/non-free Sources                   
Hit:7 http://deb.debian.org/debian stretch/main Sources                       
Hit:10 http://deb.debian.org/debian stretch/contrib Sources                   
Hit:11 http://deb.debian.org/debian stretch/main amd64 Packages               
Hit:13 http://deb.debian.org/debian stretch/main Translation-en               
Ign:7 http://deb.debian.org/debian stretch/main Sources                       
Ign:10 http://deb.debian.org/debian stretch/contrib Sources                   
Ign:11 http://deb.debian.org/debian stretch/main amd64 Packages               
Ign:13 http://deb.debian.org/debian stretch/main Translation-en               
Hit:14 http://deb.debian.org/debian stretch/main amd64 DEP-11 Metadata         
Hit:15 http://deb.debian.org/debian stretch/contrib amd64 Packages             
Hit:16 http://deb.debian.org/debian stretch/contrib Translation-en             
Ign:14 http://deb.debian.org/debian stretch/main amd64 DEP-11 Metadata         
Ign:15 http://deb.debian.org/debian stretch/contrib amd64 Packages             
Ign:16 http://deb.debian.org/debian stretch/contrib Translation-en             
Hit:17 http://deb.debian.org/debian stretch/contrib amd64 DEP-11 Metadata     
Hit:18 http://deb.debian.org/debian stretch/non-free amd64 Packages           
Ign:17 http://deb.debian.org/debian stretch/contrib amd64 DEP-11 Metadata     
Ign:18 http://deb.debian.org/debian stretch/non-free amd64 Packages           
Hit:19 http://deb.debian.org/debian stretch/non-free Translation-en           
Hit:20 http://deb.debian.org/debian stretch/non-free amd64 DEP-11 Metadata     
Ign:19 http://deb.debian.org/debian stretch/non-free Translation-en           
Ign:20 http://deb.debian.org/debian stretch/non-free amd64 DEP-11 Metadata     
Ign:7 http://deb.debian.org/debian stretch/main Sources                       
Ign:11 http://deb.debian.org/debian stretch/main amd64 Packages               
Err:13 http://deb.debian.org/debian stretch/main Translation-en               
  BZ2_bzread: /var/lib/apt/lists/partial/deb.debian.org_debian_dists_stretch_main_i18n_Translation-en.bz2 Read error (-5: DATA_ERROR_MAGIC)
Hit:14 http://deb.debian.org/debian stretch/main amd64 DEP-11 Metadata         
Hit:15 http://deb.debian.org/debian stretch/contrib amd64 Packages
Ign:16 http://deb.debian.org/debian stretch/contrib Translation-en
Hit:17 http://deb.debian.org/debian stretch/contrib amd64 DEP-11 Metadata
Hit:18 http://deb.debian.org/debian stretch/non-free amd64 Packages
Ign:19 http://deb.debian.org/debian stretch/non-free Translation-en
Hit:20 http://deb.debian.org/debian stretch/non-free amd64 DEP-11 Metadata
Hit:6 http://deb.debian.org/debian stretch/non-free Sources
Ign:7 http://deb.debian.org/debian stretch/main Sources
Hit:10 http://deb.debian.org/debian stretch/contrib Sources
Fetched 188 kB in 12s (14.6 kB/s)
Reading package lists... Done
W: GPG error: http://security.debian.org stretch/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553
W: The repository 'http://security.debian.org stretch/updates InRelease' is not signed.
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: GPG error: http://deb.debian.org/debian stretch-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
W: The repository 'http://deb.debian.org/debian stretch-updates InRelease' is not signed.
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: GPG error: http://deb.debian.org/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500
W: The repository 'http://deb.debian.org/debian stretch Release' is not signed.
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.
E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/i18n/Translation-en  BZ2_bzread: /var/lib/apt/lists/partial/deb.debian.org_debian_dists_stretch_main_i18n_Translation-en.bz2 Read error (-5: DATA_ERROR_MAGIC)
E: Some index files failed to download. They have been ignored, or old ones used instead.


I tried everything I could find. re-download those keys and what not, yet it doesn't help.

What are your suggestions?

Cheers :)
daniek
 
Posts: 9
Joined: 2018-10-08 12:07

Re: Missing GPG keys, tried averything

Postby L_V » 2018-10-08 13:09

Hi,
What is the ouput of:
Code: Select all
grep ^deb /etc/apt/sources.list

And can you try:
Code: Select all
# cd /tmp
# apt download debian-archive-keyring
# dpkg -i debian-archive-keyring*.deb
# apt update
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: Missing GPG keys, tried averything

Postby daniek » 2018-10-08 13:21

L_V wrote:Hi,
What is the ouput of:
Code: Select all
grep ^deb /etc/apt/sources.list

And can you try:
Code: Select all
# cd /tmp
# apt download debian-archive-keyring
# dpkg -i debian-archive-keyring*.deb
# apt update


Thank you for responding.

I get the following output:

Code: Select all
deb http://deb.debian.org/debian/ stretch main contrib non-free
deb-src http://deb.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb http://security.debian.org stretch/updates InRelease
deb http://deb.debian.org/debian/ stretch-updates main contrib non-free
deb http://deb.debian.org/debian stretch Release


What you suggested didn't work since it needs to authenticate the .deb file.
daniek
 
Posts: 9
Joined: 2018-10-08 12:07

Re: Missing GPG keys, tried averything

Postby L_V » 2018-10-08 13:25

something unclear: what are those lines in your sources.list ?
Code: Select all
deb http://security.debian.org stretch/updates InRelease
deb http://deb.debian.org/debian stretch Release
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: Missing GPG keys, tried averything

Postby daniek » 2018-10-08 13:30

L_V wrote:something unclear: what are those lines in your sources.list ?
Code: Select all
deb http://security.debian.org stretch/updates InRelease
deb http://deb.debian.org/debian stretch Release


No idea, it's quite a fresh installation. didn't touch a thing yet.
daniek
 
Posts: 9
Joined: 2018-10-08 12:07

Re: Missing GPG keys, tried averything

Postby L_V » 2018-10-08 13:33

It will probably not solve your problem, but I would advise starting by this:
Code: Select all
# sed -i '/Release/d' /etc/apt/sources.list
# apt update
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: Missing GPG keys, tried averything

Postby daniek » 2018-10-08 13:36

L_V wrote:It will probably not solve your problem, but I would advise starting by this:
Code: Select all
# sed -i '/Release/d' /etc/apt/sources.list
# apt update




same output. what next?
I always have troubles with apt. maybe I should go back to manjaro.
daniek
 
Posts: 9
Joined: 2018-10-08 12:07

Re: Missing GPG keys, tried averything

Postby L_V » 2018-10-08 13:39

daniek wrote:I always have troubles with apt. maybe I should go back to manjaro.
?? You mean apt from "manjaro" is different ?
Code: Select all
# dpkg-reconfigure apt
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: Missing GPG keys, tried averything

Postby daniek » 2018-10-08 13:42

L_V wrote:
daniek wrote:I always have troubles with apt. maybe I should go back to manjaro.
?? You mean apt from "manjaro" is different ?
Code: Select all
# dpkg-reconfigure apt


Didn't help either.

Manjaro is based on arch. uses pacman.
daniek
 
Posts: 9
Joined: 2018-10-08 12:07

Re: Missing GPG keys, tried averything

Postby L_V » 2018-10-08 13:45

Looks like something went wrong during install. Last idea:
Code: Select all
# rm /var/cache/apt/archives/partial/*
# apt update

+ is your network correctly working ???
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: Missing GPG keys, tried averything

Postby daniek » 2018-10-08 13:47

L_V wrote:Looks like something went wrong during install. Last idea:
Code: Select all
# rm /var/cache/apt/archives/partial/*
# apt update

+ is your network correctly working ???


no such files or directories.
daniek
 
Posts: 9
Joined: 2018-10-08 12:07

Re: Missing GPG keys, tried averything

Postby L_V » 2018-10-08 13:51

This does not say if your network is working (or assuming you post from the PC having these apt troubles ? / suppose so if you downloaded debian-archive-keyring deb package, but to confirm)
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: Missing GPG keys, tried averything

Postby daniek » 2018-10-08 13:54

L_V wrote:This does not say if your network is working (or assuming you post from the PC having these apt troubles ?)


I'm sorry. missed that. Yes I have networking and using the computer with the apt troubles.
daniek
 
Posts: 9
Joined: 2018-10-08 12:07

Re: Missing GPG keys, tried averything

Postby L_V » 2018-10-08 13:55

How did you install Stretch ?
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: Missing GPG keys, tried averything

Postby daniek » 2018-10-08 13:58

L_V wrote:How did you install Stretch ?


Normal installation. with disk 1. (full, not minimal).
daniek
 
Posts: 9
Joined: 2018-10-08 12:07

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable