update-alternatives, was: Re: Where art thou 'rename'
Derek Broughton
news at pointerstop.ca
Tue Aug 5 20:26:59 UTC 2008
Rashkae wrote:
> Rashkae wrote:
>
>> The rename from util-linux I'm familiar with is in a binary named
>> reanme.ul Fair enough. Now I just need to figure out the proper way of
>> changing an alternative in Ubuntu. But that's low priority for me atm.
>>
>
> Nothing is ever easy.
>
> If I run:
> update-alternatives --config rename
>
> The output returns:
>
> There is only 1 program which provides rename
> (/usr/bin/prename). Nothing to configure.
>
> which is incorrect, as I have rename.ul on my system and I confirmed it
> works. Should this be a bug in update-alternatives packages or
> util-linux package? I suspect util-linux should be adding files that
> update-alternatives needs to know to do it's thing.
Well, I wouldn't call it a bug (is rename.ul actually the rename you
want?) - but you should be able to add rename.ul to update-alternatives if
you want it.
It should just be "update-alternatives --set rename /path-to/rename.ul" .
If that does what you want, file a wishlist bug against util-linux.
--
derek
More information about the ubuntu-users
mailing list