homepage Welcome to WebmasterWorld Guest from 174.129.130.202
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Linux Kernels and RPM
Manually upgraded how do I stop RPM complaining?
gethan




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

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

 

sugarkane




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

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 :)

gethan




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

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?

sugarkane




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

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...

gethan




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

> 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 :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved