Page 1 of 4
EXPKEYSIG error and fix
Posted: Wed Mar 13, 2019 8:35 am
by anticapitalista
For those users getting the EXPKEYSIG error.
Method 1:
3 steps, in a terminal
1.
Code: Select all
wget 'https://download.tuxfamily.org/antix/releases/antix-archive-keyring.asc'
or
Code: Select all
wget 'http://repo.antixlinux.com/antix-archive-keyring.asc'
2.
Code: Select all
sudo apt-key add antix-archive-keyring.asc
3.
Method 2:
1. Download antix-archive-keyring_20019.3.13_all.deb from here:
http://repo.antixlinux.com
In the directory where you downloaded the deb, use gdebi to install or do this -
2.
Code: Select all
sudo dpkg -i antix-archive-keyring_20019.3.13_all.deb
3.
Re: EXPKEYSIG error and fix
Posted: Wed Mar 13, 2019 8:38 am
by Eadwine Rose
Code: Select all
eadwine@eadwineMX18:~
$ wget 'https://download.tuxfamily.org/antix/releases/antix-archive-keyring.asc'
--2019-03-13 13:37:54-- https://download.tuxfamily.org/antix/releases/antix-archive-keyring.asc
Resolving download.tuxfamily.org (download.tuxfamily.org)... 88.191.250.171, 88.191.250.18, 2a01:e0d:1:3:58bf:fa12:0:1, ...
Connecting to download.tuxfamily.org (download.tuxfamily.org)|88.191.250.171|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4053 (4.0K) [text/plain]
Saving to: ‘antix-archive-keyring.asc’
antix-archive-keyring.as 100%[==================================>] 3.96K --.-KB/s in 0s
2019-03-13 13:37:55 (22.2 MB/s) - ‘antix-archive-keyring.asc’ saved [4053/4053]
eadwine@eadwineMX18:~
$ sudo apt-key add antix-archive-keyring.asc
[sudo] password for eadwine:
OK
eadwine@eadwineMX18:~
$ apt-get update
Reading package lists... Done
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
I think the last line needs root?
Reloaded in synaptic and all is fine :)
Re: EXPKEYSIG error and fix
Posted: Wed Mar 13, 2019 8:44 am
by anticapitalista
Eadwine Rose wrote: Wed Mar 13, 2019 8:38 am
I think the last line needs root?
Reloaded in synaptic and all is fine :)
Changed to sudo - thanks
Re: EXPKEYSIG error and fix
Posted: Wed Mar 13, 2019 8:55 am
by fehlix
Or with one liner ;=):
Code: Select all
sudo -v ; wget 'https://download.tuxfamily.org/antix/releases/antix-archive-keyring.asc' -O- | sudo apt-key add - ; sudo apt-get update

Re: EXPKEYSIG error and fix
Posted: Wed Mar 13, 2019 9:04 am
by GuiGuy
I have done anti's method on this installation and it seems to have worked OK.
But do I now have to fix all my other installations? If so I suppose Fehlix's method looks a bit simpler - has anybody tried it yet?
Re: EXPKEYSIG error and fix
Posted: Wed Mar 13, 2019 9:11 am
by fehlix
GuiGuy wrote: Wed Mar 13, 2019 9:04 am
I have done anti's method on this installation and it seems to have worked OK.
But do I now have to fix all my other installations? If so I suppose Fehlix's method looks a bit simpler - has anybody tried it yet?
The used verification key (which is the pub-key part of the signing key) is stored
within this file:
Code: Select all
/etc/apt/trusted.gpg.d/antix-archive-keyring.gpg
Which can be verfified / checked by gpg:
Code: Select all
gpg --with-fingerprint --no-default-keyring --keyring /etc/apt/trusted.gpg.d/antix-archive-keyring.gpg --list-keys
/etc/apt/trusted.gpg.d/antix-archive-keyring.gpg
------------------------------------------------
pub rsa2048 2013-03-13 [SC] [expires: 2021-05-01]
ED57 48AC 0E57 5DD2 49A5 6B84 DB36 CDF3 452F 0C20
uid [ unknown] antiX (antix repo) <repo@antixlinux.com>
sub rsa2048 2013-03-13 [E] [expires: 2021-05-01]
Conclusion:
Instead of the download method for additonal installs you can copy the new keyring file
from
Code: Select all
/etc/apt/trusted.gpg.d/antix-archive-keyring.gpg
to your other installations.

Re: EXPKEYSIG error and fix
Posted: Wed Mar 13, 2019 9:42 am
by oops
fehlix wrote: Wed Mar 13, 2019 8:55 am
Or with one liner ;=):
Code: Select all
sudo -v ; wget 'https://download.tuxfamily.org/antix/releases/antix-archive-keyring.asc' -O- | sudo apt-key add - ; sudo apt-get update
That's worked, thank you felix & anticapitalista.
Re: EXPKEYSIG error and fix
Posted: Wed Mar 13, 2019 9:51 am
by anticapitalista
Added another method to directly download the deb and install via dpkg or gdebi
Re: EXPKEYSIG error and fix
Posted: Wed Mar 13, 2019 10:03 am
by GuiGuy
fehlix wrote: Wed Mar 13, 2019 9:11 am........
Conclusion:
Instead of the download method for additonal installs you can copy the new keyring file
from
Code: Select all
/etc/apt/trusted.gpg.d/antix-archive-keyring.gpg
to your other installations.
Thanks, Fehlix - that sounds a bit easier

.
Re: EXPKEYSIG error and fix
Posted: Wed Mar 13, 2019 10:06 am
by asqwerth
GuiGuy wrote: Wed Mar 13, 2019 10:03 am
fehlix wrote: Wed Mar 13, 2019 9:11 am........
Conclusion:
Instead of the download method for additonal installs you can copy the new keyring file
from
Code: Select all
/etc/apt/trusted.gpg.d/antix-archive-keyring.gpg
to your other installations.
Thanks, Fehlix - that sounds a bit easier

.
But after copying, you still need to add the new key. You only save on the step of downloading the key file.