[Yum] How to get yum to read package names from a file
Garrick Staples
garrick at usc.edu
Sun Feb 15 18:31:32 UTC 2004
On Sun, Feb 15, 2004 at 12:22:29PM -0600, Satish Balay alleged:
>
>
> On Sun, 15 Feb 2004, Alex Eskin wrote:
>
> > I tried "xargs foo | yum install"
>
> cat foo | xargs yum install
That doesn't work. yum will backtrace when it tries to prompt the user. The
solution is to add -y, which the original email expressly forbade.
Perhaps something simple like:
yum install `cat foo`
--
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum/attachments/20040215/fbd49e6e/attachment-0001.pgp
More information about the Yum
mailing list