[Yum] How to get yum to read package names from a file

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

 



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.dulug.duke.edu/pipermail/yum/attachments/20040215/fbd49e6e/attachment.bin

[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