how to relink /bin/sh away from dash -- update-alternatives?

Tom H tomh0665 at gmail.com
Wed May 12 18:30:21 UTC 2010


On Wed, May 12, 2010 at 2:09 PM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
>
>  *sigh*.  it's embarrassing to ask trivial questions like this but,
> sometimes, google just doesn't come through and i'm still feeling my
> way around ubuntu.
>
>  i'm setting up to build openembedded on my lynx box, and the sanity
> check run by bitbake strongly recommends that i don't leave /bin/sh
> linked to dash.  currently, there's a symlink /bin/sh -> dash.  but
> i'm assuming this is managed by the "alternatives" feature, yet:
>
> $ sudo update-alternatives --config sh
> update-alternatives: error: no alternatives for sh.
> $
>
>  what am i screwing up?  i'm just about to run
>
> $ sudo update-alternatives --all
>
> to see what's happening.

dpkg-reconfigure dash

You can use update-alternatives but you first have to create and then
configure it...




More information about the ubuntu-users mailing list