In the console issues:

GPG Error: http://ppa.launchpad.net trusty InRelease: The following signatures cannot be verified because the public key is unavailable: NO_PUBKEY C2518248EEA14886

I tried to do:

$ sudo add-apt-repository --remove ppa:launchpad.net 

but nothing comes out. how to remove it? I can't do apt-get update to the end.

Here is all that is displayed in the console:

Received: 42 http://ppa.launchpad.net trusty InRelease [15.5 kB]
Ign http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net trusty / main Sources / DiffIndex
Ign http://ppa.launchpad.net trusty / main amd64 Packages / DiffIndex
Ign http://ppa.launchpad.net trusty / main i386 Packages / DiffIndex
In cache http://ppa.launchpad.net trusty / main Translation-en
In cache http://ppa.launchpad.net trusty / main Sources
In cache http://ppa.launchpad.net trusty / main amd64 Packages
Cached http://ppa.launchpad.net trusty / main i386 Packages
Ign http://ppa.launchpad.net trusty / main Translation-en_RU
Ign http://ppa.launchpad.net trusty / main Translation-ru
Received 627 kB for 9s (68.8 kB / s)
Reading package lists ... Done
W: GPG Error: http://ppa.launchpad.net trusty InRelease: The following signatures cannot be verified because the public key is not available: NO_PUBKEY C2518248EEA14886

Debian 8 OS

    1 answer 1

    unfortunately, you didn’t give all the information that apt-get gave you. there should have been indicated the name of the repository with which problems arose.

    judging by the references to the line C2518248EEA14886 found on the Internet, this key signifies packages either in the webupd8 repository, or in the vlc repository.

    To “turn off” the repository, you can, for example, comment out the lines in which these words occur ( webupd8 or vlc ). the necessary files can be found, for example, like this:

     $ grep -rlE '(webupd8|vlc)' /etc/apt/sources.list* 

    “Comment out” is to insert the # character at the beginning of a line.


    addition

    if the search words were not found, you should look for the words ppa or trusty :

     $ grep -rlE '(ppa|trusty)' /etc/apt/sources.list* 

    due to the fact that the debian distribution does not use the default “left” repositories (from the same, for example, the site ppa.launchpad.net ), and trusty is the codename of one of the releases of the other distribution, ubuntu , you hardly have many . try to comment them all out. or selectively, until the error disappears.

    • one
      Or you can add a key with a fairly universal command: apt-key adv --keyserver keyserver.ubuntu.com --recv-keys "$(apt-get update 2>&1 | grep -o "[0-9A-F]\{16\}" | xargs)" - don Rumata
    • @donRumata, well, I answered directly to the question asked. write and your answer (do not forget to agree on quotes). - aleksandr barakin
    • Updated the post, I hope now enough information. - Depish
    • @eSkry, added the answer. - aleksandr barakin
    • @alexanderbarakin, the answer is to cut into scrap, and given that the person has debian, I would generally advise doing sudo rm /etc/apt/sources.list.d/*ppa* . - don Rumata