Hi @Thomas Schmitt

Received below error. Any other way to download the keys?

root@policijas-db:~# for K in $(apt-key list | grep expired | cut -d'/' -f2 | 
cut -d' ' -f1); do sudo apt-key adv --recv-keys --keyserver 
keyserver.ubuntu.com $K; done
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring 
--secret-keyring /tmp/tmp.3r9by2p9YX --trustdb-name /etc/apt//trustdb.gpg 
--keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --recv-keys 
--keyserver keyserver.ubuntu.com 473041FA
gpg: requesting key 473041FA from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring 
--secret-keyring /tmp/tmp.0KzcVB1oX0 --trustdb-name /etc/apt//trustdb.gpg 
--keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --recv-keys 
--keyserver keyserver.ubuntu.com B98321F9
gpg: requesting key B98321F9 from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring 
--secret-keyring /tmp/tmp.Ru0lGoWogc --trustdb-name /etc/apt//trustdb.gpg 
--keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --recv-keys 
--keyserver keyserver.ubuntu.com 46925553
gpg: requesting key 46925553 from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring 
--secret-keyring /tmp/tmp.EsJLGTUW7L --trustdb-name /etc/apt//trustdb.gpg 
--keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring 
/etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --recv-keys 
--keyserver keyserver.ubuntu.com 65FFB764
gpg: requesting key 65FFB764 from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error

Regards,
Aravinth kumar
Linux Admin - Infrastructure operations


-----Original Message-----
From: Thomas Schmitt <[email protected]>
Sent: Tuesday, August 9, 2022 10:56 PM
To: [email protected]
Cc: Aravinth kumar Anbalagan <[email protected]>
Subject: RE: Need working repo for Deb7 - wheezy

Hi,

Aravinth kumar Anbalagan wrote:
> W: GPG error:
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Farchi
> ve.debian.org%2F&amp;data=05%7C01%7Caravinth.anbalagan%40tele2.com%7Cc
> 62585afa67040bc7c7408da7a2c0d61%7C76431109ff8942c28781a07ca07a2d57%7C0
> %7C0%7C637956627431950382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAi
> LCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&amp;sda
> ta=U7DXU4mhsCBHe5AKZQwX6tUSwN2EsIxWxvx9xvBjGu4%3D&amp;reserved=0
> squeeze Release: The following signatures were invalid: KEYEXPIRED
> 1520281423 KEYEXPIRED 1501892461
> W: GPG error:
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Farchi
> ve.debian.org%2F&amp;data=05%7C01%7Caravinth.anbalagan%40tele2.com%7Cc
> 62585afa67040bc7c7408da7a2c0d61%7C76431109ff8942c28781a07ca07a2d57%7C0
> %7C0%7C637956627431950382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAi
> LCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&amp;sda
> ta=U7DXU4mhsCBHe5AKZQwX6tUSwN2EsIxWxvx9xvBjGu4%3D&amp;reserved=0
> squeeze-lts Release: The following signatures were invalid: KEYEXPIRED
> 1587841717

  $ date -u -d @1520281423 ; date -u -d @1501892461 ; date -u -d @1587841717
  Mon Mar  5 20:23:43 UTC 2018
  Sat Aug  5 00:21:01 UTC 2017
  Sat Apr 25 19:08:37 UTC 2020

Maybe this 13 year old trick still works:
  
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fserverfault.com%2Fquestions%2F7145%2Fwhat-should-i-do-when-i-got-the-keyexpired-error-message-after-an-apt-get-update&amp;data=05%7C01%7Caravinth.anbalagan%40tele2.com%7Cc62585afa67040bc7c7408da7a2c0d61%7C76431109ff8942c28781a07ca07a2d57%7C0%7C0%7C637956627431950382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&amp;sdata=oxwqkUTw6bPLMzbI7%2F3p1jUSOT77%2BWzY1s%2FIHAK82Bg%3D&amp;reserved=0
The --keyserver keys.gnupg.net is dead meanwhile. Try keyserver.ubuntu.com 
instead.

Maybe somebody else with more GPG and/or Debian knowledge can deciper
  
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.debian.org%2FSecureApt&amp;data=05%7C01%7Caravinth.anbalagan%40tele2.com%7Cc62585afa67040bc7c7408da7a2c0d61%7C76431109ff8942c28781a07ca07a2d57%7C0%7C0%7C637956627431950382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&amp;sdata=XU7%2F7HGxl%2Bq72ReqM5xCr1xg4rApIoNBK4ejQR6kUQc%3D&amp;reserved=0
  
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fftp-master.debian.org%2Fkeys.html&amp;data=05%7C01%7Caravinth.anbalagan%40tele2.com%7Cc62585afa67040bc7c7408da7a2c0d61%7C76431109ff8942c28781a07ca07a2d57%7C0%7C0%7C637956627431950382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&amp;sdata=SOeUjfMnTG5VCv%2FBANP8lA8utWHUorOpHHFo0Msbaxk%3D&amp;reserved=0


Aravinth kumar Anbalagan's mail client wrote in a quote:
> > > deb https://eur01.safelinks.protection.outlook.com/?url=...

Greg Wooledge wrote:
> You are inside a corporate setting.  Very, very corporate.

This is probably on the level of the mail client, not of the network.
Microsoft Corp. installs itself between its Outlook users and the world.
Whenever the cloud thinks that the world is bad, the user gets warned.
See
  
https://support.microsoft.com/en-us/office/advanced-outlook-com-security-for-microsoft-365-subscribers-882d2243-eab9-4545-a58a-b36fee4a46e2?ui=en-us&rs=en-us&ad=us
  
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsecurity.stackexchange.com%2Fquestions%2F230309%2Fis-a-safelinks-protection-outlook-com-link-phishing&amp;data=05%7C01%7Caravinth.anbalagan%40tele2.com%7Cc62585afa67040bc7c7408da7a2c0d61%7C76431109ff8942c28781a07ca07a2d57%7C0%7C0%7C637956627431950382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&amp;sdata=PK1CUCamXz0dkQxJhZPmJQamwUgop0QdsKJ7JfVj2Fo%3D&amp;reserved=0


Have a nice day :)

Thomas

******** IMPORTANT NOTICE ********
The content of this e-mail is intended for the addressee(s) only and may 
contain information that is confidential and/or otherwise protected from 
disclosure. If you are not the intended recipient, please note that any 
copying, distribution or any other use or dissemination of the information 
contained in this e-mail (and its attachments) is strictly prohibited. If you 
have received this e-mail in error, kindly notify the sender immediately by 
replying to this e-mail and delete the e-mail and any copies thereof.

Tele2 AB (publ) and its subsidiaries (“Tele2 Group”) accepts no responsibility 
for the consequences of any viruses, corruption or other interference 
transmitted by e-mail.

Reply via email to