PDA

View Full Version : [all variants] Can't extract kernel source



talonstriker
May 21st, 2008, 03:54 PM
Hi guys,
I tried to extract the kernel source and I'm a crapload of errors.
Here's the command I used:
sudo tar -jxvf linux-source-2.6.24.tar.bz2

Here's the output:
tar: linux-source-2.6.24/arch/powerpc/platforms/44x/Kconfig: Cannot open: No such file or directory
(+ a million more similar errors with diff file names)

Any idea how I can extract the file? I doubt that the file is corrupted since I can browse through all its contents thru Ark.

tamoneya
May 21st, 2008, 03:58 PM
can you check permissions. If the permissions are wrong then it would try to make a directory, fail, then try to place a file in the directory and then discover that the directory doesnt exist.

ls -la

talonstriker
May 21st, 2008, 06:50 PM
Eh I was attempting to extract it as root.... So it should have worked right? Anyways I'll try that once I get home.
Thanks for the suggestion.

tamoneya
May 21st, 2008, 07:32 PM
Eh I was attempting to extract it as root.... So it should have worked right? Anyways I'll try that once I get home.
Thanks for the suggestion.

Sorry I forgot about the sudo part. What is the current location of the tar.gz file.