Package: bash
Version: 5.2.21-2.1

Hi!

I noticed CI failing on:

Preparing to unpack .../bash_5.2.21-2.1_amd64.deb ...
Unpacking bash (5.2.21-2.1) over (5.0-4) ...
Setting up bash (5.2.21-2.1) ...
dpkg (subprocess): unable to execute installed bash package
post-installation script (/var/lib/dpkg/info/bash.postinst): No such
file or directory
dpkg: error processing package bash (--configure):
 installed bash package post-installation script subprocess returned
error exit status 2
Errors were encountered while processing:
 bash

The file does exist:
# ls -la /var/lib/dpkg/info/bash.postinst
-rwxr-xr-x 1 root root 486 Jun  5 15:19 /var/lib/dpkg/info/bash.postinst

I tied adding the executable bit and fixing the extra space in the
shebang line but neither had any effect:

# chmod +x /var/lib/dpkg/info/bash.postinst
# sed 's|#! /bin/bash|#!/bin/bash|' -i /var/lib/dpkg/info/bash.postinst
# apt-get install -qq --fix-missing
Setting up bash (5.2.21-2.1) ...
dpkg (subprocess): unable to execute installed bash package
post-installation script (/var/lib/dpkg/info/bash.postinst): No such
file or directory
dpkg: error processing package bash (--configure):
 installed bash package post-installation script subprocess returned
error exit status 2
Errors were encountered while processing:
 bash

Any suggestions what might be going on?


PS. I would be happy to help with the package maintenance and building
a CI for it if you in future decide to host the sources on
salsa.debian.org instead of Bazaar
(https://qa.debian.org/cgi-bin/vcswatch?package=bash).

Reply via email to