HOWTO: Remove apt unauthenticated warnings

Archived topics about LMDE 1 and LMDE 2
Locked
rufong

Re: HOWTO: Remove apt unauthenticated warnings

Post by rufong »

'preciate the dpkg keyring command, thx!
only one it installed for me was debian-keyring, 26MB.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
craigevil

Re: HOWTO: Remove apt unauthenticated warnings

Post by craigevil »

Still get errors here. I play with quite a few repos, most i never add the keyring.

My apt.conf
// auto-remove breaks on meta packages
APT::Get::AutomaticRemove "0";
APT::Get::HideAutoRemove "1";

// Recommends are as of now still abused in many packages
APT::Install-Recommends "0";
APT::Install-Suggests "0";
Debug::pkgAutoRemove "0";

// PDiffs reduce the required download for apt-get update, but increase the
// CPU requirements
// Acquire::PDiffs "0";

// Remove apt unauthenticated warnings
APT::Get::AllowUnauthenticated "0";
asymmetros

Re: HOWTO: Remove apt unauthenticated warnings

Post by asymmetros »

I followed the instructions, now apt.conf contains only this line

APT::Get::AllowUnauthenticated 0;

but when i tried an update i got -again- the message:

W: GPG error: http://deb.opera.com testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F9A2F76A9D1A0061
W: GPG error: http://deb.opera.com testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F9A2F76A9D1A0061

Maybe i ve done something wrong. :?
asymmetros

Re: HOWTO: Remove apt unauthenticated warnings

Post by asymmetros »

You haven't added the key for the Opera repo,
Thank you! That did it. I was pretty sure that i had added the key, most probably i had typed smthing wrong.
Now its okay!
beanhead

Re: HOWTO: Remove apt unauthenticated warnings

Post by beanhead »

I'm new with Mint distros. I'm running LMDE and Mint 9 gnome. I know this is LMDE forum but in mint 9 I'm getting these messages with any install using lucid universe packages.

no keyring for lucid universe packages
lucid universe package d4x
WARNING: The following packages cannot be authenticated!
libao2 d4x-common d4x

I've searched google looking for a key for lucid universe but haven't found it. I've searched google and the forum for this problem but your post seems to cover the issue better than any I've found. I ran your script with the results of

gnome-keyring is already the newest version.
libpam-gnome-keyring is already the newest version.
Note, selecting libpam-gnome-keyring instead of libpam-keyring
libpam-gnome-keyring is already the newest version.
linuxmint-keyring is already the newest version.
medibuntu-keyring is already the newest version.
ubuntu-keyring is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.

http://ubuntuguide.org/wiki/Template:U_ ... positories
I do not get any key code to use to add a key when using apt-get so I can add key with:
"sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys KEY". Why doesn't apt give me a keycode that is missing?

Any help appreciated.
Dyfi

Re: HOWTO: Remove apt unauthenticated warnings

Post by Dyfi »

Hi,

Yes, I was concerned about these warnings.

Have followed the instructions above to prevent them - all OK.

Just wondered what the code would be to reverse this situation, if required in the future.

Regards,

Dyfi.
kwevej

Re: HOWTO: Remove apt unauthenticated warnings

Post by kwevej »

gr8, thx.
Just a note: I guess you should install the keyrings first, coz:

Code: Select all

WARNING: The following packages cannot be authenticated!
  debian-keyring

;)
WeNG

Re: HOWTO: Remove apt unauthenticated warnings

Post by WeNG »

it works! now i don't have to deal with unauthorized package warning. :)
Locked

Return to “LMDE Archive”