私はpostinstスクリプトに問題があります。私のアプリケーションのためにいくつかのユーザーを作成するにはMySQLのrootパスワードを尋ねる必要があります。 db_inputをpostinstで使用するのは悪い習慣ですが、本当に必要です。 私のアプリケーションフォームリポジトリをインストールするときにこのpostinstが動作しないのですが、.debパッケージとしてインストールすると正しく動作しますか?postinstのdb_inputが機能しません
のpostinst:
#!/bin/bash -e
. /usr/share/debconf/confmodule
db_input high my_app/mysql_root_password || true
db_go
エラー:
dpkg: error processing my-app (--configure):
subprocess installed post-installation script returned error exit status 30
configured to not write apport reports
Errors were encountered while processing:
my-app
E: Sub-process /usr/bin/dpkg returned an error code (1)
同じ問題db_get ... – Lazy