Hi All,
I tried dowloading the linux staging tree through git clone
and in the next step " ketchup `cat ../staging/version`" downloaded few MB of partial kernel to root/.ketchup and while checking for gpg signature it failed.I am pasting the same contents below, kindly please help me in resolving this or if any mistakes i have made(please do point out). i am newbie, learning applying patches, this is the nice way to learn stuff getting staging tree.
[root@turtle22 linux-staging]# ketchup `cat ../staging/version`
None -> 2.6.26-rc7 Downloading linux-2.6.25.tar.bz2 --12:16:54-- Resolving ... 204.152.191.37, 204.152.191.5 Connecting to www.kernel.org|204.152.191.37|:80... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 48601689 (46M), 44302160 (42M) remaining [application/x-bzip2] Saving to: `/root/.ketchup/linux-2.6.25.tar.bz2.partial'100%[+++++=======================================================>] 48,601,689 5.06K/s in 76m 31s
13:33:32 (9.42 KB/s) - `/root/.ketchup/linux-2.6.25.tar.bz2.partial' saved [48601689/48601689]
Downloading linux-2.6.25.tar.bz2.sign
--13:33:32-- Resolving ... 204.152.191.37, 204.152.191.5 Connecting to www.kernel.org|204.152.191.37|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 248 [application/pgp-signature] Saving to: `/root/.ketchup/linux-2.6.25.tar.bz2.sign.partial'100%[============================================================>] 248 --.-K/s in 0s
13:33:39 (36.8 MB/s) - `/root/.ketchup/linux-2.6.25.tar.bz2.sign.partial' saved [248/248]
Verifying signature...
gpg: Signature made Thu 17 Apr 2008 08:52:46 AM IST using DSA key ID 517D0F0E gpg: Can't check signature: public key not found ketchup: gpg returned 512 ketchup: removing files... Downloading linux-2.6.25.tar.gz --13:33:40-- Resolving ... 204.152.191.5, 204.152.191.37 Connecting to www.kernel.org|204.152.191.5|:80... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 61517918 (59M), 61482230 (59M) remaining [application/x-gzip] Saving to: `/root/.ketchup/linux-2.6.25.tar.gz.partial'100%[============================================================>] 61,517,918 12.6K/s in 2h 8m
15:41:56 (7.81 KB/s) - `/root/.ketchup/linux-2.6.25.tar.gz.partial' saved [61517918/61517918]
Downloading linux-2.6.25.tar.gz.sign
--15:41:56-- Resolving ... 204.152.191.5, 204.152.191.37 Connecting to www.kernel.org|204.152.191.5|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 248 [application/pgp-signature] Saving to: `/root/.ketchup/linux-2.6.25.tar.gz.sign.partial'100%[============================================================>] 248 --.-K/s in 0s
15:41:57 (33.9 MB/s) - `/root/.ketchup/linux-2.6.25.tar.gz.sign.partial' saved [248/248]
Verifying signature...
gpg: Signature made Thu 17 Apr 2008 08:43:18 AM IST using DSA key ID 517D0F0E gpg: Can't check signature: public key not found ketchup: gpg returned 512 ketchup: removing files... ketchup: Tarball download failedThanks in advance
At the shell prompt (as root?):
gpg --keyserver wwwkeys.pgp.net --recv-keys 0x517D0F0E
Many times this server (wwwkeys.pgp.net) is down or very slow which will cause scripts to fail. A better scripting practice is to set a flag file once the server finally sends the key (when the return code from gpg is 0) so that this step is not done each time.