InRelease: Key

This forum is for general conversation and user-user networking.
Post Reply
OpenVpn Newbie
Posts: 2
Joined: Thu Mar 09, 2023 5:51 pm

InRelease: Key

Post by fmccabe80 » Wed May 24, 2023 4:46 pm

Good morning,

I tried to install OpenVPN on my Linux Mint system and it never works.

So deleted and purge the app, but since, when I am running the Update Manager or perform the "app-get update" command I get those warning message:

Code: Select all

W: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository ' focal InRelease' doesn't support architecture 'i386'
How can I fixed this?


OpenVPN User
Posts: 32
Joined: Mon May 15, 2023 12:14 pm

Re: InRelease: Key

Post by Fadim » Thu May 25, 2023 12:20 pm

The warnings you're seeing are related to how your system is handling keys for software repositories and the architecture of the packages.

Firstly, let's address the key warning. The recommended way is to move from using the deprecated 'trusted.gpg' keyring to the 'trusted.gpg.d/' directory for storing keys. You can do this by re-importing the OpenVPN key into the new directory. Here's how to do it:

1. Download the OpenVPN key with this command:

Code: Select all

wget -O - | sudo apt-key add -
2. Then, delete the old key:

Code: Select all

sudo apt-key del {KEY_ID}
, replacing {KEY_ID} with the ID of the OpenVPN key (you can find it with sudo apt-key list).

As for the architecture warning, it seems your system is trying to pull 'i386' packages from the OpenVPN repository, which doesn't support 'i386'. If your system is 64-bit, which is likely, you can safely ignore this warning. If you'd like to remove it, you can edit your source file at '/etc/apt/sources.list.d/openvpn-aptrepo.list', changing 'deb [arch=amd64,i386]' to 'deb [arch=amd64]'.

Post Reply