Re: yum updates

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



Kai Schaetzl wrote:
> Johnny Hughes wrote on Thu, 20 Dec 2007 12:00:27 -0600:
> 
>> --exclude=openoffice\*
> 
> shouldn't that be --exclude=openoffice* ?
> At least that syntax is what I use in the repo files.
> 
> exclude=openoffice*

Both will work ... the \ means do not expand the wildcard as a command
in the shell (do a google search for "shell expansion" if this does not
make sense :D).  In this case it does not really matter, but if it was
something like this it might:

yum install kernel\*

(if you had a file named kernel-badstuff.i386.rpm in your current
directory and if you only wanted to install things from mirrors and not
your current directory then you would need the \)




Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux