Results 1 to 10 of 100

Thread: Update error

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Location
    Poland
    Beans
    134
    Distro
    Kubuntu 10.04 Lucid Lynx

    Update error

    Today I was notified by ubuntu that there are new updates but when I try to install them an error occured:

    Code:
    W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4874D3686E80C6B7
    W wasn't changing anything since my last update...

  2. #2
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,505
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Update error

    Quote Originally Posted by rozbarwinek View Post
    Today I was notified by ubuntu that there are new updates but when I try to install them an error occured:

    Code:
    W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4874D3686E80C6B7
    W wasn't changing anything since my last update...
    It means that there is a network problem somewhere, give it a few hours and try again.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  3. #3
    Join Date
    Apr 2005
    Location
    EU - UK
    Beans
    3,323
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Update error

    I think the PPAs have now started offering signed packages, so you have to go to this PPA's page on Launchpad to download its key and then add it in your Software Sources (i.e. System → Administration → Software Sources).

  4. #4
    Join Date
    Sep 2008
    Location
    Poland
    Beans
    134
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Update error

    Quote Originally Posted by kostkon View Post
    I think the PPAs have now started offering signed packages, so you have to go to this PPA's page on Launchpad to download its key and then add it in your Software Sources (i.e. System → Administration → Software Sources).
    That's right
    So I have only Banshee PPA repository and I found that the pgp key is here --> http://keyserver.ubuntu.com:11371/pk...74D3686E80C6B7
    Is there a way that I can add it by terminal like for example VirtualBox key:

    Code:
    wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
    or I have to download that file and add it manually?

  5. #5
    Join Date
    Dec 2008
    Location
    Greece
    Beans
    105
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Update error

    I made this small bash script. it will check you intrepid system for all launchpad sources and will download and install the keys for you!

    Who ever wants this for Hardy. Just edit the script and change intrepid to hardy

    edit:
    You have to run this with sudo
    Attached Files Attached Files
    Last edited by blackgr; January 23rd, 2009 at 10:45 PM.

  6. #6
    Join Date
    Jul 2006
    Beans
    Hidden!

    Re: Update error

    Great job, thanks!

  7. #7
    Join Date
    Apr 2006
    Beans
    175

    Re: Update error

    Quote Originally Posted by blackgr View Post
    I made this small bash script. it will check you intrepid system for all launchpad sources and will download and install the keys for you!

    Who ever wants this for Hardy. Just edit the script and change intrepid to hardy

    edit:
    You have to run this with sudo
    Thanks buddy... much appreciated.

  8. #8
    Join Date
    Feb 2007
    Beans
    4

    Re: Update error

    Quote Originally Posted by blackgr View Post
    I made this small bash script. it will check you intrepid system for all launchpad sources and will download and install the keys for you!

    Who ever wants this for Hardy. Just edit the script and change intrepid to hardy

    edit:
    You have to run this with sudo
    This is great, thank you!

    Can I attach this on a post over at http://www.kubuntuway.net ? I'm sure others would love this.

  9. #9
    Join Date
    Oct 2005
    Beans
    244
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Update error

    Quote Originally Posted by blackgr View Post
    I made this small bash script. it will check you intrepid system for all launchpad sources and will download and install the keys for you!

    Who ever wants this for Hardy. Just edit the script and change intrepid to hardy

    edit:
    You have to run this with sudo
    Your script works (shockingly) well. Good job man. Thanks.
    Fresh install of Windows XP SP2 with updates. Used a firewall and anti-virus software. I stopped counting the horrible crippling and irritiating Windows crashing after I passed 10 times. Windows is just an expensive piece of sh*t....

  10. #10
    Join Date
    Jul 2008
    Beans
    46

    Smile Re: Update error

    Quote Originally Posted by blackgr View Post
    I made this small bash script. it will check you intrepid system for all launchpad sources and will download and install the keys for you!

    Who ever wants this for Hardy. Just edit the script and change intrepid to hardy

    edit:
    You have to run this with sudo
    Many Thanks !
    The curl command would not work for me without the -L option.
    I made some other changes just to fit my personal OCD-taste:
    Code:
    #!/bin/bash
    #sudo aptitude install curl
    LIST_FILES=$(ls /etc/apt/sources.{list,list.d/*.list})
    LIST=$(cat $LIST_FILES |
       grep '^deb .*ppa\.launchpad.*karmic' |
       cut -d/ -f4)
    for i in $LIST; do 
       KEY_PAGE=$(curl -sL https://launchpad.net/~$i/+archive |
          grep 'http://keyserver.ubuntu.com:11371/pks/' |
          cut -d'"' -f2)
       KEYSS=$(curl -sL "$KEY_PAGE"|grep '^pub  ' |
          cut -d'"' -f2)
       for j in "$KEYSS"; do
          curl -sL "http://keyserver.ubuntu.com:11371$j" | 
             sed -ne '/BEGIN/,/END/p' |
             apt-key add -
       done
    done
    Now if I could just fix "W: GPG error: http://dell-mini.archive.canonical.com karmic-dell-mini Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F9FDA6BED73CDC22", I'd be really really pleased!

    j

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
  •