I’m trying to make an unattended installation by downloading the Ubuntu packages from:
https://repo.percona.com/pxc-80/apt/pool/main/p/percona-xtradb-cluster/
I install all packages in order but with “percona-xtradb-cluster-server…” I still get a root-password question that doesn’t get answered.
This doesn’t seem to work:
export DEBIAN_FRONTEND=noninteractive
apt-get update && apt-get install debconf-utils
echo "percona-xtradb-cluster-server-8.0 percona-xtradb-cluster-server-8.0/root-pass password root" | debconf-set-selections
echo "percona-xtradb-cluster-server-8.0 percona-xtradb-cluster-server-8.0/re-root-pass password root" | debconf-set-selections
dpkg -i percona-xtradb-cluster-server_8.0.35-27-1.jammy_amd64.deb
Has anyone an idea how to accomplish an install with an empty or preset password ? Empty would be most nice!