On Wednesday 23 December 2009 20:57:50 Patrick Boutilier wrote:
>> I defined:
>>
>> alias yu="sudo yum --skip-broken update"
>>
>> the only differences being that I put the flag first, then the argument,
>> and I used quotation marks, not apostrophes. I know there is a
>> difference in bash between ' and ", but mine really DOES work (on both
>> of my computers, for both me and root on each).
>>
>> Maybe try?
>
> I tried this, but 'which yus' still returns the old one. Do I need
> 'newaliases' or something?
Nope, newaliases is for sendmail. :-)
Thought so, that's why I said 'or something' :-)
Does it still not work if you run the alias command from a shell
prompt
and then try yus ?
alias yus='yum update --skip-broken'
It does. A clue then - it seems to be a matter of paths. The command is in
my user bashrc, and it always worked from a root console before. What do you
think?
Anne
--
KDE Community Working Group
New to KDE Software? - get help from
http://userbase.kde.org