LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-11-2004, 01:26 PM   #1
Clived
Member
 
Registered: Jan 2004
Location: Toronto
Distribution: Fedora 23, Linuxmint 17.3
Posts: 117

Rep: Reputation: 17
Angry Bad signature problems upgrading Mandrake 9.1 kernel


Hello

I have been running Mandrake 9.1 for about 3 months now. There was a memo posted earlyin December on the Mandrake site, suggesting to upgrade the stock kernel which came with the distro kernel-2.4.21.0.13mdk to 2.4.21.0.26mdk which was patched to guard against a root exploit. This upgrade seemed to go ok, and I recall using the urpmi tool for this upgrade. Since then I have tried to upgrade my kernel twice since then, first to 2.4.21.0.27 mdk and also to 2.6.0.1mdk. In both cases, the urpmi tool as well as "rpm --checksig kernelwhatever.rpm" reported a "bad signature" and borked the installation. I got these rpms from the Mandrake cooker site, so I would presume that they have not been tampered with.
I noticed that one of the guys in this forum had the same problem with mandrake 9.2, hopefully someone will offer a workaround.

Clive
 
Old 01-18-2004, 09:23 PM   #2
Gary987
Member
 
Registered: Oct 2003
Distribution: Gentoo, Mint, Ubuntu, Vector
Posts: 174

Rep: Reputation: 17
The mandrake cooker site is developmental stuff and proably will not run properly..

I run Mandrake 9.1 with 2.4.22-21mdk and it works fines..

Unfortunately it requires alot of dependencies which can be only satisfied easily by installing mandrake 9.2

If you arent afraid of recompiling you kernel you can upgrade to 2.4.22-21mdk.

Drop me an email if you need some help..

Gary
 
Old 03-02-2004, 11:17 AM   #3
AZDAVE
Member
 
Registered: Aug 2003
Posts: 82

Rep: Reputation: 15
Gary, Hi.. I am running a -2.4.21-0.26mdk kernel on mandrake 9.1. Where can I find a site that tells me now I can upgrade my kernel to a new version. step by step.
thanks
 
Old 03-02-2004, 04:12 PM   #4
Gary987
Member
 
Registered: Oct 2003
Distribution: Gentoo, Mint, Ubuntu, Vector
Posts: 174

Rep: Reputation: 17
linux-2.4.22-21mdk

Kinda busy..

for 2.6 kernel visit kerneltrap.org. lots of info here. *** This will take considerable more time to comprehend *** and may be a real pain until Mandrake gets a good stable 2.6 release


but basically do this for 2.4 kernel..


*****It would be a great idea to have anything of importance BACKED UP on CD or usb stick etc.. before doing any of the following *****

become root


download and install kernel-source-2.4.22-21mdk.i586.rpm (just an example)

cd /usr/src/linux-2.4.22-21mdk

make xconfig

you'll get a GUI interface here... I wouldn't change anything expect maybe the processor optimizations if you want.(I've tried omitting stuff I don't need but Mandrake seems to be dependant on alot of kernel modules whether you use them or not)

*save and exit* option

make dep
make bzImage
make modules **this will take considerable time**
make modules_install

cp /usr/src/linux-2.4.22-21mdk/arch/i386/boot/bzImage /boot


edit /etc/lilo.conf with some text editor

add the following entry (this is a sample entry!) the append section might be different. Use what's in the lilo.conf file as a template to create your own entry.

image=/boot/bzImage
label="newkernel"
root=/dev/hda1
append="devfs=mount hdc=ide-scsi hdd=ide-scsi acpi=off quiet"
vga=788
read-only

then type lilo

*assuming you have gotten no errors* reboot and select newkernel at the boot screen

It would be a great idea to have anything of importance backed up on CD or usb stick etc..
before doing any of the following

Have fun,

Gary
 
Old 03-03-2004, 10:24 AM   #5
AZDAVE
Member
 
Registered: Aug 2003
Posts: 82

Rep: Reputation: 15
Thank You Gary,
vmlinuz-2.4.21-0.26mdksecure is my current version of kernel. I went to the Mandrake site and read the advisory. It said there was a 2.4.21.0.28mdk-1-1mdk.i586.rpm I cant find it anywhere. I was hoping that there was a rpm package to install..
Thanks for your time.
 
Old 03-04-2004, 03:55 PM   #6
Gary987
Member
 
Registered: Oct 2003
Distribution: Gentoo, Mint, Ubuntu, Vector
Posts: 174

Rep: Reputation: 17
Hey AZDAVE


http://rpmfind.net//linux/RPM/mandra...1mdk.i586.html

Gary
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bad signature problems.... jnassiri Mandriva 0 08-22-2004 12:16 AM
BAD Signature!! What to do? codedv Linux - General 3 07-11-2004 06:15 AM
gaim ----bad signature ????????????? varunk123456 Linux - Newbie 1 04-01-2004 04:02 PM
Rpmdrake 9.2 refuses to install kernel source rpm due to bad signature zegracia Mandriva 14 01-11-2004 06:38 PM
'bad signature' real-tech Linux - Software 1 03-27-2003 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration