I am using a set of local yum repositories and trying to install a set of packages from those repos. I noticed that when one of the packages on the command line does not exist, Yum just prints out that it was not found and goes along its merry way.
Can I make Yum quit when this happens? Is there some other Yum utility that I can use to give it my repos and my packages and tell me if there is a problem?
yum --disablerepo=* --enablerepo=myrepo --nogpgcheck \ --installroot=/var/some/place/test install \ abasdfasfeafseasfeasef bash coreutils utils-linux Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile No package **abasdfasfeafseasfeasef** available. No package **utils-linux** available. <snip> Complete!
I am calling Yum from another script and don't appear to have a way to tell if the packages that I installed are really installed.