package collectd-core 5.12.0-10ubuntu0.1 failed to install/upgrade: installed collectd-core package post-installation script subprocess returned error exit status 1

Bug #2019145 reported by Jon Scriven
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
collectd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubgrading to new version of Ubuntu this was an error during upgrade.

Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04

Fetched 1,267 kB in 0s (0 B/s)
authenticate 'jammy.tar.gz' against 'jammy.tar.gz.gpg'
extracting 'jammy.tar.gz'
or details.
invoke-rc.d: initscript collectd, action "restart" failed.
● collectd.service - Statistics collection and monitoring daemon
     Loaded: loaded (/lib/systemd/system/collectd.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Wed 2023-05-10 18:40:03 BST; 5ms ago
       Docs: man:collectd(1)
             man:collectd.conf(5)
             https://collectd.org
    Process: 116897 ExecStartPre=/usr/sbin/collectd -t (code=exited, status=0/SUCCESS)
    Process: 116898 ExecStart=/usr/sbin/collectd (code=exited, status=1/FAILURE)
   Main PID: 116898 (code=exited, status=1/FAILURE)
invoke-rc.d: release upgrade in progress, error is not fatal

Upgrade complete

The upgrade has completed but there were errors during the upgrade
process.

To continue please press [ENTER]
=== Command detached from window (Wed May 10 18:40:09 2023) ===
=== Command terminated with exit status 1 (Wed May 10 18:40:19 2023) ===

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: collectd-core 5.12.0-10ubuntu0.1
ProcVersionSignature: Ubuntu 5.4.0-148.165-generic 5.4.231
Uname: Linux 5.4.0-148-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Wed May 10 18:25:26 2023
ErrorMessage: installed collectd-core package post-installation script subprocess returned error exit status 1
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.9
SourcePackage: collectd
Title: package collectd-core 5.12.0-10ubuntu0.1 failed to install/upgrade: installed collectd-core package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to jammy on 2023-05-10 (0 days ago)
modified.conffile..etc.collectd.collection.conf:
 datadir: "/var/lib/collectd/rrd/"
 libdir: "/usr/lib/collectd/"
mtime.conffile..etc.collectd.collection.conf: 2017-09-06T12:55:32.445025

Revision history for this message
Jon Scriven (scriven-j) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in collectd (Ubuntu):
status: New → Confirmed
Revision history for this message
Charlie Young (charlie-young) wrote :

For me this was caused by the following related bug:
https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/2006758

After commenting out the hddtemp plugin, the install completes.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.