Howto selectively choose which rpm deps to override?

Matthew Saltzman mjs at ces.clemson.edu
Sun Apr 16 17:36:11 UTC 2006


On Sat, 15 Apr 2006, Ed Wilts wrote:

> On Sat, Apr 15, 2006 at 01:29:09PM -0500, Matt England wrote:
>> Scenario:
>>
>> I want to install a new-package.rpm package that depends on the postgresql
>> database rev X.  However, I've built postgresql rev X from source and
>> installed it using 'make install'.
>>
>> What do I do?
>
> You don't do what you did.  You should have built an rpm for postgresql
> rev X and installed it.  The new-package should have listed this as
> dependency.
>
>> Can I somehow tell the 'rpm -Uhv new-package.rpm' command to selectively
>> "overlook" the postgresql dependency, but no other dependencies?
>
> No.
>
>> Or must I run a normal command, resolve all the other dependencies first,
>> and then run something like a '--force' (or whatever the rpm
>> override-dependency command is) to effectively override just the postgres
>> dep?
>
> This is just plain bad.  rpm is there for a good reason and mixing rpm
> and non-rpm packages is asking for a mess.  Don't cheat the system and
> don't ask people to install with a --force (way, way too many people
> have shot themselves in the foot using --force).

--force has nothing to do with dependencies anyway.  The 
dependency-override option is --nodeps.  The same warnings apply, however, 
in spades.

>
>        .../Ed
>
>

-- 
 		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs




More information about the redhat-list mailing list