Welcome to WebmasterWorld Guest from 54.166.224.46

Forum Moderators: bakedjake

Message Too Old, No Replies

Linux Kernels and RPM

Manually upgraded how do I stop RPM complaining?

     
2:06 pm on Oct 8, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

Hope someone might know the answer to this. I manually upgraded my kernel to 2.4.3 from 2.2.16 now whenever I try to install apps via RPM, RPM complains if there is a dependency on a 2.4 kernel. (Redhat 7.0 base)

It says failed dependency kernel >= 2.4 required.

Has anyone seen this before? and if you have how did you fix it?

I'm using a --no-dep to install stuff but would like a better way :)

Gethan

6:08 pm on Oct 8, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Did you install the kernel via RPM or from a tar? RPM keeps its own database of packages installed, so if you didn't do it through RPM it won't 'know' about your new kernel.

If that's the case, I think you'd have to get hold of an RPM of the kernel and reinstall that way - if not, then I don't know :)

7:05 pm on Oct 8, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yep through a tarball that I compiled myself -- lots of options to get sound working on my laptop and my digi camera through USB ;)

Overall most things work really well - just this one problem. (so far)

I've ploughed through so many past posts on Linux sites to fix this can't find it anywhere. I found the db's but it was not vi editable -- any ideas what reads and edits db3 files?

7:26 pm on Oct 8, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



From what I've heard, manually editing the RPM database is, well, risky... it's a binary file and likely to have checksums etc

A quick hack that might work: copy your compiled kernel somewhere safe, install a standard 2.4 kernel RPM, and then switch back to your custom one. I've never tried this, but see no reason why it wouldn't work.

Alternatively, download a source RPM (SRPM) of the kernel, and compile as usual with whatever options you need. This should keep the RPM database happy...

8:44 am on Oct 9, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> download a source RPM (SRPM) of the kernel, and compile as usual with whatever options you need.

Good idea :) I'll give it a go. I hope there is an RPM for this on one of my PCPlus DVD's - as I only have dialup :(

Thanks for the help Sugarkane - you've given me some good options that I hadn't thought of :)

 

Featured Threads

Hot Threads This Week

Hot Threads This Month