-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quentin Harley wrote:
> rosea grammostola wrote:
>>
>> On Sat, Mar 28, 2009 at 5:52 PM, Quentin Harley <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> Hi 64 Studio beta testers.
>>
>> I backported the linux-kbuild-2.6.29 package just now, and managed to
>> install the 2.6.29 kernel headers :-)
>>
>> Easy to do as well...
>>
>> 1. Make sure the ubuntu repositories are all enabled in synaptic, as
>> well as the 64 studio 3.0 repositories.
>> 2. Add the following repository to your sources.list
>> * deb-src http://ftp.debian.org/debian/ sid main contrib
>> non-free # Debian unstable package sources
>> 3. In terminal:
>> * sudo apt-get update
>> * sudo apt-get build-dep linux-kbuild-2.6.29
>> * mkdir kbuild
>> * cd kbuild
>> * sudo apt-get -b source linux-kbuild-2.6.29
>> * sudo dpkg -i *.deb
>>
>> Now that the kbuild package is installed, the headers can be
>> installed:
>>
>> * sudo apt-get install linux-headers-2.6.29-1-all
>>
>> what is the key of the repo and how to add it?
>>
>> \r
>
> The key is not critical. I just did the above, and it works. It is
> actually a good reminder to remove the line from your sources.list
> afterwards.
>
You will get an error that has the key id in it if you do a sudo
aptitude update. Then you can import the key with something like:
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys <keyid>
gpg --armor --export <keyid> | apt-key add -
I do this often enough that I wrote a simple little shell script to take
care if it:
#!/bin/bash
#apt-import-keys.sh
USAGE="This script requires a GPG key as an input. \
E.g.: apt-import-keys.sh 2D6CFB44DD800CD9"
if [ "$#" == "0" ]; then
echo "$USAGE"
exit 1
fi
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys $1
gpg --armor --export $1 | apt-key add -
#
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAknO0GMACgkQwRXgH3rKGfOaVwCgh1/NPlynZNxr74AwelH81pS4
fyUAnihSd4h20pq/OWa1N/WcI5Q+wOS0
=hwvP
-----END PGP SIGNATURE-----
_______________________________________________
64studio-devel mailing list
[email protected]
http://lists.64studio.com/mailman/listinfo/64studio-devel