Toralf Lund wrote:
Something I've been wondered about for as long as I've been using RPM:
Is there a way I can get rpm -U or similar to simply skip any package where the same ore a newer version is installed, but go ahead and install the ones that need upgrade or first-time installation, rather than simply exiting when the situation occurs?
If you are not familiar with apt and yum, take a look at http://www.fedora.us/ and http://www.fedora.us/wiki/FedoraHOWTO They may fit your needs.
I've looked at these tools earlier, and they may certainly be useful, but I'm not sure if they handle exactly the situation I'm describing here. I anyone knows, please tell me.
This is still somewhat besides the point, though, as I think rpm itself should do something like this.
Also, rpm --freshen may do some of what you want.
That's the same as -F, isn't it? Yes that would do *some* of what I want. I could do
1. Pick the packages that aren't installed already 2. rpm -U <those packages> 3. rpm -F <everything>
to get the desired effect. However, I want *one* command that does this. In particular, I'd like to have a mode where rpm automate the manual job described in 1)
HTH,
Eli --------------------. "If it ain't broke now, Eli Carter \ it will be soon." -- crypto-gram eli.carter(a)inet.com `-------------------------------------------------
------------------------------------------------------------------------ Confidentiality Notice: This e-mail transmission may contain confidential and/or privileged information that is intended only for the individual or entity named in the e-mail address. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or reliance upon the contents of this e-mail message is strictly prohibited. If you have received this e-mail transmission in error, please reply to the sender, so that proper delivery can be arranged, and please delete the message from your computer. Thank you. Inet Technologies, Inc. ------------------------------------------------------------------------
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list