Can't update or use package manager -- gpg error


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Can't update or use package manager -- gpg error
# 1  
Old 11-06-2009
Can't update or use package manager -- gpg error [solved]

Code:
W: GPG error: http://archive.canonical.com karmic Release: Unknown error executing gpgv
W: GPG error: http://us.archive.ubuntu.com karmic Release: Unknown error executing gpgv
W: GPG error: http://us.archive.ubuntu.com karmic-updates Release: Unknown error executing gpgv
W: GPG error: http://us.archive.ubuntu.com karmic-security Release: Unknown error executing gpgv
W: GPG error: http://us.archive.ubuntu.com karmic-proposed Release: Unknown error executing gpgv

This occurs on using the update manager, package manager, apt-get update, etc. Any ideas? I've tried deleting the cached files, changing my server, checking that my date & time are correct (signing can be time sensitive), updating gpg (it was already at the latest), and maybe some other things I've forgotten.

System: Ubuntu Karmic amd64

Last edited by CRGreathouse; 12-01-2009 at 11:24 PM..
# 2  
Old 11-08-2009
I even tried removing and reinstalling gpg, which is a hassle because many programs depend on it. I also installed (unverified!) updates and restarted; no luck.
# 3  
Old 11-14-2009
I've been able to get around this so far by skipping gpg validation of things that I install -- but obviously this is less than ideal (and subject to man-in-the-middle attacks, etc.).
# 4  
Old 11-14-2009
Code:
sudo apt-get remove ubuntu-keyring
sudo apt-get --yes -q --allow-unauthenticated install ubuntu-keyring

# 5  
Old 11-17-2009
I ran
Code:
sudo apt-get remove ubuntu-keyring

and ubuntu-keyring and ubuntu-minimal were uninstalled. I then ran
Code:
sudo apt-get --yes -q --allow-unauthenticated install ubuntu-keyring ubuntu-minimal

Both were reinstalled. Along with the standard messages, apt-get displayed
Code:
gpg: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: PC
gpg: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: PC

and the problem still remains: sudo apt-get update gives
Code:
W: GPG error: http://archive.canonical.com karmic Release: Unknown error executing gpgv
W: GPG error: http://us.archive.ubuntu.com karmic Release: Unknown error executing gpgv
W: GPG error: http://us.archive.ubuntu.com karmic-updates Release: Unknown error executing gpgv
W: GPG error: http://us.archive.ubuntu.com karmic-security Release: Unknown error executing gpgv
W: GPG error: http://us.archive.ubuntu.com karmic-proposed Release: Unknown error executing gpgv

Thanks for trying, though.
# 6  
Old 11-27-2009
Have you tried:

Code:
sudo -i

apt-get update

I know you said you've tried, apt-get update, so I'm fishing here.

Also, check your system clock. Make sure the date and time are correct.

I'll keep looking... I"m curious how to correct this authentication issue... in case I ever have this problem.

Please let us know when you find a solution.
# 7  
Old 12-01-2009
Quote:
Originally Posted by tuxsun1
Have you tried:

Code:
sudo -i

apt-get update

I hadn't. I just did, and it gave me the same result as before.

Quote:
Originally Posted by tuxsun1
Also, check your system clock. Make sure the date and time are correct.
I'm not entirely unfamiliar with the crypto behind the updates, so I realized some time ago that my clock might affect my ability to authenticate. And indeed when I started this process my clock was fairly far off. But I corrected that some time ago. I just checked my time against the US Naval Observatory time and found it to be within 1 s of correct time (probably closer).

So that's not it, either.

Quote:
Originally Posted by tuxsun1
I'll keep looking... I"m curious how to correct this authentication issue... in case I ever have this problem.

Please let us know when you find a solution.
I'll be sure to post here if I find anything out, because I think there are others with the same problem. Thanks for your time.

---------- Post updated at 10:24 PM ---------- Previous update was at 09:44 PM ----------

Ah! I found it.

The problem wasn't gpg after all, but libreadline6. Updating it didn't help, but building it manually (md5: a3a5bf025a1b8df869f45f34098ffc6a rather than 2569b5ed629a3e573b0a8f9ec23a37ff) and copying my version to /usr/local/lib/libreadline.so.6 worked!
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Which Package Manager?

I came across a number of apparent tarballs of OS packages which are in a format which I do not recognize. Does anybody know which packet manager uses this format? # ls pkg_cfiles pkg_data pkg_data32 pkg_data64 pkg_info pkg_scripts pkg_signature # cat pkg_info PACKAGE=8.2... (3 Replies)
Discussion started by: fpmurphy
3 Replies

2. UNIX for Dummies Questions & Answers

Unable to install from synaptic package manager

i am not able to install anything from package manager . (2 Replies)
Discussion started by: upvan111
2 Replies

3. Emergency UNIX and Linux Support

Problem when trying to remove a package using rpm command - error: package is not installed

Hello, i have installed a package by using the command sudo rpm -i filepackage.rpm package filepackage is already installed when i try to remove it, i get an error saying "is not installed": sudo rpm -e filepackage.rpm error: package filepackage is not installed How can... (4 Replies)
Discussion started by: g_p
4 Replies

4. Debian

apt-get package manager capability

Hi List, Recently I was doing some toubleshooting installing a package on a Redhat 6 machine using the the installer script which came with that package and I got an error message telling me that a file was missing indicating that I had to google for the dependancies and install them before this... (2 Replies)
Discussion started by: landossa
2 Replies

5. Solaris

Solaris 10 Software Package Manager

Hi there, maybe one of you knows the software package tool during the installation of solaris 10. You are able to choose an installtion and customize it with pressing F4 .... a very nice list occurs where you can select packages like apache, ssh and so on ... Is it possible to start this... (0 Replies)
Discussion started by: drexler76
0 Replies

6. UNIX for Advanced & Expert Users

Solaris Package Manager problem

i'm trying to run Patch Manager, but i'm getting the following problem when i try and run "pprosvc" with either the -l, -d, or -i options. Assessing patches needed for your system...... (8 Replies)
Discussion started by: xyyz
8 Replies
Login or Register to Ask a Question