Re: yum localupdate compains arguement list too long

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

 



On Wed, Dec 06, 2006 at 08:15:08AM -0800, Barry Yu wrote:
> I downloaded and stored all the rpm update packages in folder where I plan
> to use for other new install of Fedora systems so each of them won't need
> to do yum update through Internet.

Well, the real solution here is to also download the metadata needed for
yum and then configure this as your repository rather than using
localupdate. That said....

> When I used yum localupdate /mnt/allrpmupdates/*.rpm, the yum displayed  a
> message "arguement list too long" and then stopped doing anything, when I
> issued yum localupate /mnt/allrpmupdates/a*.rpm , yum started the local
> update and I have to repleat yum localupdate b*.rpm, c*.rpm to z*.rpm.

Use `find /mnt/allrpmupdates/ -name '*.rpm' | xargs yum localupdate` to get
around the shell limitation on argument length.


-- 
Matthew Miller           mattdm@xxxxxxxxxx          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux