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) ...
Installing new version of config file /etc/dhcp/dhclient-exit-hooks.d/ntp ...
/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

** Information type changed from Private Security to Public

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/1684233

Title:
  package ntp 1:4.2.8p4+dfsg-3ubuntu5.4 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 2

Status in ntp package in Ubuntu:
  New

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+dfsg-3ubuntu5.4
  ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49
  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=/boot/vmlinuz-4.4.0-72-generic 
root=UUID=28cffc81-a318-4788-996b-6ba760b5a61d ro priority=low quiet splash 
vt.handoff=7
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.1
   apt  1.2.19
  SourcePackage: ntp
  Title: package ntp 1:4.2.8p4+dfsg-3ubuntu5.4 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1684233/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to