ubuntu-keyring/minimal problem

Asked by nikynax on 2008-01-11

I recently upgraded to Ubuntu 7.10. I did this when the Ubuntu update manager told me a new release was out, so I guess it was in October. Now when I try to upgrade anything with this update manager, or install packages either with the Synaptic package manager, or the apt-get command in a bash terminal, it seems to download and install everything, then tells me:

An Error Occured:
E: ubuntu-keyring: subprocess post-installation script returned error exit status 127
E: ubuntu-minimal: dependency problems - leaving unconfigured

The terminal gives:

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up ubuntu-keyring (2007.06.11) ...
gpg: symbol lookup error: /usr/local/lib/libreadline.so.5: undefined symbol: PC
gpg: symbol lookup error: /usr/local/lib/libreadline.so.5: undefined symbol: PC
dpkg: error processing ubuntu-keyring (--configure):
 subprocess post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of ubuntu-minimal:
 ubuntu-minimal depends on ubuntu-keyring; however:
  Package ubuntu-keyring is not configured yet.
dpkg: error processing ubuntu-minimal (--configure):
 dependency problems - leaving unconfigured

Any way to fix this? I think it is a ubuntu-minimal problem.....

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-keyring Edit question
Assignee:
No assignee Edit question
Last query:
2008-01-12
Last reply:
2008-08-14
nikynax (n-cutts) said : #1

Just tried to do sudo apt-get --fix-broken install, I got:

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up ubuntu-keyring (2007.06.11) ...
gpg: symbol lookup error: /usr/local/lib/libreadline.so.5: undefined symbol: PC
gpg: symbol lookup error: /usr/local/lib/libreadline.so.5: undefined symbol: PC
dpkg: error processing ubuntu-keyring (--configure):
 subprocess post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of ubuntu-minimal:
 ubuntu-minimal depends on ubuntu-keyring; however:
  Package ubuntu-keyring is not configured yet.
dpkg: error processing ubuntu-minimal (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ubuntu-keyring
 ubuntu-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
ncutts@ncutts-home:~$ sudo apt-get --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up ubuntu-keyring (2007.06.11) ...
gpg: symbol lookup error: /usr/local/lib/libreadline.so.5: undefined symbol: PC
gpg: symbol lookup error: /usr/local/lib/libreadline.so.5: undefined symbol: PC
dpkg: error processing ubuntu-keyring (--configure):
 subprocess post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of ubuntu-minimal:
 ubuntu-minimal depends on ubuntu-keyring; however:
  Package ubuntu-keyring is not configured yet.
dpkg: error processing ubuntu-minimal (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ubuntu-keyring
 ubuntu-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have found this - http://ubuntuforums.org/showthread.php?t=647819 - there is the same problem and it seem to be solved.

Oh I am very sorry - this not for you... This is answer for this question - https://answers.launchpad.net/ubuntu/+question/21989

Now something for you:

Try "sudo dpkg-configure --a" or "sudo dpkg-reconfigure ubuntu-keyring"

Raghvendra Sharma (raghav) said : #4

Hi,

I have a fresh installation of Gutsy on an HP Compaq 6710b. I was trying to get some packages from medibuntu when I noticed this error message for me too.

[code]
gpg: symbol lookup error: /usr/local/lib/libreadline.so.5: undefined symbol: PC
[/code]

pls suggest...

Sanbuntu (wizzard028wise) said : #5

Type the following two commands:

 sudo rm /usr/local/lib/libreadline.*
 sudo ldconfig

Hope this help,
--FromAfrica---

i had the same problem but i was upgrading to 8.04. i fixed it by typing in
sudo apt-get install ubuntu-keyring

Can you help with this problem?

Provide an answer of your own, or ask nikynax for more information if necessary.

To post a message you must log in.