package dnsmasq-base 2.78-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dnsmasq (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Just got this error after upgrade
ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: dnsmasq-base 2.78-1
ProcVersionSign
Uname: Linux 4.13.0-21-generic i686
ApportVersion: 2.20.7-0ubuntu3.6
Architecture: i386
Date: Tue Dec 26 23:33:28 2017
DuplicateSignature:
package:
Setting up dnsmasq-base (2.78-1) ...
chown: invalid group: ‘dnsmasq:nogroup’
dpkg: error processing package dnsmasq-base (--configure):
subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
RelatedPackageV
dpkg 1.18.24ubuntu1
apt 1.5.1
SourcePackage: dnsmasq
Title: package dnsmasq-base 2.78-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to artful on 2017-12-27 (0 days ago)
tags: | removed: need-duplicate-check |
Hi Dzintars,
dnsmasq user is set up by the preinst of dnsmasq right before the chown.
But nogroup is a generic group not tied to dnsmasq that should always exists.
You should have such a group as well and therefore the error should (tm) not exists :-)
What does the following give you:
$ getent group nogroup
I get a high group id like:
nogroup:x:65534:
It is part of base-passwd and set up to exist on the inital install.
I could only think of a system that had someone hard remove that group to trigger this error.
Maybe checking for the id as suggested above help you to start sorting it out.