kernel.org source seems to be corrupted
Hi,
first I should say that I can unzip both .tar.gz and .tar.bz2 without problems normally. However, trying to unzip the kernel sources from kernel.org, with gzip I get, # gunzip linux-2.4.26.tar.gz Code:
gunzip: linux-2.4.26.tar.gz: invalid compressed data--crc error # bunzip2 linux-2.4.26.tar.bz2 Code:
bunzip2: Data integrity error when decompressing. Code:
... Quite confused, |
Perhaps your download had an error. Did you try tar -xvjf linux-2.4.26.tar.bz2?
|
on the debian machine, tar -xvjf linux-2.4.26.tar.bz2 outputs a long list of source files, and ends with
Code:
linux-2.4.26/include/asm-alpha/core_apecs.h Code:
Cannot change ownership to uid 573, gid 573: Operation not permitted |
Quote:
Quote:
Hope it helps |
Thanks for the help. It seems that if I do tar -xjvf as a regular user instead of as root, the extractiong works fine. This is on the debian machine, with the same file that was "corrupted" when I tried to extract as root. Oh well, I don't understand, but I'll take it and run anyway if it works...
|
maybe I just have a really nutty machine -- tried copying the unzipped directory over to /usr/src:
Code:
cp -r linux-2.4.26 /usr/src This thing is driving me nuts. |
Basically if you extract as root the default behaviour is for files inside a tar archive to retain the same UID and GID as when they were packed. In this case this kernel's files were owned by a user and group with id 573. But on your machine there is no user or group with a numeric id of 573: hence the operation is not permitted.
As for your other problem I'm afraid I have no idea. Sorry |
Thanks for the help again, I've solved it now. This is a machine that was given to me for free and all sorts of things were giving me weird errors. I tried taking out one of the memory sticks and now everything works fine. It was either bad or mismatched memory.
|
All times are GMT -5. The time now is 05:05 AM. |