Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

After update today (2010-02-04)

Started by BaukeP, February 04, 2020, 04:35:23 PM

Previous topic - Next topic

BaukeP

Hello,
I got the following error:
Ophalen van https://repo.sparkylinux.org/dists/core/InRelease is mislukt  De volgende ondertekeningen konden niet geverifieerd worden omdat de publieke sleutel niet beschikbaar is: NO_PUBKEY 5CA76B26C40956B8

Server problems? How to solve this?

Bauke

lami07

Quote from: forum rulesWhen an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at [url="//irc.freenode.net"]irc.freenode.net[/url]

BaukeP


lami07

Quote from: forum rulesWhen an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at [url="//irc.freenode.net"]irc.freenode.net[/url]

penguin

#4
First of all. I wrote a lot and I lost everything by a wrong key combination. I will write it again (pavroo can be a solution for that ?)

Some minutes before I decided to get the new Sparky key. Before it I made a little maintenance to delete old keys. I useful tut is here :

https://unix.stackexchange.com/questions/420961/how-to-identify-gpg-key-ids-so-they-may-be-deleted

So. In the terminal I wrote

wget -O - https://repo.sparkylinux.org/sparky.gpg.key | sudo apt-key add - and I get

wget -O - https://repo.sparkylinux.org/sparky.gpg.key | sudo apt-key add -
--2020-02-04 20:59:29--  https://repo.sparkylinux.org/sparky.gpg.key
Resolving repo.sparkylinux.org (repo.sparkylinux.org)... [sudo] password for penguin:
193.107.89.176
Connecting to repo.sparkylinux.org (repo.sparkylinux.org)|193.107.89.176|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1794 (1.8K) [application/octet-stream]
Saving to: %u2018STDOUT%u2019

-                   100%[===================>]   1.75K  --.-KB/s    in 0s     

2020-02-04 20:59:29 (62.3 MB/s) - written to stdout [1794/1794]




To resolve this I applied in terminal sudo apt update in a new terminal window (sparky get password) and another time the above described command.

This time I get :

wget -O - https://repo.sparkylinux.org/sparky.gpg.key | sudo apt-key add - and I get


--2020-02-04 20:59:29--  https://repo.sparkylinux.org/sparky.gpg.key
Resolving repo.sparkylinux.org (repo.sparkylinux.org)... [sudo] password for penguin:
193.107.89.176
Connecting to repo.sparkylinux.org (repo.sparkylinux.org)|193.107.89.176|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1794 (1.8K) [application/octet-stream]
Saving to: %u2018STDOUT%u2019

-                   100%[===================>]   1.75K  --.-KB/s    in 0s     

2020-02-04 20:59:29 (62.3 MB/s) - written to stdout [1794/1794]

Sorry, try again.
[sudo] password for penguin:
OK


Seems OK.

sudo apt-key list and I found the new gpg key for Sparky

pub   rsa2048 2020-02-04 [SC]
      2517 567C 1379 75AC 9230  0A38 5CA7 6B26 C409 56B8
uid           [ unknown] Pawe%u0142 Pijanowski (SparkyLinux repository public key) <pavroo@onet.eu>
sub   rsa2048 2020-02-04 [E]


Re applying

sudo apt update

and I get :

sudo apt update
[sudo] password for penguin:
Hit:1 http://ftp.debian.org/debian buster InRelease
Hit:2 https://deb.opera.com/opera-stable stable InRelease                     
Hit:3 http://security.debian.org buster/updates InRelease                     
Hit:4 http://www.deb-multimedia.org buster InRelease                           
Hit:5 https://repo.sparkylinux.org core InRelease                             
Get:6 https://repo.sparkylinux.org stable InRelease [6,540 B]                 
Hit:7 https://repo.skype.com/deb stable InRelease                             
Err:6 https://repo.sparkylinux.org stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1CE63BD7D117204E
Fetched 6,540 B in 1s (4,386 B/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.sparkylinux.org stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1CE63BD7D117204E
W: [b]Failed to fetch https://repo.sparkylinux.org/dists/stable/InRelease[/b]  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1CE63BD7D117204E
W: Some index files failed to download. They have been ignored, or old ones used instead.



Emphasizing ...



W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used.
GPG error: https://repo.sparkylinux.org stable InRelease:
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1CE63BD7D117204E

W: Failed to fetch https://repo.sparkylinux.org/dists/stable/InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1CE63BD7D117204E



my repos :

grep ^[^#] /etc/apt/sources.list /etc/apt/sources.list.d/*
/etc/apt/sources.list:deb http://ftp.debian.org/debian/ buster non-free contrib main
/etc/apt/sources.list:deb-src http://ftp.debian.org/debian/ buster main contrib non-free
/etc/apt/sources.list:deb http://security.debian.org/ buster/updates main contrib non-free
/etc/apt/sources.list:deb-src http://security.debian.org/ buster/updates main contrib non-free
/etc/apt/sources.list:deb http://www.deb-multimedia.org/ buster main non-free
/etc/apt/sources.list.d/opera-stable.list:deb https://deb.opera.com/opera-stable/ stable non-free
/etc/apt/sources.list.d/skype-stable.list:deb [arch=amd64] https://repo.skype.com/deb/ stable main
/etc/apt/sources.list.d/sparky-stable.list:deb https://repo.sparkylinux.org/ core main
/etc/apt/sources.list.d/sparky-stable.list:deb-src https://repo.sparkylinux.org/ core main
/etc/apt/sources.list.d/sparky-stable.list:deb https://repo.sparkylinux.org/ stable main
/etc/apt/sources.list.d/sparky-stable.list:deb-src https://repo.sparkylinux.org/ stable main


how to resolve this problem ???

I run Sparky 5.1 Stable XFCE.



pavroo

Download and install the old key too:
wget -O - https://repo.sparkylinux.org/sparkylinux.gpg.key | sudo apt-key add -
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

penguin

#6
Quote from: pavroo on February 04, 2020, 11:30:25 PM
Download and install the old key too:
wget -O - https://repo.sparkylinux.org/sparkylinux.gpg.key | sudo apt-key add -

Morning pavroo.

I arrived to install both keys in another machine. I am not very sure what the hell I have done yesterday in the machine that I have tried, but I will come back to it immediately after this post.

So... definitely

Applyin the follow command in terminal :
wget -O - https://repo.sparkylinux.org/sparky.gpg.key | sudo apt-key add - and I get

stops and did not finnished as follow:

wget -O - https://repo.sparkylinux.org/sparky.gpg.key | sudo apt-key add -
--2020-02-04 20:59:29--  https://repo.sparkylinux.org/sparky.gpg.key
Resolving repo.sparkylinux.org (repo.sparkylinux.org)... [sudo] password for penguin:
193.107.89.176
Connecting to repo.sparkylinux.org (repo.sparkylinux.org)|193.107.89.176|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1794 (1.8K) [application/octet-stream]
Saving to: %u2018STDOUT%u2019

-                   100%[===================>]   1.75K  --.-KB/s    in 0s     

2020-02-04 20:59:29 (62.3 MB/s) - written to stdout [1794/1794]




So. I downloaded new Sparky key in the follow link:

https://repo.sparkylinux.org/pool/main/s/sparky-keyring/sparky-keyring_20200204_all.deb

and installed as explained here :

Sparky public key (new key, starting from Feb 4, 2020):
Download the Sparky's Public Key as a deb package from: sparky-keyring directory
Then install it:
sudo dpkg -i /path/to/sparky-keyring_VERSION_all.deb
sudo apt-key add /usr/share/keyrings/sparky.gpg.key


under this link :

https://repo.sparkylinux.org

In the terminal applying command sudo apt-key list I am able to see both keys :


pub   rsa2048 2014-02-16 [SC]
      9F5C DA37 669C 2169 73D7  71F6 1CE6 3BD7 D117 204E
uid           [ unknown] SparkyLinux (SparkyLinux public key) <pavroo@onet.eu>
sub   rsa2048 2014-02-16 [E]

pub   rsa2048 2020-02-04 [SC]
      2517 567C 1379 75AC 9230  0A38 5CA7 6B26 C409 56B8
uid           [ unknown] Pawe%u0142 Pijanowski (SparkyLinux repository public key) <pavroo@onet.eu>
sub   rsa2048 2020-02-04 [E]



+++++++++++++++++++++++++++++++++++++

For all folks that cannot arrive to add key by command

wget -O - https://repo.sparkylinux.org/sparky.gpg.key | sudo apt-key add -

That means import key from console output, you can import key or as I have explained some lines over or simply as follow:

Open terminal and apply command :

wget https://repo.sparkylinux.org/sparky.gpg.key

that saves the new Sparky key, or

wget https://repo.sparkylinux.org/sparkylinux.gpg.key

that saves the old Sparky key.

Now just install key that you have downloaded :

the new Sparky key

sudo apt-key add sparky.gpg.key && sudo apt-key add /usr/share/keyrings/sparky.gpg.key

or the old Sparky key

sudo apt-key add sparkylinux.gpg.key && sudo apt-key add /usr/share/keyrings/sparkylinux.gpg.key

++++++++++++++++++++++++++++++++++++++

Thank you pavroo, for your time and effort.

View the most recent posts on the forum