2011/07/16

ubuntu tips: how to add repository using apt-key

sometime i cannot access to keyserver.ubuntu.com, and cannnot automatically update my package repository using add-repository command. here I show you how manually update my package repogitory.

# get gpgkey from anywhere... 
> sudo apt-key add ${gpgkey_file}
# edit /etc/apt/sources.list for update repositories
> sudo apt-get update 

No comments:

Post a Comment

100