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 upload file in Symfony 1.4
How to check if directory exists in Bash script
How to add Primary and Secondary DNS server - /etc/resolve.conf - Linux
Prestashop 1.6: "Unexpected token <" error when upload category thumbnail
How to loop thru directory files in bash shell
How to move cursor to end of line in vi editor
How to install SVN 1.6 on CentOS 5
How to insert new line (line break) in a cell - OpenOffice Calc
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 😉