On Wed, Jun 10, 2020 at 7:31 PM Neal Gompa <ngompa13@gmail.com> wrote:
Hey all,
So I've started building stuff for Ubuntu 20.04, and I've discovered that a number of packages depend on a tool called "ucf" that is written in shell script that requires Bash, but does not have the dependency declared, so build environments fail with errors like the following:
[ 136s] [193/242] installing php7.4-common-7.4.3-4ubuntu1 [ 136s] /usr/bin/ucf: line 346: getopt: command not found [ 136s] dpkg: error processing package php7.4-common (--install): [ 136s] installed php7.4-common package post-installation script subprocess returned error exit status 127 [ 136s] Errors were encountered while processing: [ 136s] php7.4-common [ 136s] exit ...
To fix this, we need "Preinstall: bash" to be added so that it's included early and everything works.
Bah, I misappropriated, it actually needs util-linux, not bash. I forgot that getopt is actually a program separately offered in util-linux. -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org