Sponsored Content
Operating Systems Linux Ubuntu Can't update or use package manager -- gpg error Post 302425533 by OceanMan7 on Friday 28th of May 2010 10:24:19 AM
Old 05-28-2010
Lost GPG Key Problem Solved in Ubuntu Lucid!

Hello,

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 libreadline.so 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 libreadline.so.6.1 in /usr/local/lib. This left me with a bunch of broken symbolic links.

I created a link pointing /usr/local/lib/libreadline.so.6 to /lib/libreadline.so.6

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

The problem was, apparently, that the (extra) copy of libreadline.so.6 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.

Summary:
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 libreadline.so.6 and REPLACE IT with a LINK to /lib/libreadline.so.6

Good Luck
This User Gave Thanks to OceanMan7 For This Post:
 

6 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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
GPG-ZIP(1)							 GNU Privacy Guard							GPG-ZIP(1)

NAME
gpg-zip - Encrypt or sign files into an archive SYNOPSIS
gpg-zip [options] filename1 [ filename2, ... ] directory1 [ directory2, ... ] DESCRIPTION
gpg-zip encrypts or signs files into an archive. It is an gpg-ized tar using the same format as used by PGP's PGP Zip. OPTIONS
gpg-zip understands these options: --encrypt -e Encrypt data. This option may be combined with --symmetric (for output that may be decrypted via a secret key or a passphrase). --decrypt -d Decrypt data. --symmetric -c Encrypt with a symmetric cipher using a passphrase. The default symmetric cipher used is CAST5, but may be chosen with the --cipher-algo option to gpg. --sign -s Make a signature. See gpg. --recipient user -r user Encrypt for user id user. See gpg. --local-user user -u user Use user as the key to sign with. See gpg. --list-archive List the contents of the specified archive. --output file -o file Write output to specified file file. --gpg gpgcmd Use the specified command gpgcmd instead of gpg. --gpg-args args Pass the specified options to gpg. --tar tarcmd Use the specified command tarcmd instead of tar. --tar-args args Pass the specified options to tar. --version Print version of the program and exit. --help Display a brief help page and exit. EXAMPLES
Encrypt the contents of directory 'mydocs' for user Bob to file 'test1': gpg-zip --encrypt --output test1 --gpg-args -r Bob mydocs List the contents of archive 'test1': gpg-zip --list-archive test1 DIAGNOSTICS
The program returns 0 if everything was fine, 1 otherwise. SEE ALSO
gpg(1), tar(1), The full documentation for this tool is maintained as a Texinfo manual. If GnuPG and the info program are properly installed at your site, the command info gnupg should give you access to the complete manual including a menu structure and an index. GnuPG 2.0.22 2014-06-10 GPG-ZIP(1)
All times are GMT -4. The time now is 02:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy