package ntp 1:4.2.8p4+dfsg-3ubuntu5.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
no idea how to explain or fix the issue, but it is causing me to not be able to access the school network or internet from the school network ethernet switch.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: ntp 1:4.2.8p4+
ProcVersionSign
Uname: Linux 4.4.0-72-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Wed Apr 19 11:02:59 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationDate: Installed on 2017-02-14 (63 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
NtpStatus: ntpq: read: Connection refused
ProcCmdline: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.19
SourcePackage: ntp
Title: package ntp 1:4.2.8p4+
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Hello, your logs indicate some problems. It sure looks like your /usr/sbin/adduser and /usr/sbin/addgroup programs have been modified and that appears to be preventing other programs from running correctly. Repairing this may be difficult depending upon when those programs were corrupted and what might have tried to use them in the meantime.
Perhaps this is accidental and perhaps this is malicious. (If malicious it's very sloppy.)
If you think this is accidental try:
sudo apt-get install --reinstall adduser
The logs:
adduser 3.113+nmu3ubuntu4 [modified: usr/sbin/adduser]
Setting up ntp (1:4.2. 8p4+dfsg- 3ubuntu5. 4) ... dhclient- exit-hooks. d/ntp ...
Installing new version of config file /etc/dhcp/
/usr/sbin/addgroup: 32: /usr/sbin/addgroup: use: not found
/usr/sbin/addgroup: 33: /usr/sbin/addgroup: use: not found
/usr/sbin/addgroup: 34: /usr/sbin/addgroup: use: not found
/usr/sbin/addgroup: 35: /usr/sbin/addgroup: use: not found
/usr/sbin/addgroup: 38: /usr/sbin/addgroup: my: not found
/usr/sbin/addgroup: 43: /usr/sbin/addgroup: use: not found
/usr/sbin/addgroup: 44: /usr/sbin/addgroup: use: not found
/usr/sbin/addgroup: 45: /usr/sbin/addgroup: use: not found
/usr/sbin/addgroup: 46: /usr/sbin/addgroup: use: not found
/usr/sbin/addgroup: 47: /usr/sbin/addgroup: use: not found
/usr/sbin/addgroup: 52: /usr/sbin/addgroup: BEGIN: not found
/usr/sbin/addgroup: 53: local: not in a function
dpkg: error processing package ntp (--configure):
subprocess installed post-installation script returned error exit status 2
Thanks