Hi Jonathan,

Jonathan Nieder wrote:
> >>> 20/0/0 r...@acromantula:pts/3 23:05:57 [~] # dpkg-reconfigure dash
> >>> Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
> >>> Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
> >>> Removing 'diversion of /usr/share/man/man1/sh.1.gz to 
> >>> /usr/share/man/man1/sh.distrib.1.gz by dash'
> >>> Adding 'diversion of /usr/share/man/man1/sh.1.gz to 
> >>> /usr/share/man/man1/sh.distrib.1.gz by bash'
> >>> 21/0/0 r...@acromantula:pts/3 23:06:10 [~] # 
> >>> [...]
> >>> 26/0/0 r...@acromantula:pts/3 23:06:46 [~] # dpkg-reconfigure dash
> >>> dpkg-divert: mismatch on package
> >>>   when removing `diversion of /bin/sh by dash'
> >>>   found `diversion of /bin/sh to /bin/sh.distrib by bash'
> >>> 27/2/0 r...@acromantula:pts/3 23:06:51 [~] # 
> 
> Odd.  Could you provide the output of
> 
>       dpkg-divert --list /bin/sh /usr/share/man/man1/sh.1.gz

1/0/0 r...@acromantula:pts/3 17:06:44 [~] # dpkg-divert --list /bin/sh 
/usr/share/man/man1/sh.1.gz
diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz 
by bash
diversion of /bin/sh to /bin/sh.distrib by bash

>       readlink /bin/sh

2/0/0 r...@acromantula:pts/3 17:07:04 [~] # readlink /bin/sh
bash

>       debconf-show dash

3/0/0 r...@acromantula:pts/3 17:07:59 [~] # debconf-show dash
* dash/sh: false

> Have you resolved the problem locally, or does "dpkg-reconfigure dash"
> still give the same message?

I still have bash as /bin/sh on that system and trying to reconfigure
dash to be /bin/sh again, still causes this problem:

4/0/0 r...@acromantula:pts/3 17:08:08 [~] # dpkg-reconfigure dash
dpkg-divert: mismatch on package
  when removing `diversion of /bin/sh by dash'
  found `diversion of /bin/sh to /bin/sh.distrib by bash'

HTH.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



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

Reply via email to