package munge 0.5.14-6 failed to install/upgrade: installed munge package post-installation script subprocess returned error exit status 6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
munge (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This happened because the munge upgrade script expects an entry in /etc/passwd. Our munge user is provided via LDAP using FreeIPA so there is no such entry. To make the upgrade work I had to manually add to /etc/passwd, do upgrade and then delete the entry afterwards.
This error occurred during the Ubuntu 20.04 to 22.04.1 upgrade process. New version of munge is 0.5.14-6, not sure what old version was.
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: munge 0.5.14-6
ProcVersionSign
Uname: Linux 5.4.0-131-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
Date: Sat Oct 29 10:16:52 2022
DuplicateSignature:
package:
Installing new version of config file /etc/logrotate.
usermod: user 'munge' does not exist in /etc/passwd
dpkg: error processing package munge (--configure):
installed munge package post-installation script subprocess returned error exit status 6
Ec2AMI: ami-00000002
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: m1.xlarge
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ErrorMessage: installed munge package post-installation script subprocess returned error exit status 6
Python3Details: /usr/bin/
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
dpkg 1.21.1ubuntu2.1
apt 2.4.8
SourcePackage: munge
Title: package munge 0.5.14-6 failed to install/upgrade: installed munge package post-installation script subprocess returned error exit status 6
UpgradeStatus: Upgraded to jammy on 2022-10-29 (0 days ago)
tags: | removed: need-duplicate-check |