On 04/14/2011 01:14 PM, Aaron Konstam wrote:
>>> To me the syntax od the yum -x option is unclear. Is -x=package-name the
>>> right form . I am not sure.
>> No, that's not right. With the long form of the option, you can use either
>> "--exclude=libmad" or "--exclude libmad", but "-x=libmad" is equivalent to
>> a series of short flags "-x -= -l -i -b -m -a -d", and I'd rather not think
>> about what that's going to do
> Actually the syntax is: yum --exclude="libmad"
Correct.
The man page says:
-x, --exclude=package
Exclude a specific package by name or glob from
updates on all repositories.
Configuration Option: exclude
When using the -x, the = sign is obviated (and so I had used it
incorrectly).
So a series of -x pkg1 -x pkg2 .... -x pkgN would be the same as
--exclude=pkg1 --exclude=pkg2 ...etc.
As I said, when I had used -x=pkgname syntax, yum did not complain
at all, which I think it should have; unless it is an undocumented
feature??
--
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines