kernel source installation failure

hubristic
hubristic used Ask the Experts™
on
When I try to install the source for the kernel (for purposes of modem driver installation), I get the following output. Can anyone tell me what is going wrong? I'm using Mandrake 9.0.


root@localhost tmp]# urpmi kernel-source-2.4.19-16mdk.i586.rpm
problem reading synthesis file of medium "tmp"
installing ./kernel-source-2.4.19-16mdk.i586.rpm

Preparing...                ##################################################
   1:kernel-source          #####error: unpacking of archive failed on file /usr/src/linux-2.4.19-16mdk/arch/i386/kdb/kdbasupport.c;3e0736da: cpio: MD5 sum mismatch
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Sounds like a corrupted RPM, possibly as a result of urpmi having a problem creating (or writing to) a tmp directory.  This could simply be a permissions problem.  Make sure you've got write permission to ./tmp.

Also try downloading the RPM direct and installing the source the usual way, without using urpmi:

ftp://rpmfind.net/linux/Mandrake/9.0/i586/Mandrake/RPMS/kernel-source-2.4.19-16mdk.i586.rpm
Commented:
type rpm --checksig kernel-source-2.4.19-16mdk.i586.rpm
 to determine if you have a corrupted rpm.

Author

Commented:
I don't think it's a corrupted rpm, as I got an error message when I tried to install it from the installation cd using mdk Software Manager. I then downloaded it again from an ftp server and tried the command 'urpmi kernel-source etc...' which led to the above error message and my reasons for asking for help.

I tried what garboua suggested. I typed "rpm --checksig kernel-source-2.4.19-16mdk.i586.rpm" and got the following:
error: kernel-source-2.4.19-16mdk.i586.rpm: No signature available

What does this mean?
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Commented:
rpm 4.x now does signature checking by default, and it sounds to me like you've got a faulty signature.  That could mean either
a) they screwed up the rpm when they packed in the signature bits,
b) they left it out altogether for some reason, or
c) (unlikely under the circumstances) that someone has tampered with the rpm.

As it happens there is a new version 2.4.20 of Mandrake kernel-source as of 9 Dec:
http://www.rpmfind.net//linux/RPM/cooker/cooker/i586/Mandrake/RPMS/kernel-source-2.4.20-2mdk.i586.html

You might give that new version a shot: I don't see anything in the changelog about earlier problems with the signature, but maybe they simply push these out so fast that no-one reported the bug.
hubristic:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is to:

Points split between jdfox and garboua

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Paul
EE Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial