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 install LAMP (Apache, PHP and MySQL in Linux) using Yum
How to block all file access except one using .htaccess
Secure file transfer thru scp in Mac and Linux
Contact Form 7: Clear all field except specific after submission
How to split compressed file into smaller files in Linux / Mac
How to change system date in Linux
How to send message to syslog server?
How to split large file into several smaller files - Linux
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 😉