Failed to Install pcp Noninteractively
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu version: I use the docker images ubuntu:24.04, the image hash is fabf3a8d4949
```
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
```
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_
sudo DEBIAN_
# sudo DEBIAN_
...
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-
Status changed to 'Confirmed' because the bug affects multiple users.