Thanks for filing this bug in Ubuntu, and sorry for taking so long to get to it.
This is the error from the logs: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Job for autofs.service failed because the control process exited with error code. See "systemctl status autofs.service" and "journalctl -xe" for details. invoke-rc.d: initscript autofs, action "start" failed. [0;1;31m●[0m autofs.service - LSB: Automounts filesystems on demand Loaded: loaded (/etc/init.d/autofs; bad; vendor preset: enabled) Active: [0;1;31mfailed[0m (Result: exit-code) since Fri 2017-08-04 20:16:27 PDT; 3ms ago Docs: man:systemd-sysv-generator(8) Process: 5697 ExecStart=/etc/init.d/autofs start [0;1;31m(code=exited, status=127)[0m Tasks: 21 Memory: 3.9M CPU: 9ms CGroup: /system.slice/autofs.service └─2132 /usr/sbin/automount --pid-file /var/run/autofs.pid Aug 04 20:16:27 tully systemd[1]: Starting LSB: Automounts filesystems on d..... Aug 04 20:16:27 tully autofs[5697]: * Starting automount... Aug 04 20:16:27 tully autofs[5697]: ...done. Aug 04 20:16:27 tully autofs[5697]: /etc/init.d/autofs: 112: /etc/init.d/au...nd Aug 04 20:16:27 tully systemd[1]: [0;1;39mautofs.service: Control process exited, c...27[0m Aug 04 20:16:27 tully systemd[1]: [0;1;31mFailed to start LSB: Automounts filesyste...d.[0m Aug 04 20:16:27 tully systemd[1]: [0;1;39mautofs.service: Unit entered failed state.[0m Aug 04 20:16:27 tully systemd[1]: [0;1;39mautofs.service: Failed with result 'exit-...'.[0m Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package autofs (--configure): subprocess installed post-installation script returned error exit status 1 Setting up libapt-inst2.0:amd64 (1.2.24) ... It hints at something having gone wrong in line 112 of etc/init.d/autofs, but that line is just the end of the file. If this is still happening, could you please show us the output of: sudo apt update sudo apt -f install sudo systemctl -l status autofs.service Thanks ** Changed in: autofs (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to autofs in Ubuntu. https://bugs.launchpad.net/bugs/1708788 Title: package autofs 5.1.1-1ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1708788/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs