LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Error upgrading kernel, /sbin/mkinitrdi integer expression expected (https://www.linuxquestions.org/questions/linux-general-1/error-upgrading-kernel-sbin-mkinitrdi-integer-expression-expected-122657/)

amp2000 12-04-2003 10:03 AM

Error upgrading kernel, /sbin/mkinitrdi integer expression expected
 
I'm trying to upgrade my kernel but I am getting an error, here's what I do
Code:

[root@oss root]# rpm -Uvh --force kernel-2.4.20-24.7.i686.rpm
Preparing...                ########################################### [100%]
  1:kernel                ########################################### [100%]
ls: : No such file or directory
/sbin/mkinitrd: [: : integer expression expected

Can anyone tell me what this error means.

Thanks in advance ;)

teval 12-04-2003 06:31 PM

Yes, don't use rpms do compile a kernel. They are bad enough for normal programs. :)

Get the sources from kernel.org and use the kernelhowto at tldp.org (or another howto on compiling a kernel). Make sure to get the newest 2.6 kernel, 2.6-test11, 2.6 is superior to 2.4. It's faster, and has a heck of a lot of more features.

amp2000 12-05-2003 05:38 AM

LOL, thanks teval, I kinda figured "rpm -Uvh kernel-2.4.20-24.7.i686.rpm" was a bit ambitious. :rolleyes:
I guess I'll have to do some reading on that howto & do it by hand.


All times are GMT -5. The time now is 06:17 AM.