EXPKEYSIG error and fix

Message
Author
User avatar
anticapitalista
Developer
Posts: 4167
Joined: Sat Jul 15, 2006 10:40 am

EXPKEYSIG error and fix

#1 Post 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.

Code: Select all

sudo apt-get update
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.

Code: Select all

sudo apt-get update
Last edited by anticapitalista on Wed Mar 13, 2019 4:03 pm, edited 4 times in total.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
Eadwine Rose
Administrator
Posts: 11968
Joined: Wed Jul 12, 2006 2:10 am

Re: EXPKEYSIG error and fix

#2 Post 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 :)
MX-23.2_x64 July 31 2023 * 6.1.0-20-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
anticapitalista
Developer
Posts: 4167
Joined: Sat Jul 15, 2006 10:40 am

Re: EXPKEYSIG error and fix

#3 Post 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
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
fehlix
Developer
Posts: 10383
Joined: Wed Apr 11, 2018 5:09 pm

Re: EXPKEYSIG error and fix

#4 Post by fehlix »

anticapitalista wrote: Wed Mar 13, 2019 8:35 am 3 steps, in a terminal
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
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
GuiGuy
Posts: 804
Joined: Sun Dec 16, 2007 6:29 pm

Re: EXPKEYSIG error and fix

#5 Post 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?

User avatar
fehlix
Developer
Posts: 10383
Joined: Wed Apr 11, 2018 5:09 pm

Re: EXPKEYSIG error and fix

#6 Post 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.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
oops
Posts: 1620
Joined: Tue Apr 10, 2018 5:07 pm

Re: EXPKEYSIG error and fix

#7 Post by oops »

fehlix wrote: Wed Mar 13, 2019 8:55 am
anticapitalista wrote: Wed Mar 13, 2019 8:35 am 3 steps, in a terminal
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
:puppy:
That's worked, thank you felix & anticapitalista.
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

User avatar
anticapitalista
Developer
Posts: 4167
Joined: Sat Jul 15, 2006 10:40 am

Re: EXPKEYSIG error and fix

#8 Post by anticapitalista »

Added another method to directly download the deb and install via dpkg or gdebi
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
GuiGuy
Posts: 804
Joined: Sun Dec 16, 2007 6:29 pm

Re: EXPKEYSIG error and fix

#9 Post 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.
:puppy:
Thanks, Fehlix - that sounds a bit easier :happy: .

User avatar
asqwerth
Developer
Posts: 7231
Joined: Sun May 27, 2007 5:37 am

Re: EXPKEYSIG error and fix

#10 Post 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.
:puppy:
Thanks, Fehlix - that sounds a bit easier :happy: .
But after copying, you still need to add the new key. You only save on the step of downloading the key file.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

Post Reply

Return to “antiX”