update-alternatives, was: Re: Where art thou 'rename'
Rashkae
ubuntu at tigershaunt.com
Tue Aug 5 19:38:38 UTC 2008
Rashkae wrote:
>
> 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.
>
>
the missing magic is:
update-alternatives --install /usr/bin/rename rename /usr/bin/rename.ul
50 --slave /usr/share/man/man1/rename.1.gz rename.1.gz
/usr/share/man/man1/rename.ul.1.gz
Which should have been done as part of the util-linux package install.
More information about the ubuntu-users
mailing list