yum downgrade?

Knute Johnson knute at frazmtn.com
Fri Jun 9 17:39:06 UTC 2006


Thanks very much everybody for the answers.

knute...

>On Fri, Jun 09, 2006 at 01:57:22PM +0100, Timothy Murphy wrote:
>> Ed Greshko wrote:
>> 
>> >>> If you normally run "yum update" you can change your procedure to simply
>> >>> run "yum --exclude=dovecot* update".
>> >> 
>> >> Don't you have to say "yum --exclude=dovecot\* update" ?
>> > 
>> > I've never had to escape the * in this situation.  YMMV,
>> 
>> I stand corrected.
>> I assumed the shell would try to expand the "*",
>
>Yes, it will try to expand the '*'.
>
>You can make the above command fail deliberately, of course.
>
>Try this:
>
>$ touch -- --exclude=dovecot-xyzzy
>$ yum --exclude=dovecot* update
>
>This will try to update dovecot, since the shell metacharacter will indeed
>be expanded.
>
>To remove the weirdly named file, do:
>
>$ rm -- --exclude=dovecot-xyzzy
>
>-- 
>Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
>Sylvan Associates, Inc.   | Laura Isabella Sylvan, | Katherine Yelena (8/8/89)
>http://sylvan.com/~kayvan | my beautiful Queen.    | Robin Gregory (2/28/92)
>

-- 
Knute Johnson
Molon Labe...





More information about the fedora-list mailing list