Remeber that you have to do a "aptitude update" or click on Reload in Synaptic after adding keys. If you add the key and then immediately do "aptitude install latestcoolappforaurora" you still get a GPG key error.
In your example wget saved the key as a file to the hard drive and apt-key then read the file off the drive rather than any information being passed through the pipe (|)
The " - " in about commands indicate stdout and stdin and the pipe takes the stdout from wget and passes it along to stdin of apt-key which is where it expects to read from as you gave it - instead of a filename.
Code:
wget | apt-key \ / -> file ->
The pipe above isn't actually used at all, the data is written to a file first and then separately read from that file.
Code:
wget -> | -> apt-key
The data gets passed directly through the pipe from one command to the other with no intermediate file required (ignoring the fact that strictly speaking a pipe is also a file )
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum