[Yum] Problem installing multiple rpms

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

 



> > I'm having problems installing multiple rpm's with the same yum
> > invocation, if the first rpm is installed.  For example, I have
> > cyrus-imap installed, but not cyrus-imapd-utils.  I'm=20
> running a script
> > that decides it wants to install both of these packages.  The script
> > isn't smart enough to know what's already installed, so it=20
> just runs yum
> > to install both.  Yum says:

> It's expected behavior.
>=20
> yum update acts similarly - if you invoke it with
>=20
> yum update pkg1 pkg2 pkg3
> and pkg1 is fully updated then it will exit, too.
>=20
> How would you expect it to work?

When the command has completed, I'd expect everything to be installed
that I asked it to install, without regard to whether it was already
intalled.  I'm trying to say "whatever it takes, make sure all of these
packages are installed/updated."  Where "whatever it takes" can be
optionally nothing.  But I can see the points you make in a subsequent
post.

A command line option for this behavior would be fine with me.  In the
meantime, my workaround is just to run yum multiple times.

Eric


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux