Your message dated Fri, 24 Jan 2025 16:20:10 +0000
with message-id <e1tbmpi-000wos...@fasolo.debian.org>
and subject line Bug#1093962: Removed package(s) from unstable
has caused the Debian Bug report #591518,
regarding dash: postinst fails on fresh minimal system
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 ow...@bugs.debian.org
immediately.)


-- 
591518: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591518
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dash
Version: 0.5.7-3
Severity: normal

Dear Maintainer,

I am installing a fresh minimal system using multistrap. During the
configure phase, setting up dash fails with the following messages:
        Setting up dash (0.5.7-3) ...
        No diversion 'diversion of /bin/sh by dash', none removed.
        This should never be reached
The configure phase then fails.

My impression is, that the problem is caused by the fact that no diversion
exists yet for /bin/sh. This causes 'diverter' in 'check_divert' to be
empty, which then causes the failure.

The system I am installing is an armel system, with debian distribution
testing. After multistrap has unpacked everything, I copy qemu-arm-static
to the new directory tree, I mount /proc, /sys and /dev, and I run the
following command to configure:
        DEBIAN_FRONTEND=noninteractive \
        DEBCONF_NONINTERACTIVE_SEEN=true \
        LC_ALL=C \
        LANGUAGE=C \
        LANG=C \
        chroot "$root" dpkg --configure -a

I have added a 'set -x' to the postinst script. The output is attached.

Kind regards

Rogier.

Output of 'dpkg --configure -a', with 'set -x' added to
dash postinst script:
------------------------------------------
Setting up dash (0.5.7-3) ...
+ debconf=
+ [ -f /usr/share/debconf/confmodule ]
+ . /usr/share/debconf/confmodule
+ [ !  ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [  ]
+ exec /usr/share/debconf/frontend /var/lib/dpkg/info/dash.postinst configure 
+ debconf=
+ [ -f /usr/share/debconf/confmodule ]
+ . /usr/share/debconf/confmodule
+ [ ! 1 ]
+ [ -z  ]
+ exec
+ [  ]
+ exec
+ DEBCONF_REDIR=1
+ export DEBCONF_REDIR
+ debconf=yes
+ [ configure = configure ]
+ [ -z  ]
+ check_divert ash /bin/sh dash  ash
+ dfile=/bin/sh
+ ltarget=dash
+ distrib=/bin/sh.distrib
+ dpkg-divert --listpackage /bin/sh
+ diverter=
+ dpkg-divert --truename /bin/sh
+ truename=/bin/sh
+ dpkg-divert --list /bin/sh
+ div=
+ check_divert ash /usr/share/man/man1/sh.1.gz dash.1.gz 
/usr/share/man/man1/sh.distrib.1.gz ash.1.gz
+ dfile=/usr/share/man/man1/sh.1.gz
+ ltarget=dash.1.gz
+ distrib=/usr/share/man/man1/sh.distrib.1.gz
+ dpkg-divert --listpackage /usr/share/man/man1/sh.1.gz
+ diverter=
+ dpkg-divert --truename /usr/share/man/man1/sh.1.gz
+ truename=/usr/share/man/man1/sh.1.gz
+ dpkg-divert --list /usr/share/man/man1/sh.1.gz
+ div=
+ add_shell
+ type add-shell
+ add-shell /bin/dash
+ [ yes ]
+ db_get dash/sh
+ _db_cmd GET dash/sh
+ _db_internal_IFS=     

+ IFS= 
+ printf %s\n GET dash/sh
+ IFS=  

+ IFS=
 read -r _db_internal_line
+ RET=true
+ return 0
+ check_divert true /bin/sh dash
+ dfile=/bin/sh
+ ltarget=dash
+ distrib=/bin/sh.distrib
+ dpkg-divert --listpackage /bin/sh
+ diverter=
+ dpkg-divert --truename /bin/sh
+ truename=/bin/sh
+ [  != dash ]
+ [  = bash ]
+ dpkg-divert --package dash --remove /bin/sh
No diversion 'diversion of /bin/sh by dash', none removed.
+ echo This should never be reached
This should never be reached
+ exit 1
dpkg: error processing dash (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bash:
 bash depends on dash (>= 0.5.5.1-2.2); however:
  Package dash is not configured yet.

dpkg: error processing bash (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 dash
 bash
------------------------------------------

--- End Message ---
--- Begin Message ---
Version: 2.2.11+rm

Dear submitter,

as the package multistrap has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1093962

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Paul Tagliamonte (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to