Re: yum update

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

 



On 8/3/07, Aaron Konstam <akonstam@xxxxxxxxxxxxx> wrote:
> On Fri, 2007-08-03 at 15:41 +0100, Timothy Murphy wrote:
> > Aaron Konstam wrote:
> >
> > >> Use the --exclude=[package] option like
> > >> # yum update --exclude=kernel*
> >
> > > The above will not work since the * will be expanded by the shell not
> > > yum.
> >
> > Are you sure?
>
> Yes I am sure. It is like:
> find ./ -name "foo*"
> the quotes are needed if you want to find all files that start with foo
> This is explained in man find

I suggest you try

yum list kernel*
yum list "kernel*"

and I think you'll see the same behavior provided there aren't any
files in the cwd prefixed with kernel.

> > My impression is that it is only expanded if you happen to have
> > a file called kernel* in the current directory.
> > If it doesn't find anything yum does expand the argument, I think?
> No that is not how it works.
> >
> > However, I always say: yum update --exclude=kernel\*

That seems reasonable to me.

John

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