Re: How to tell yum to exclude updating a package

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

 



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
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux