[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to install a bunch of RPMS if some are already installed?
- From: Jag <agrajag dragaera net>
- To: rpm-list redhat com
- Subject: Re: How to install a bunch of RPMS if some are already installed?
- Date: 25 Jul 2002 14:37:24 -0400
On Thu, 2002-07-25 at 12:52, Alan Hagge wrote:
> Hi all,
>
> Hopefully this is easy and I've just overlooked something, but I've
> checked man pages, mailing lists, FAQs, etc. to no avail. Here's what I
> want to do:
>
> I have a directory with a collection of RPMS in it. I need to install
> ALL of these RPMS on my machine. The caveat is that SOME are already
> installed. So the behavior I'm looking for is:
>
> - If a package isn't installed, install it.
> - If a package is installed, but is older, upgrade it.
> - If a package is installed and the same version as the one in the
> directory, do nothing.
>
> What rpm command can give this behavior? rpm -i or -U will complain
> that some packages are already installed and refuse to install the
> others. rpm -F won't install/upgrade anything that's not already
> installed. And I can't find an option to tell -i or -U to continue even
> if some packages are already installed.
>
> Any hints, suggestions, workarounds, etc. GREATLY appreciated.
This is what librpm, rpm-python, and rpm-perl are for :)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]