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/>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux