Your message dated Wed, 10 Jun 2026 11:16:26 +0800
with message-id <[email protected]>
and subject line Re: bash and dash play ping-pong with the /bin/sh symlink
has caused the Debian Bug report #662159,
regarding bash and dash play ping-pong with the /bin/sh symlink
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
662159: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662159
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bash,dash
Severity: important
User: [email protected]
Usertags: piuparts

Hi,

the owner of the /bin/sh diversion after a lenny->squeeze->wheezy
upgrade is either bash or dash depending on unrelated packages (seen
this on freebsd-buildutils and ash so far)  being installed.

Excerpts from the attached logfile, a piuparts test for
lenny->squeeze->wheezy upgrades:

Preparation: create minimal lenny chroot

Part 1:
* clone the minimal lenny,
* distupgrade to squeeze,
* distupgrade to wheezy:

[...]
  Selecting previously deselected package dash.
  Unpacking dash (from .../dash_0.5.5.1-7.4_amd64.deb) ...
  Adding 'diversion of /bin/sh to /bin/sh.distrib by dash'
  Adding 'diversion of /usr/share/man/man1/sh.1.gz to 
/usr/share/man/man1/sh.distrib.1.gz by dash'
  Setting up dash (0.5.5.1-7.4) ...
[...]
  Preparing to replace bash 3.2-4 (using .../archives/bash_4.1-3_amd64.deb) ...
  Unpacking replacement bash ...
  Setting up bash (4.1-3) ...
  Installing new version of config file /etc/bash.bashrc ...
  Installing new version of config file /etc/skel/.bashrc ...
  update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide 
/usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode.
[...]
  Preparing to replace bash 4.1-3 (using .../archives/bash_4.2-1_amd64.deb) ...
  Unpacking replacement bash ...
  Setting up bash (4.2-1) ...
  Installing new version of config file /etc/bash.bashrc ...
  Installing new version of config file /etc/skel/.bashrc ...
  update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide 
/usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode.
[...]
  Preparing to replace dash 0.5.5.1-7.4 (using .../dash_0.5.7-2_amd64.deb) ...
  Unpacking replacement dash ...
  Setting up dash (0.5.7-2) ...
[...]
0m43.0s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmpVcIWWC', 
'dpkg-divert', '--list']
0m43.0s DUMP: 
  diversion of /usr/share/man/man1/sh.1.gz to 
/usr/share/man/man1/sh.distrib.1.gz by dash
  diversion of /bin/sh to /bin/sh.distrib by dash


Part 2:
* clone the minimal lenny,
* *install extra packages*,
* distupgrade to squeeze,
* distupgrade to wheezy:

[...]
  Selecting previously deselected package dash.
  Unpacking dash (from .../dash_0.5.4-12_amd64.deb) ...
[...]
  Setting up dash (0.5.4-12) ...
[...]
  Preparing to replace dash 0.5.4-12 (using .../dash_0.5.5.1-7.4_amd64.deb) ...
  Adding 'diversion of /bin/sh to /bin/sh.distrib by dash'
  Adding 'diversion of /usr/share/man/man1/sh.1.gz to 
/usr/share/man/man1/sh.distrib.1.gz by dash'
  Unpacking replacement dash ...
  Setting up dash (0.5.5.1-7.4) ...
  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'
[...]
  Preparing to replace bash 3.2-4 (using .../archives/bash_4.1-3_amd64.deb) ...
  Unpacking replacement bash ...
  Setting up bash (4.1-3) ...
  Installing new version of config file /etc/bash.bashrc ...
  Installing new version of config file /etc/skel/.bashrc ...
  update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide 
/usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode.
[...]
  Preparing to replace bash 4.1-3 (using .../archives/bash_4.2-1_amd64.deb) ...
  Removing 'diversion of /bin/sh to /bin/sh.distrib by bash'
  Adding 'diversion of /bin/sh to /bin/sh.distrib by dash'
  Removing 'diversion of /usr/share/man/man1/sh.1.gz to 
/usr/share/man/man1/sh.distrib.1.gz by bash'
  Adding 'diversion of /usr/share/man/man1/sh.1.gz to 
/usr/share/man/man1/sh.distrib.1.gz by dash'
  Unpacking replacement bash ...
  Setting up bash (4.2-1) ...
  Installing new version of config file /etc/bash.bashrc ...
  Installing new version of config file /etc/skel/.bashrc ...
  update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide 
/usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode.
[...]
  Preparing to replace dash 0.5.5.1-7.4 (using .../dash_0.5.7-2_amd64.deb) ...
  Unpacking replacement dash ...
  Setting up dash (0.5.7-2) ...
  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'
[...]
1m36.3s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmpeN6s2x', 
'dpkg-divert', '--list']
1m36.3s DUMP: 
  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
1m36.3s DEBUG: Command ok: ['chroot', '/tmp/piupartss/tmpeN6s2x', 
'dpkg-divert', '--list']
1m36.3s ERROR: FAIL: Installed diversions (dpkg-divert) not removed by purge:
  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
1m36.3s ERROR: FAIL: Existing diversions (dpkg-divert) removed/modified:
  diversion of /usr/share/man/man1/sh.1.gz to 
/usr/share/man/man1/sh.distrib.1.gz by dash
  diversion of /bin/sh to /bin/sh.distrib by dash


Cheers,

Andreas

PS: I'll set
  Affects: freebsd-buildutils
  Found: freebsd-buildutils/9.0-2
on this bug s.t. piuparts can automatically classify that failure as
bugged/affected.

Attachment: freebsd-buildutils_9.0-2.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
It's been over ten years since the switch.  I don't think this issue
is relevant anymore.

Cheers,
-- 
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

--- End Message ---

Reply via email to