I’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
Related posts:
How to search files by content in Mac / Linux
How to avoid duplicate content using .htaccess
How to hide apache2 version number in error page
CentOS 7: How to setup TUI Firewall settings?
How to move cursor to end of file in vi editor
Common MySQL database maintenance command
N900 virtual keyboard not working after uninstall SCIM
How to check Linux distribution and version?
Share this with your friends:-
There is a better way for that simply run:
apt-key update
Great post! Really appreciate it.
Wow, excelent post man, you are so good!!
This is just what I needed to do.
Thank you so much and good luck 😉