Problems with the command alternatives
Robert Moskowitz
rgm at htt-consult.com
Wed Dec 15 17:47:13 UTC 2010
On 12/15/2010 12:20 PM, Jorge Fábregas wrote:
> On Wednesday, December 15, 2010 11:46:26 am Robert Moskowitz wrote:
>
>> On the system in question, I type the command in, even by itself and
>> NOTHING seems to happen. No output at all.
>>
> I also have Fedora 12 and as you point out, it prints information on help.
> Try the following and compare:
>
> which alternatives
> ...gives you the actual PATH of the command you're trying)
>
# which alternatives
/usr/sbin/alternatives
> rpm -qf /usr/sbin/alternatives
> ...shows that it comes with the chkconfig package.
>
# rpm -qf /usr/sbin/alternatives
chkconfig-1.3.44-1.i686
> ls -l /usr/sbin/alternatives gives me:
>
> -rwxr-xr-x. 1 root root 23700 2009-09-29 16:52 /usr/sbin/alternatives
>
> My chkconfig package is: chkconfig-1.3.44-1.i686
>
ls -l /usr/sbin/alternatives
-rwxr-xr-x. 1 root root 0 2010-12-15 10:22 /usr/sbin/alternatives
> Check /var/log/messages...
>
Nothing added there after running just alternatives, but interestingly
there is a new entry in /var/log/cron
Dec 15 12:45:01 klovia CROND[4550]: (mailman) CMD
(/usr/lib/mailman/cron/gate_news)
I installed mailman AFTER the one time I ran alternatives successfully.
And mialman is NOT on the system where alternatives works...
More information about the users
mailing list