package prometheus-haproxy-exporter 0.13.0+ds1-1ubuntu0.2 failed to install/upgrade: installed prometheus-haproxy-exporter package post-installation script subprocess returned error exit status 1

Bug #2039247 reported by Bas van den Dikkenberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
prometheus-haproxy-exporter (Ubuntu)
New
Undecided
Unassigned

Bug Description

Got error during upgrade to ubuntu jammy

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: prometheus-haproxy-exporter 0.13.0+ds1-1ubuntu0.2
ProcVersionSignature: Ubuntu 5.4.0-164.181-generic 5.4.248
Uname: Linux 5.4.0-164-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CloudArchitecture: x86_64
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
Date: Fri Oct 13 08:47:11 2023
DuplicateSignature:
 package:prometheus-haproxy-exporter:0.13.0+ds1-1ubuntu0.2
 Installing new version of config file /etc/init.d/prometheus-haproxy-exporter ...
 adduser: The user `prometheus' already exists, but is not a system user. Exiting.
 dpkg: error processing package prometheus-haproxy-exporter (--configure):
  installed prometheus-haproxy-exporter package post-installation script subprocess returned error exit status 1
ErrorMessage: installed prometheus-haproxy-exporter package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-02-13 (606 days ago)
InstallationMedia: Ubuntu-Server 20.04.3 LTS "Focal Fossa" - Release amd64 (20210824)
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.2
 apt 2.4.10
SourcePackage: prometheus-haproxy-exporter
Title: package prometheus-haproxy-exporter 0.13.0+ds1-1ubuntu0.2 failed to install/upgrade: installed prometheus-haproxy-exporter package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to jammy on 2023-10-13 (0 days ago)
mtime.conffile..etc.default.prometheus-haproxy-exporter: 2022-05-20T00:00:37.890164

Revision history for this message
Bas van den Dikkenberg (bas-dikkenberg) wrote :
Revision history for this message
Bas van den Dikkenberg (bas-dikkenberg) wrote :

Removing linux-modules-5.4.0-163-generic (5.4.0-163.180) ...
Setting up prometheus-haproxy-exporter (0.13.0+ds1-1ubuntu0.2) ...
adduser: The user `prometheus' already exists, but is not a system user. Exiting.
dpkg: error processing package prometheus-haproxy-exporter (--configure):
 installed prometheus-haproxy-exporter package post-installation script subprocess returned error exit status 1
Setting up prometheus-node-exporter (1.3.1-1ubuntu0.22.04.2) ...
adduser: The user `prometheus' already exists, but is not a system user. Exiting.
dpkg: error processing package prometheus-node-exporter (--configure):
 installed prometheus-node-exporter package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of prometheus-node-exporter-collectors:
 prometheus-node-exporter-collectors depends on prometheus-node-exporter; however:
  Package prometheus-node-exporter is not configured yet.

dpkg: error processing package prometheus-node-exporter-collectors (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 prometheus-haproxy-exporter

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.