Re: Howto selectively choose which rpm deps to override?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux