Hi,

I am the submitter of the original dash upgrade bug.

On Mon, Dec 27, 2010 at 09:27:29PM +0000, Adam D. Barratt wrote:
> diff --git a/en/issues.dbk b/en/issues.dbk
> index 9498399..83f1408 100644
> --- a/en/issues.dbk
> +++ b/en/issues.dbk
> @@ -244,6 +244,34 @@ works for <literal>root</literal>.
>    </para>
>  </section>
>  
> +<section id="shell-diversions">
> +  <title>Potential issues with diversions of /bin/sh</title>
> +  <para>
> +    If you have previously added a local diversion for 
> <literal>/bin/sh</literal>,
> +    or modified the <literal>/bin/sh</literal> symlink to point to somewhere
> +    other than <literal>/bin/bash</literal>, then you may encounter problems
> +    when upgrading the <systemitem role="package">dash</systemitem> or
> +    <systemitem role="package">bash</systemitem> packages.
> +    Note that this includes changes made by allowing other packages (for 
> example
> +    <systemitem role="package">mksh</systemitem>) to become the default 
> system
> +    shell by taking over <literal>/bin/sh</literal>.
> +  </para>
> +  <para>
> +    If you encounter any such issues, please remove the local diversion and
> +    ensure that the symlinks for both <literal>/bin/sh</literal> and its
> +    manual page point to the files provided by the <systemitem 
> role="package">
> +    bash</systemitem> package and then
> +    <command>dpkg-reconfigure --force dash</command>.
> +  </para>
> +  <programlisting>
> +    dpkg-divert --remove /bin/sh
> +    dpkg-divert --remove /usr/share/man/man1/sh.1.gz
> +    
> +    ln -sf bash /bin/sh
> +    ln -sf bash.1.gz /usr/share/man/man1/sh.1.gz
> +  </programlisting>
> +</section>
> +
>  </section>
>  
>  <section id="upgrade-to-2.6" condition="fixme">

I verified that the steps you proposed solved the issue on my system.

Thank you very much for finally (after one and a half year) addressing
the issue.

Helmut



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to