[Yum] YUM install/update

seth vidal skvidal at linux.duke.edu
Fri Nov 10 14:39:38 UTC 2006


On Fri, 2006-11-10 at 16:35 +0200, Vadim Lvovsky wrote:
>  Hello.
> 
>  I have installed my rpm package from some YUM repository.
> 
> # yum -y install mypackage
> 
>  This package requires bind, bind-libs and bind-utils packages. YUM has
> installed my package and required packages, what hadn't been installed. But 
> YUM hasn't updated bind-libs, what had been installed.
>  
> I can update bind-libs with YUM:
> 
> # yum -y update bind-libs
> 
> But I need to install and update all required packages with the only one YUM  
> command. Is it possible? Please, help.

why only one command?

what keeps you from doing:

yum -y install mypackage ; yum update

or

make a file with this in it:

install mypackage
update
run
quit

save it then run:

yum -y shell /path/to/that/file

-sv





More information about the Yum mailing list