UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I don't know why, but every time i try to apt-get install something, the same error happens, just like this:
Code:
$ sudo apt-get install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up medibuntu-keyring (2008.04.20) ...
gpg: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: PC
dpkg: error processing medibuntu-keyring (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
medibuntu-keyring
E: Sub-process /usr/bin/dpkg returned an error code (1)
I don't know why, but every time i try to apt-get install something, the same error happens, just like this:
Code:
$ sudo apt-get install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up medibuntu-keyring (2008.04.20) ...
gpg: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: PC
dpkg: error processing medibuntu-keyring (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
medibuntu-keyring
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've been having this same problem after upgrading to Ubuntu 11.04. I get this on every package I get, not just one.
Find what package is causing the issue, in this case medibuntu-keyring, go into synaptic and remove it completely, then re-install it.
I believe mine is stemming from Samba4. It was part of the upgrade and failed. Now, it seems that I can't remove or install much. Where is synaptic? I've not heard this term yet (i'm still a newbie).
I reported a bug and a bunch of other people did too. Now, I'm getting lots o e-mails of poeple having this same problem. One said to simply uninstall Samba4, but when I try, I get an error and it never completes.
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
When you find Synaptic go down to the bottom left pane and click on Custom Filters, then in the top left pane click on Broken and see if anything is listed there. Click on it and mark it for Complete Removal. Then up the top click apply and go from there. If there are any errors post them here and we can help you through it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.