Running apt-get dist-upgrade results in:
Setting up jenkins (2.170) ...
chown: invalid group: 'svc-jenkins:domain'
dpkg: error processing package jenkins (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Changing line 53 in jenkins.postinst from
chown $JENKINS_USER:$JENKINS_GROUP /var/lib/jenkins /var/log/jenkins
chown "$JENKINS_USER":"$JENKINS_GROUP" /var/lib/jenkins /var/log/jenkins
(and performing the same type of change on line 59 and 65 as well), resolves this issue.