Page 1 of 2 12 LastLast
Results 1 to 10 of 13

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

  1. #1
    Join Date
    Jan 2008
    Beans
    33

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

    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


    Along with the standard messages, apt-get displayed

    Code:

    gpg: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: PC


    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 Lucid

  2. #2
    Join Date
    Jan 2008
    Beans
    33

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

    someone said there is something wrong with the libreadline6.
    any other solutions?

  3. #3
    Join Date
    Apr 2007
    Location
    St. Charles, MO
    Beans
    12
    Distro
    Ubuntu Studio 9.10 Karmic Koala

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

    I have the same problem. I found the following:

    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!

    I would hope a better solution than this exists.

  4. #4
    Join Date
    Apr 2007
    Location
    St. Charles, MO
    Beans
    12
    Distro
    Ubuntu Studio 9.10 Karmic Koala

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

    I also found a page that talked about the problem of libreadline.so.6 causing the error:

    'readline-6.0' causes "undefined symbol: PC" errors

    The web page is located at:

    http://trac.sagemath.org/sage_trac/ticket/7610


    I downloaded the readline-6.0.p1.spkg which I believe is a patch file that is supposed to fix this problem.

    I am not familiar with .spkg files, so I will leave it to somebody else who is to figure out how to use it.

    Please post your results.

  5. #5
    Join Date
    Mar 2008
    Beans
    7

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

    I fought this problem from synaptic on down to gpg, only to find it was readline all along. My solution was somewhat simpler than building or patching.

    in terminal:

    ls /usr/local/lib

    there was a bunch of readline libs in there (libreadline.so.BLAH-BLAH) so i:

    su
    mkdir temp
    mv /usr/local/lib/libreadline* temp
    ldconfig
    apt-get update


    and voila. went without a hitch. then i deleted my temporary directory (rm -rf /usr/local/lib/temp), exited su.

    ~2 hours fighting to no avail, and for it work with a few seconds of commands...
    I'm not complaining, but it does seem somewhat of a cruel irony.

  6. #6
    Join Date
    Oct 2010
    Beans
    13
    Distro
    Ubuntu 9.10 Karmic Koala

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

    Oh my God! it worked, I can't believe this. Me and most likely many others can't thank you enough!
    But don't you need the libreadline files because of dependencies or in any other way (before I delete them)?

  7. #7
    Join Date
    Jul 2006
    Location
    Concepción, Chile
    Beans
    6
    Distro
    Ubuntu 6.06

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

    :O Great!! I had the same error when upgrading from Jaunty, now it seems working

  8. #8
    Join Date
    Jun 2011
    Beans
    1

    Smile Re: Can't update or use package manager -- gpg error

    Wow, it really was THAT simple!. Nice work Semicom.

  9. #9
    Join Date
    Apr 2010
    Beans
    19

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

    Hey can we move this to solved?

    Thank you SO much for the answer!

  10. #10
    Join Date
    Dec 2011
    Beans
    1

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

    Many thanks for this, worked for me too!

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •