Author Topic: Expired APT (GPG) Key?  (Read 2442 times)

chrissnell

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Expired APT (GPG) Key?
« on: October 22, 2020, 03:39:01 pm »
I'm getting EXPKEYSIG errors (Signature verification) when I try and update my Zentyal 6.2 server via apt-get update.
My guess it that your repository key has expired?


acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
Re: Expired APT (GPG) Key?
« Reply #1 on: October 22, 2020, 04:24:48 pm »
yeah! same for me in a 6.2 new instalation....

doncamilo

  • Zen Samurai
  • ****
  • Posts: 478
  • Karma: +165/-1
    • View Profile
Re: Expired APT (GPG) Key?
« Reply #2 on: October 22, 2020, 05:44:47 pm »
 :)

As a workaround while fixing:

Edit your /etc/apt/sources.list

Change this line:

Code: [Select]
deb http://packages.zentyal.org/zentyal 6.2 main extra

by this one:

Code: [Select]
deb [trusted=yes] http://packages.zentyal.org/zentyal 6.2 main extra

Afterward:

Code: [Select]
sudo rm /var/lib/apt/lists/packages.zentyal.org_zentyal_dists_6.2_*

Finish with:

Code: [Select]
sudo apt-get update

It will throw a gpg error but the apt will work

Cheers!
« Last Edit: October 22, 2020, 05:56:48 pm by doncamilo »
- Do my pigeons bother you passing over your land?
- They block the sun!

G. Guareschi., Don Camillo.,

webmaster

  • Zentyal Staff
  • Zen Apprentice
  • *****
  • Posts: 32
  • Karma: +2/-1
    • View Profile
Re: Expired APT (GPG) Key?
« Reply #3 on: October 22, 2020, 06:44:36 pm »
Hi all,

It is correct, the key has expired. Please import the new public key from the repository by following these steps:

## You will the following warning: NO_PUBKEY 07BE4CBFFDE85677
sudo apt-get update

## Installing a required package
sudo apt-get install gnupg2

## Downloading the new public key
sudo wget -O - http://keys.zentyal.org/zentyal-6.2-packages-org.asc | sudo apt-key add -

sudo apt-get update

We will publish shortly a new ISO to avoid new installations to be affected by this. Best regards.