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

Thread: Problem with running sudo apt-get update

  1. #1
    Join Date
    Jun 2012
    Beans
    20

    Smile Problem with running sudo apt-get update

    Hello, guys. I am trying to update my system (Ubuntu 12.04) but after a certain point I get this message (I have partly edited it, but the meat is there, as it were):



    W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A5D712AEE06E6293
    W: Failed to fetch cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)/dists/precise/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognised by APT. apt-get update cannot be used to add new CD-ROMs

    W: Failed to fetch cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)/dists/precise/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognised by APT. apt-get update cannot be used to add new CD-ROMs

    E: Some index files failed to download. They have been ignored, or old ones used instead.


    I am especially interested in finding out what that last statement means. Any help will be greatly appreciated

  2. #2
    Join Date
    Jul 2012
    Location
    Cincinnati, OH
    Beans
    179
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Problem with running sudo apt-get update

    It looks like you added a repo that needed a gpg key.

    See this article on how to fix it.

    The last line isn't too important ... basically since you don't have the key nothing else will happen.
    Best,
    Lev

    [Personal Blog]

  3. #3
    Join Date
    Jun 2012
    Beans
    20

    Wink Re: Problem with running sudo apt-get update

    levlaz, thank you. I'm checking it out now

  4. #4
    Join Date
    Feb 2012
    Location
    el_GR
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Problem with running sudo apt-get update

    Hi ,
    please go to Update Manager > Settings > Ubuntu Software and Un-tick CdRom .

    OR an other way


    Open a terminal (Ctrl+alt+t )
    and write
    Code:
    gksudo software-prorerties-gtk
    and again , Unitck Cdrom .

    Thanks

  5. #5
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Problem with running sudo apt-get update

    Code:
    gpg --keyserver keyserver.ubuntu.com --recv  A5D712AEE06E6293
    gpg --export --armor A5D712AEE06E6293 | sudo apt-key add -
    Should deal with the signatures - likely that you added a PPA without adding the signatures as well.

  6. #6
    Join Date
    Jun 2012
    Beans
    20

    Smile Re: Problem with running sudo apt-get update

    Hey, NikTh, thank you. I've done that. I'll now wait to see how it goes.

  7. #7
    Join Date
    Jun 2012
    Beans
    20

    Smile Re: Problem with running sudo apt-get update

    Thank you, Elfy!

  8. #8
    Join Date
    Jun 2012
    Beans
    20

    Unhappy Re: Problem with running sudo apt-get update

    Hey, still nothing. From Elfy's solution all I'm getting is:


    gpg: no valid OpenPGP data found.

  9. #9
    Join Date
    Feb 2012
    Location
    el_GR
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Problem with running sudo apt-get update

    Hi ,
    please try these commands
    Code:
    sudo rm -rf /var/lib/apt/lists/*
    sudo apt-get autoclean 
    sudo apt-get clean all
    sudo apt-get update
    and post the results of
    Code:
    sudo apt-get update 
    cat /etc/apt/sources.list
    Put the results inside [CODE] tags , by highlighting the text and click # symbol on top of message pane.

    Thanks

  10. #10
    Join Date
    Nov 2010
    Beans
    123

    Re: Problem with running sudo apt-get update

    Here's a terminal free solution I use :

    first take a look at the hash code of your gpg ( that long garble after NO_PUBKEY )

    Now goto keys.indymedia.com and in the bar that asks for key id , put in

    0x(your hash code here)

    in your case , this is 0xA5D712AEE06E6293

    you'll now be directed to a page that gives you the gpg key : click on the blue hyperlink after "pub" . Now copy the entire text and paste it in a blank file ( create new document ) on your desktop ( or anywhere you like , it doesn't matter ) . Now go to software sources ( you can do this by clicking on the settings button in the ubuntu update dialog ) and goto the authentication tab .

    Here , click on import key file and import the document you just saved .

    AAand yu're done ! Its a bit lengthy , I know , but its terminal free

    Cheers

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
  •