Expired repository key caused by Whonix

1. Your Parrot information

Parrot 4.10

5.9.0-2parrot1-amd64 #1 SMP Debian 5.9.6-2parrot1 (2020-11-17) x86_64 GNU/Linux

2. If you have this problem after fresh installation:

Isn’t on a fresh install

3. If your hardware doesn’t work: wifi doesn’t show, graphic issue:

N/A

4. How did you get this error? Are there any steps to procedure it?

sudo parrot-upgrade

5. Error log or screenshot

    Hit:1 https://repo.ivpn.net/stable/ubuntu ./generic InRelease
Hit:2 https://updates.signal.org/desktop/apt xenial InRelease
Get:3 https://deb.parrot.sh/parrot rolling InRelease
Err:3 https://deb.parrot.sh/parrot rolling InRelease
  The following signatures were invalid: EXPKEYSIG B56FFA946EB1660A Parrot project <[email protected]>
Get:4 https://deb.parrot.sh/parrot rolling-security InRelease
Err:4 https://deb.parrot.sh/parrot rolling-security InRelease
  The following signatures were invalid: EXPKEYSIG B56FFA946EB1660A Parrot project <[email protected]>
Reading package lists... Done
W: GPG error: https://deb.parrot.sh/parrot rolling InRelease: The following signatures were invalid: EXPKEYSIG B56FFA946EB1660A Parrot project <[email protected]>
E: The repository 'https://deb.parrot.sh/parrot rolling InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://deb.parrot.sh/parrot rolling-security InRelease: The following signatures were invalid: EXPKEYSIG B56FFA946EB1660A Parrot project <[email protected]>
E: The repository 'https://deb.parrot.sh/parrot rolling-security InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
failed to update index lists
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

parrot.list:

# parrot repository
# this file was automatically generated by parrot-mirror-selector
deb https://deb.parrot.sh/parrot/ rolling main contrib non-free
#deb-src https://deb.parrot.sh/parrot/ rolling main contrib non-free
deb https://deb.parrot.sh/parrot/ rolling-security main contrib non-free
#deb-src https://deb.parrot.sh/parrot/ rolling-security main contrib non-free

I noticed the other day that the auto upgrade prompt when I first boot up my computer never returned any updates to be installed, which I thought was odd. So I went in and manually ran sudo parrot-upgrade and sure enough, there were a ton of updates. Okay, might have been an issue with some line of code somewhere whatever. But today I went to manually update the repositories using the same command and I got expired key signatures for the parrot repositories.

I tried copying and pasting the parrot.list contents from here to see if that was the issue, and nothing changed. I tried turning off my VPN to see if it was a connection problem and that didn’t fix it either. I don’t have anonsurf on my computer so I didn’t try to update through that (made that mistake too many times so had to do a fresh installation) and I don’t ever run sudo apt-get upgrade so I don’t think that’s the problem either.

Low and behold!
I had tried to install Whonix following their KVM instructions. Turns out, they don’t play well together. I deleted their .gpg file that was in /etc/apt/trusted.gpg.d and everything started to work again. (Only had 31 updates too :wink: )

Not sure why this would cause an error, but I wanted to put this out here in case others run into a similar problem.

It is not whonix problem but our server problem and it is fixed.

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.