Package: pcp
Version: 5.2.2-1.1
Severity: important
Attempting an `apt upgrade` on my bullseye system failed, due to improper
dependency info in the pcp package. The libpcp3 dependency has no version
constraints, and the new version of libpcp3 requires pulling in a new
version of perl, so `apt upgrade` left it out. This then resulted in the
attempt to restart the pcp service failing due to a missing symbol:
Nov 27 16:10:02 cheetah.fastcat.org systemd[1]: Starting LSB: Control pmcd (the
collection daemon for PCP)...
Nov 27 16:10:02 cheetah.fastcat.org pmcd[3683911]: Rebuilding PMNS ...
Nov 27 16:10:02 cheetah.fastcat.org pmcd[3684067]: Starting pmcd ...
Nov 27 16:10:02 cheetah.fastcat.org pmcd[3684072]: /usr/lib/pcp/bin/pmcd:
/usr/lib/libpcp.so.3: version `PCP_3.30' not found (required by
/usr/lib/pcp/bin/pmcd)
Nov 27 16:10:02 cheetah.fastcat.org pmcd[3683845]: /etc/init.d/pmcd: pmcd
--verify failed, cannot start pmcd.
Nov 27 16:10:02 cheetah.fastcat.org systemd[1]: pmcd.service: Control process
exited, code=exited, status=1/FAILURE
Nov 27 16:10:02 cheetah.fastcat.org systemd[1]: pmcd.service: Failed with
result 'exit-code'.
Nov 27 16:10:02 cheetah.fastcat.org systemd[1]: Failed to start LSB: Control
pmcd (the collection daemon for PCP).
dpkg: error processing package pcp (--configure):
installed pcp package post-installation script subprocess returned error exit
status 1
Errors were encountered while processing:
pcp
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Since libpcp3 is coming into the deps via shlibs:Depends AFAICT, I'm
guessing this is then due to a symbol/versioning issue with libpcp3? In
this case the upgrade is from 5.2.0 to 5.2.2, FWIW.
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable'), (500, 'oldstable'), (490,
'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.9.0-1-amd64 (SMP w/16 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages pcp depends on:
ii gawk1:5.0.1+dfsg-1
ii libc6 2.31-4
ii libncurses6 6.2+20200918-1
ii libpcp-gui2 5.2.0-1
ii libpcp-import1 5.2.0-1
ii libpcp-mmv1 5.2.0-1
ii libpcp-pmda35.2.0-1
ii libpcp-trace2 5.2.2-1.1
ii libpcp-web1 5.2.2-1.1
ii libpcp3 5.2.0-1
ii libpfm4 4.11.1+git4-gfa84c27-1
ii libreadline88.1~rc2-2
ii libssl1.1 1.1.1h-1
ii libsystemd0 246.6-4
ii libtinfo6 6.2+20200918-1
ii libuv1 1.40.0-1
ii procps 2:3.3.16-5
ii python3 3.8.6-1
ii python3-pcp 5.2.0-1
Versions of packages pcp recommends:
ii libpcp-pmda-perl 5.2.0-1
Versions of packages pcp suggests:
pn bpftrace
pn libpcp-import-perl
ii pcp-gui 5.2.2-1.1
pn redis-server
-- no debconf information