Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: GPG key error when attemting to download updates

  1. #11
    Join Date
    Apr 2005
    Beans
    13

    Wink Re: GPG key error when attemting to download updates

    This should solve your problem:

    Code:
    $ sudo -i
     # apt-get clean
     # cd /var/lib/apt
     # mv lists lists.old
     # mkdir -p lists/partial
     # apt-get clean
     # apt-get update
    dhaneshr

  2. #12
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: GPG key error when attemting to download updates

    You will have to clean out your cache and the old lists. To do this...

    Edit: Nevermind. Thanks dhaneshr
    New to Wayland.

    Retired.

  3. #13
    Join Date
    Dec 2010
    Location
    Sørreisa, Norway
    Beans
    161
    Distro
    Ubuntu

    Re: GPG key error when attemting to download updates

    Quote Originally Posted by dhaneshr View Post
    This should solve your problem:

    Code:
    $ sudo -i
     # apt-get clean
     # cd /var/lib/apt
     # mv lists lists.old
     # mkdir -p lists/partial
     # apt-get clean
     # apt-get update
    dhaneshr
    Sorry, didnt help... Exact same error again...

  4. #14
    Join Date
    Dec 2010
    Location
    Sørreisa, Norway
    Beans
    161
    Distro
    Ubuntu

    Exclamation Re: GPG key error when attemting to download updates

    thanks to drs305 for the help ^^ it worked Thank you all for your help

  5. #15
    Join Date
    Dec 2010
    Location
    Sørreisa, Norway
    Beans
    161
    Distro
    Ubuntu

    Talking Re: GPG key error when attemting to download updates

    Quote Originally Posted by dhaneshr View Post
    This should solve your problem:

    Code:
    $ sudo -i
     # apt-get clean
     # cd /var/lib/apt
     # mv lists lists.old
     # mkdir -p lists/partial
     # apt-get clean
     # apt-get update
    dhaneshr
    SOLVED with this, thanks! After doing these commands, i added the keys with the command above. i restarted, and whoopie!

  6. #16
    Join Date
    Nov 2005
    Location
    Atlanta GA
    Beans
    297
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: GPG key error when attemting to download updates

    When I try this code the output is that it doesn't find any trusted key.

    Code:
    wolf@telcontar2:~/Downloads$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.UNU3iyIDKz --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
    gpg: requesting key 437D05B5 from hkp server keyserver.ubuntu.com
    gpg: key 437D05B5: public key "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" imported
    gpg: no ultimately trusted keys found
    gpg: Total number processed: 1
    gpg:               imported: 1
    wolf@telcontar2:~/Downloads$
    Wolf Halton - Senior PCI Compliance/Vulnerability Engineer @ Atlanta Cloud Technology
    Today is Yesterday's Tomorrow!
    'This Apt Has Super Cow Powers! -"Have you mooed today?"'

  7. #17
    Join Date
    Nov 2005
    Location
    Atlanta GA
    Beans
    297
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: GPG key error when attemting to download updates

    Quote Originally Posted by dhaneshr View Post
    This should solve your problem:

    Code:
    $ sudo -i
     # apt-get clean
     # cd /var/lib/apt
     # mv lists lists.old
     # mkdir -p lists/partial
     # apt-get clean
     # apt-get update
    dhaneshr
    That piece cleared the error messages, Thanks!
    Wolf Halton - Senior PCI Compliance/Vulnerability Engineer @ Atlanta Cloud Technology
    Today is Yesterday's Tomorrow!
    'This Apt Has Super Cow Powers! -"Have you mooed today?"'

  8. #18
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,965
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: GPG key error when attemting to download updates

    When the above didn't resolve the issue for me, I took to following steps recommended by another forum:

    cd /var/lib/apt
    sudo mv lists lists.old
    sudo mkdir -p lists/partial
    sudo apt-get update
    That took care of it. It would be a little more educational, though, if I understood what I just did. The file manipulation commands are easy enough, but what exactly is the purpose of the directory /var/lib/apt/lists? Did the above procedure essentially amount to clearing some sort of cache?

    Thanks!

  9. #19
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: GPG key error when attemting to download updates

    Quote Originally Posted by newb85 View Post
    When the above didn't resolve the issue for me, I took to following steps recommended by another forum:



    That took care of it. It would be a little more educational, though, if I understood what I just did. The file manipulation commands are easy enough, but what exactly is the purpose of the directory /var/lib/apt/lists? Did the above procedure essentially amount to clearing some sort of cache?

    Thanks!
    If you look at the /var/apt/lists folder you will see a large number of files. These files contain information about the various packages available in the repositories. The 'partial' subfolder contains additional information that is, as one site describes it, 'transitory' in nature.

    Something in one of these folders became corrupted, and moving all the files/folders to a new location forces APT to recreate them with fresh and hopefully uncorrupted information.

    So to answer your question, yes, it is similar to clearing a cache.
    New to Wayland.

    Retired.

  10. #20
    Join Date
    Mar 2011
    Location
    the Netherlands
    Beans
    397
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: GPG key error when attemting to download updates

    Quote Originally Posted by ubupirate View Post

    thanks! worked for me too

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

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
  •