Add the repository key to the list of trusted keys
The next stage is to add the repository key to the list of trusted keys which can be achieved by downloading the Release.key to the device then using the apt-key add command to append it to the trusted keys list.
# wget http://repos.*/rmmagent/distribution/Release.key # apt-key add Release.key |
# wget http://repos.systemmonitor.co.uk/rmmagent/distribution/Release.key --2012-09-04 10:20:07-- http://repos.systemmonitor.co.uk/rmmagent/distribution/Release.key Resolving repos.systemmonitor.co.uk... 92.52.124.253 Connecting to repos.systemmonitor.co.uk|92.52.124.253|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1033 (1.0K) [text/plain] Saving to: `Release.key' 100%[======================================>] 1,033 --.-K/s in 0s 2012-09-04 10:20:13 (96.9 MB/s) - `Release.key' saved [1033/1033] # apt-key add Release.key OK |
Please note the apt-key command must run from the directory the Release.key was downloaded to.
Although it is possible to combine the above two steps into one command:
# wget -O - http://repos.*/rmmagent/distribution/Release.key | apt-key add - |
# wget http://repos.systemmonitor.co.uk/rmmagent/distribution/Release.key | apt-key add - --2012-09-04 10:20:07-- http://repos.systemmonitor.co.uk/rmmagent/distribution/Release.key Resolving repos.systemmonitor.co.uk... 92.52.124.253 Connecting to repos.systemmonitor.co.uk|92.52.124.253|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1033 (1.0K) [text/plain] Saving to: `STDOUT' 100%[======================================>] 1,033 --.-K/s in 0s 2012-09-04 10:36:03 (95.1 MB/s) - `-' saved [1033/1033] OK |
Note: replace distribution with the version of Linux, for example rmmagent/Debian_5.0/Release.key