Hi,
Is there a way to still do the yum updates but not update the openoffice.
Right now, I do it one at a time.
As offered this will not work. It must have two (2) hyphens before the word "exclude", thus:
yum update --exclude=openoffice
Dick
Alfred von Campe wrote:
Is there a way to still do the yum updates but not update the openoffice.
Right now, I do it one at a time.
Yes, just do a "yum update -exclude=openoffice".
Alfred
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Dick Roth wrote:
As offered this will not work. It must have two (2) hyphens before the word "exclude", thus:
yum update --exclude=openoffice
Alfred von Campe wrote:
Is there a way to still do the yum updates but not update the openoffice.
Right now, I do it one at a time.
Yes, just do a "yum update -exclude=openoffice".
While we are making it correct ... it needs to be:
--exclude=openoffice*
(as there is more than 1 file for openoffice)
Thanks, Johnny. I'm not a "pro" on this stuff.
Happy Holidays!!
Dick
Johnny Hughes wrote:
Dick Roth wrote:
As offered this will not work. It must have two (2) hyphens before the word "exclude", thus:
yum update --exclude=openoffice
Alfred von Campe wrote:
Is there a way to still do the yum updates but not update the openoffice.
Right now, I do it one at a time.
Yes, just do a "yum update -exclude=openoffice".
While we are making it correct ... it needs to be:
--exclude=openoffice*
(as there is more than 1 file for openoffice)
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
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*
Kai
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 )
Johnny Hughes wrote on Fri, 21 Dec 2007 09:11:47 -0600:
Both will work ... the \ means do not expand the wildcard as a command in the shell
Ah, I see, thanks.
Kai