[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpm -U *.rpm and installed packages
- From: Alexander Jolk <alexj buf com>
- To: rpm-list redhat com
- Subject: Re: rpm -U *.rpm and installed packages
- Date: Mon, 21 Jan 2002 18:31:54 +0100
seth vidal wrote:
> On Mon, 2002-01-21 at 09:30, Alexander Jolk wrote:
> > I'm doing a rpm -U *.rpm in the directory, but if rpm finds
> > that at least one of the rpms is already installed, it will abort, not
> > installing anything.
> This is correct behavior. Remove the file of the package that you
> already have installed and run rpm -U *.rpm again.
While this behaviour might be correct for some cases, I believe it is
rather stupid for others. Rpm has the capability to reorder packages
for installation, so I don't think I should be forced to do so myself.
That's what rpm -i * is for, isn't it? So if I want it to install
everything, how should I go about it? Removing the already installed
rpms is not an option, because I want this to work from a mirror of
redHat's updates section that is accessed by many machines. I'm afraid
I'll be forced to hack up a loop over all rpms, checking for each one in
turn whether it is installed myself. Seems stupid since rpm does the
same thing after me, doesn't it? I assumed sheepishly that rpm would
offer an option like '--ignore-installed'.
Alex
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]