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
# 15  
Old 05-16-2010
Originally Posted by celldweller1591
try Ubuntu tweak and from there, manage your software sources. Its easy and effective
sorry, it doesn't work for this case Smilie
# 16  
Old 05-28-2010
Lost GPG Key Problem Solved in Ubuntu Lucid!


I had the same problem on my lucid installation. Here's how I solved it:

I had another system with the same distribution installed. It did NOT have the libraries in /usr/local/lib. The GPG keys WERE visible to my apt system (and System/Administration/Software Sources, etc.)

I copied the good libraries and links from my installed system. They were in /lib and /usr/lib.

I copied them into /lib/ and /usr/lib the malfunctioning system.

I deleted the copy of in /usr/local/lib. This left me with a bunch of broken symbolic links.

I created a link pointing /usr/local/lib/ to /lib/

The broken links came back to life and my keys automagically reappeared. All is working.

The problem was, apparently, that the (extra) copy of in /usr/local/lib was not the proper one. The remaining problem is that, now that my system is working, I can't replicate the fix to confirm that the problem was solely in /usr/local/lib.

If the problem was solely with that entry, as I suspect, then the WHOLE FIX would be to DELETE the /usr/local/lib copy of and REPLACE IT with a LINK to /lib/

Good Luck
This User Gave Thanks to OceanMan7 For This Post:
# 17  
Old 05-29-2010

I'm on Karmic Koala, upgrading to Lucid Lynx.
I renamed all of the /usr/local/lib/libreadline* to /usr/local/lib/badreadline*
sudo mv libreadline.old badlibreadline.old
sudo mv
sudo mv
sudo mv
sudo mv

Just to make sure I got all of the libreadlines:
ls -l libreadline*
ls: cannot access libreadline*: No such file or directory

To see that the badreadlines were what I expected:
ls -l badlibreadline*
-rw-r--r-- 1 root root 1114564 2010-04-13 02:26 badlibreadline.a
-rw-r--r-- 1 root root 1114564 2010-04-09 04:04 badlibreadline.old
lrwxrwxrwx 1 root root      16 2010-04-13 02:26 ->
lrwxrwxrwx 1 root root      22 2010-04-13 02:36 ->
-r-xr-xr-x 1 root root  662613 2010-04-13 02:26
-r-xr-xr-x 1 root root  662613 2010-04-09 04:04

Then I created a symbolic link from /lib/ to /usr/local/
sudo ln -s /lib/ /usr/local/lib/

It appears that this fixed the libreadline problem, because prior to the sudo apt-get upgrade I'm doing a sudo apt-get update:
Crunches along just fine:
Hit Index of / karmic-updates/multiverse Packages
Err Index of / karmic/main Packages
  404  Not Found
Hit Index of / karmic-backports/main Packages
Hit Index of / karmic-proposed/restricted Sources
Hit Index of / karmic-proposed/main Sources
Hit Index of / karmic-proposed/multiverse Sources
Hit Index of / karmic-proposed/universe Sources
Fetched 5,042B in 8s (617B/s)                                     

W: GPG error: Index of / karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2836CB0A8AC93F7A
W: Failed to fetch  404  Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.

I believe (somewhat) that this is past the problem.

However, there is no "" URI.

Where to from here?

Last edited by Scott; 05-29-2010 at 10:51 PM.. Reason: Code tags, please...
# 18  
Old 05-29-2010
Where to find Karmic Binary Packages

You're right - no longer exists. You can find all the karmic binaries, GPG keys, etc, at: Index of /ubuntu/dists/karmic-backports. Just keep drilling down until you get to what you want. Good Luck.
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