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:
Symfony Filter: Change ForeignKey drop down to Text field
How to flush DNS cache in Linux / Windows / Mac
How to delete all .svn folder in Linux / Mac?
Free image editor for Mac OS X / XP / Vista / Linux
Speed Up and Save Your Website Bandwidth with GZip Compression
How to enable personal file sharing in Ubuntu 10.04
How to migrate SVN repository?
CentOS 7: How to setup TUI Firewall settings?
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 😉