Today, I had tried to install ATI driver on my Linux Mint 11. The problem had come while I enable non-free packages.Because Linux Mint is base on Ubuntu and Debian too, so we need to edit source list:
sudo gedit /etc/apt/sources.list
Simply add non-free to the respective URLs you wish to use:
deb http://http.us.debian.org/debian stable main contrib non-free
Running apt-get update will update your local repo with the package listing. But you might be have an error like this:
W: GPG error: http://http.us.debian.org stable Release:
The following signatures couldn't be verified because the public key is not available:
NO_PUBKEY AED4B06F473041FA NO_PUBKEY 64481591B98321F9
This's because you have not GPG key in your machine. Try adding this by
quangngoc@quangngoc-Aspire-4820TG ~ $ gpg --keyserver subkeys.pgp.net --recv AED4B06F473041FA
gpg: directory `/home/quangngoc/.gnupg' created
gpg: new configuration file `/home/quangngoc/.gnupg/gpg.conf' created
gpg: WARNING: options in `/home/quangngoc/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/home/quangngoc/.gnupg/secring.gpg' created
gpg: keyring `/home/quangngoc/.gnupg/pubring.gpg' created
gpg: requesting key 473041FA from hkp server subkeys.pgp.net
gpg: /home/quangngoc/.gnupg/trustdb.gpg: trustdb created
gpg: key 473041FA: public key "Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
quangngoc@quangngoc-Aspire-4820TG ~ $ gpg --export --armor AED4B06F473041FA KEY | sudo apt-key add -
[sudo] password for quangngoc:
With some key, I have problem with key server:
quangngoc@quangngoc-Aspire-4820TG ~ $ gpg --keyserver subkeys.pgp.net --recv 64481591B98321F9
gpg: requesting key B98321F9 from hkp server subkeys.pgp.net ?: subkeys.pgp.net: Connection refused
gpgkeys: HTTP fetch error 7: couldn't connect: Connection refused
gpg: no valid OpenPGP data found. gpg: Total number processed: 0
Be best way is using it IP adress:
quangngoc@quangngoc-Aspire-4820TG ~ $ gpg --keyserver 195.113.19.83 --recv-keys 64481591B98321F9
gpg: requesting key B98321F9 from hkp server 195.113.19.83
gpg: key B98321F9: public key "Squeeze Stable Release Key <debian-release@lists.debian.org>" imported
gpg: no ultimately trusted keys found gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
quangngoc@quangngoc-Aspire-4820TG ~ $ gpg --export --armor 64481591B98321F9 KEY | sudo apt-key add
- OK
To find host IP adress, you nedd using
quangngoc@quangngoc-Aspire-4820TG ~ $ host subkeys.pgp.net
subkeys.pgp.net has address 195.113.19.83
subkeys.pgp.net has address 208.90.26.99
subkeys.pgp.net has address 213.239.206.174
subkeys.pgp.net has address 64.71.173.107
subkeys.pgp.net has address 116.240.198.71