728x90 AdSpace

  • Latest News

    Wednesday, 15 November 2017

    How to fix GPG error “NO_PUBKEY” when running apt-get update

    How to fix GPG error “NO_PUBKEY” when running apt-get update

    Yesterday when i try to add PPA repository for webupd8team, i get an error saying GPG error: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886. This happens on lubuntu 17.10 artful aardvark, so how do i fix this issue?

    There are two solution for this problem, the first one is by manually add the public key on your computer. The second solution is by installing y-ppa-manager that will take care the missing public key.

    Solution 1
    Use this special command for adding public key on your computer
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys [PUBKEY]
    
    sudo apt-get update
    
    where [PUBKEY] is the code that found on the error message right after NO_PUBKEY, for example mine was C2518248EEA14886, you might have different public key.

    Solution 2
    Installing y-ppa-manager will also solve the problem
    sudo add-apt-repository ppa:webupd8team/y-ppa-manager
    
    sudo apt-get update
    
    sudo apt-get install y-ppa-manager
    


    If You Like This Please Leave a Comment Or Share this Post

    Full Softwares Android Apps
    • Blogger Comments
    • Facebook Comments

    0 comments:

    Post a Comment

    Item Reviewed: How to fix GPG error “NO_PUBKEY” when running apt-get update Rating: 5 Reviewed By: Unknown
    Scroll to Top