package apcupsd 3.14.14-3build1 failed to install/upgrade: installed apcupsd package post-installation script subprocess returned error exit status 1

Bug #2007471 reported by David McQuire
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apcupsd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

● apcupsd.service - UPS power management daemon
     Loaded: loaded (/lib/systemd/system/apcupsd.service; disabled; vendor preset: enabled)
     Active: failed (Result: protocol) since Thu 2023-02-16 13:53:46 AEDT; 13min ago
       Docs: man:apcupsd(8)
    Process: 10733 ExecStartPre=/lib/apcupsd/prestart (code=exited, status=0/SUCCESS)
    Process: 10737 ExecStart=/sbin/apcupsd (code=exited, status=0/SUCCESS)
      Tasks: 4 (limit: 38161)
     Memory: 852.0K
     CGroup: /system.slice/apcupsd.service
             └─10394 /sbin/apcupsd

Feb 16 13:53:46 dm systemd[1]: apcupsd.service: Can't open PID file /run/apcupsd.pid (yet?) after start: Operation not permitted
Feb 16 13:53:46 dm systemd[1]: apcupsd.service: Failed to set a watch for PID file /run/apcupsd.pid: No space left on device
Feb 16 13:53:46 dm systemd[1]: apcupsd.service: Failed with result 'protocol'.
Feb 16 13:53:46 dm apcupsd[10738]: Valid lock file for pid=10394, but not ours pid=10738
Feb 16 13:53:46 dm systemd[1]: Failed to start UPS power management daemon.
Feb 16 13:53:46 dm apcupsd[10738]: apcupsd FATAL ERROR in apcupsd.c at line 219
                                   Unable to create UPS lock file.
                                     If apcupsd or apctest is already running,
                                     please stop it and run this program again.
Feb 16 13:53:46 dm apcupsd[10738]: Valid lock file for pid=10394, but not ours pid=10738
Feb 16 13:53:46 dm apcupsd[10738]: apcupsd error shutdown completed
Feb 16 13:54:45 dm apcupsd[10394]: Communications with UPS lost.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: apcupsd 3.14.14-3build1
ProcVersionSignature: Ubuntu 5.15.0-60.66~20.04.1-generic 5.15.78
Uname: Linux 5.15.0-60-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.25
AptOrdering:
 apcupsd-doc:amd64: Install
 libusb-0.1-4:amd64: Install
 apcupsd:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: skip
Date: Thu Feb 16 13:53:43 2023
ErrorMessage: installed apcupsd package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-04-02 (319 days ago)
InstallationMedia: Ubuntu 20.04.4 LTS "Focal Fossa" - Release amd64 (20220223)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3.2
 apt 2.0.9
SourcePackage: apcupsd
Title: package apcupsd 3.14.14-3build1 failed to install/upgrade: installed apcupsd package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
David McQuire (david-kenpro) 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 apcupsd (Ubuntu):
status: New → Confirmed
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.