Public bug reported:
Ubuntu version: I use the docker images ubuntu:24.04, the image hash is
fabf3a8d4949
```
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04 LTS"
```
Package version: pcp 6.2.0-1.1build4
What I expect: Being able to install it noninteractively
What happened: failed when setting up the package.
Simplest Reproduction:
```
$ docker run --rm -it ubuntu:24.04 bash
# apt-get -y update; \
DEBIAN_FRONTEND=noninteractive apt-get -y install sudo; \
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install
software-properties-common # <== This is important. Cannot reproduce without
this.
# sudo DEBIAN_FRONTEND=noninteractive apt-get -y install pcp
...
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
dpkg: error processing package pcp (--configure):
installed pcp package post-installation script subprocess returned error exit
status 1
Processing triggers for libc-bin (2.39-0ubuntu8.1) ...
Errors were encountered while processing:
pcp
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
Note that if I skipped `software-properties-common` then there are no
failures.
** Affects: pcp (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2064784
Title:
Failed to Install pcp Noninteractively
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcp/+bug/2064784/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs