Debian: “There is no public key available for the following key IDs”


debianI’m trying to install apache thru apt-get, but it shows:-

W: There is no public key available for the following key IDs:
4D270D06F42584E6
W: You may want to run apt-get update to correct these problems

Even i run apt-get update, it wont solve the problem. after going thru some forum and mailing list, i finally found the solution.

To fix this “no public key available” problem, follow the steps below:-

Advertisements

  • Go your shell and type
    $ apt-get install debian-keyring debian-archive-keyring
  • Once debian-keyring and debian-archive-keyring installed, you now perform
    $ apt-get install

  • Once "apt-get install" finish executed, you may continue to install your program and the error - "There is no public key available for the following key IDs" will not be shown again



Share this with your friends:-

3 Responses to “Debian: “There is no public key available for the following key IDs””

  1. David says:

    There is a better way for that simply run:

    apt-key update

  2. Norbert says:

    Great post! Really appreciate it.

  3. Dimitri Paolino says:

    Wow, excelent post man, you are so good!!

    This is just what I needed to do.

    Thank you so much and good luck 😉

Leave a Reply