Page 1 of 1

MX-15/16 Expired Key

Posted: Sun Jan 20, 2019 9:11 pm
by timkb4cq
Users running MX-15 or MX-16 will encounter this message the next time they update.

Code: Select all

W: GPG error: http://mxrepo.com mx15 InRelease: The following signatures were invalid: KEYEXPIRED 1548008281
The key was created 5 years ago and had expired.
It has now been extended for another 2 years but expired keys don't update automatically. To remove this error and allow updating again, download this updated key:
mx15repo.txt
open a terminal in the directory you downloaded it into and run:

Code: Select all

sudo apt-key add mx15repo.txt
Sorry for the inconvenience.

n.b. For anybody not logged in the updated key can also be downloaded here:
http://teharris.net/mx15repo.asc

Re: MX-15/16 Expired Key

Posted: Sun Jan 20, 2019 9:37 pm
by GuiGuy
Thanks :happy:
But now I must do this on all my other 15/16 installations :frown:

Re: MX-15/16 Expired Key

Posted: Mon Jan 21, 2019 1:56 am
by Utopia
Thanks, worked fine.
Henry

Re: MX-15/16 Expired Key

Posted: Mon Jan 21, 2019 11:16 am
by GuiGuy
Bump.
This thread is vital to anybody running 15/16.
Moderators: is it possible to display it prominently to anybody that accesses the forum?

Re: MX-15/16 Expired Key

Posted: Mon Jan 21, 2019 12:25 pm
by richb
GuiGuy wrote: Mon Jan 21, 2019 11:16 am Bump.
This thread is vital to anybody running 15/16.
Moderators: is it possible to display it prominently to anybody that accesses the forum?
Added to Announcement Banner at top of Index Page.

Re: MX-15/16 Expired Key

Posted: Mon Jan 21, 2019 1:35 pm
by chrispop99
I will link to it from our Facebook page.

Chris

Re: MX-15/16 Expired Key

Posted: Mon Jan 21, 2019 1:57 pm
by mmikeinsantarosa
thanks Tim!

Re: MX-15/16 Expired Key

Posted: Tue Jan 22, 2019 3:18 pm
by nomad
Cheers! :-)

Re: MX-15/16 Expired Key

Posted: Sun Jan 27, 2019 7:22 pm
by joejac
Thanks a lot!
joejac

Re: MX-15/16 Expired Key

Posted: Sun Feb 03, 2019 4:31 am
by xintamosaik
Hi. Thanks for the info. It is a bit unfortunate, that I needed to login to download the file.

Re: MX-15/16 Expired Key

Posted: Sun Mar 17, 2019 10:51 am
by Eadwine Rose
Mennohexo's topic is here: viewtopic.php?f=104&p=491424#p491424

Re: MX-15/16 Expired Key

Posted: Sun Mar 17, 2019 10:57 am
by timkb4cq
This is an expired antiX key. A working antiX keyring is now available in the MX repository so:

Code: Select all

sudo apt-get install antix-archive-keyring
will fix it.

Re: MX-15/16 Expired Key

Posted: Sun Mar 17, 2019 1:19 pm
by timkb4cq
What does

Code: Select all

apt-cache policy antix-archive-keyring
return?

Re: MX-15/16 Expired Key

Posted: Sun Mar 17, 2019 2:26 pm
by mmikeinsantarosa
Mennohexo wrote: Sun Mar 17, 2019 1:36 pm hi friend , i got this message. no sudo

Code: Select all

hans@mx1:~
$ apt-cache policy antix-archive-keyring
antix-archive-keyring:
  Installed: 20019.3.13~mx15
  Candidate: 20019.3.13~mx15
  Version table:
 *** 20019.3.13~mx15 0
        500 http://nl.mxrepo.com/mx/repo/ mx15/main i386 Packages
        100 /var/lib/dpkg/status
     20017.3.14 0
        500 http://nl.mxrepo.com/antix/jessie/ jessie/main i386 Packages
hans@mx1:~
$ 

 
OK. You now have the necessary keyring installed

Code: Select all

Installed: 20019.3.13~mx15
For some reason the nl (New Zealand) mirrors have had issues lately. In MX tools there's an app called Repo Manager.
Run it and switch to a different repo location. Then try a reload and see if that helps.

Re: MX-15/16 Expired Key

Posted: Sun Mar 17, 2019 4:23 pm
by antiX-Dave
That appears to be a different key number.
What are the contents of /etc/apt/sources.list.d/antix.list?

Re: MX-15/16 Expired Key

Posted: Sun Mar 17, 2019 5:09 pm
by antiX-Dave
That mirror is signed using the correct key from the archive keyring deb.
Not certain why your machine is displaying a different key...
Could you run
gpg --list-keys 1552432420
and post the output to see information on the key from your system?

Also after doing so try
rm -r /var/lib/apt/* && apt-get clean all && apt-get update

Re: MX-15/16 Expired Key

Posted: Sun Mar 17, 2019 5:36 pm
by kmathern
antiX-Dave wrote: Sun Mar 17, 2019 5:09 pm That mirror is signed using the correct key from the archive keyring deb.
Not certain why your machine is displaying a different key...
Could you run
gpg --list-keys 1552432420
I don't think "1552432420" is a key, I think it's the time (in seconds since the epoch) when the key expired.
https://www.epochconverter.com/

Re: MX-15/16 Expired Key

Posted: Sun Mar 17, 2019 5:44 pm
by antiX-Dave
Well it expired a few days ago and the epoch date is displaying today? However it would make more sense.
In that case then the new package failed to overwrite the antix-archive-keyring.gpg file...
What does
stat /etc/apt/trusted.gpg.d/antix-archive-keyring.gpg
Show?

Re: MX-15/16 Expired Key

Posted: Sun Mar 17, 2019 6:04 pm
by antiX-Dave
OK well I am not sure how you only have an expired error if the file is not there... I would have thought you would receive a unknown key error. Maybe someone else has an explanation for this.

Anyway
apt-get purge antix-archive-keyring && wget http://repo.antixlinux.com/antix-archiv ... 13_all.deb && dpkg -i antix-archive-keyring_20019-03-13_all.deb && rm antix-archive-keyring_20019-03-13_all.deb

Should remove the installed (but not really) package, download the package, install the package and remove the download.

Re: MX-15/16 Expired Key

Posted: Sun Mar 17, 2019 6:15 pm
by fehlix
antiX-Dave wrote: Sun Mar 17, 2019 6:04 pm OK well I am not sure how you only have an expired error if the file is not there... I would have thought you would receive a unknown key error. Maybe someone else has an explanation for this.
May be this expired key was manually installed sometimes ago into the /etc/apt/trusted.gpg keyring.

Code: Select all

apt-key list 
would tell the truth.
But anyway, downloading the deb and installing will probably sort this.

Re: MX-15/16 Expired Key

Posted: Sun Mar 17, 2019 6:18 pm
by kmathern
antiX-Dave wrote: Sun Mar 17, 2019 6:04 pm OK well I am not sure how you only have an expired error if the file is not there... I would have thought you would receive a unknown key error. Maybe someone else has an explanation for this.
The expired key might be in the /etc/apt/trusted.gpg file instead of in the .d location, the keyring package doesn't install it there though.