Getting error while running apt-get update
        Posted  
        
            by 
                pradeepchhetri
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by pradeepchhetri
        
        
        
        Published on 2013-11-05T13:33:34Z
        Indexed on 
            2013/11/05
            15:57 UTC
        
        
        Read the original article
        Hit count: 337
        
I am getting the following error while running  apt-get update on all of the servers.
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.
Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AA6247928553
W: Some index files failed to download, they have been ignored, or old ones used instead.
The solutions available are:
 To login into each of the server and run the following command to import the gpg key for that repo.
 sudo gpg --keyserver hkp://subkeys.pgp.net --recv-keys 8B48AA6247928553
 sudo gpg --export --armor 8B48AA6247928553 | sudo apt-key add - 
But this requires logging into all of the individual servers and run the above two commands.
I am looking for a way to correct by working on apt-repo server. Is there any way to do that.
© Server Fault or respective owner