HOWTO: Remove apt unauthenticated warnings

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Re: HOWTO: Remove apt unauthenticated warnings

Postby rufong on Sun Oct 03, 2010 8:34 pm

'preciate the dpkg keyring command, thx!
only one it installed for me was debian-keyring, 26MB.
User avatar
rufong
Level 2
Level 2
 
Posts: 60
Joined: Fri Dec 11, 2009 9:20 am

Linux Mint is funded by ads and donations.
 

Re: HOWTO: Remove apt unauthenticated warnings

Postby craigevil on Sun Oct 10, 2010 9:45 pm

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";
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
craigevil
Level 5
Level 5
 
Posts: 559
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Re: HOWTO: Remove apt unauthenticated warnings

Postby asymmetros on Mon Oct 11, 2010 11:48 am

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. :?
Sid Mint Xfce -32, Openbox, KDE, Enlightenment, Liquorix Kernel
HP Compaq Presario cq71, Intel Core 2 Duo T4400 @ 2.2 GHz, 3 GB DDR2 RAM, Nvidia Geforce G 103M
asymmetros
Level 4
Level 4
 
Posts: 310
Joined: Tue Jun 01, 2010 5:34 pm
Location: athens

Re: HOWTO: Remove apt unauthenticated warnings

Postby asymmetros on Mon Oct 11, 2010 4:44 pm

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!
Sid Mint Xfce -32, Openbox, KDE, Enlightenment, Liquorix Kernel
HP Compaq Presario cq71, Intel Core 2 Duo T4400 @ 2.2 GHz, 3 GB DDR2 RAM, Nvidia Geforce G 103M
asymmetros
Level 4
Level 4
 
Posts: 310
Joined: Tue Jun 01, 2010 5:34 pm
Location: athens

Re: HOWTO: Remove apt unauthenticated warnings

Postby beanhead on Sun Oct 31, 2010 1:09 pm

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.
beanhead
Level 1
Level 1
 
Posts: 1
Joined: Fri Oct 01, 2010 1:28 am

Re: HOWTO: Remove apt unauthenticated warnings

Postby Dyfi on Sun Oct 31, 2010 4:22 pm

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.
Dyfi
Level 3
Level 3
 
Posts: 189
Joined: Fri Nov 27, 2009 7:25 am

Re: HOWTO: Remove apt unauthenticated warnings

Postby kwevej on Sat Nov 27, 2010 2:00 pm

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


;)
User avatar
kwevej
Level 5
Level 5
 
Posts: 624
Joined: Mon Mar 22, 2010 3:35 pm
Location: Delft / Prague [@ LMDE]

Re: HOWTO: Remove apt unauthenticated warnings

Postby WeNG on Wed Feb 23, 2011 5:11 am

it works! now i don't have to deal with unauthorized package warning. :)
WeNG
Level 1
Level 1
 
Posts: 9
Joined: Wed Feb 23, 2011 2:50 am

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 1 guest