[Bug 1708788] Re: package autofs 5.1.1-1ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Andreas Hasenack andreas at canonical.com
Mon Jun 4 23:33:59 UTC 2018


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.
● autofs.service - LSB: Automounts filesystems on demand
   Loaded: loaded (/etc/init.d/autofs; bad; vendor preset: enabled)
   Active: failed (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 (code=exited, status=127)
    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]: autofs.service: Control process exited, c...27
Aug 04 20:16:27 tully systemd[1]: Failed to start LSB: Automounts filesyste...d.
Aug 04 20:16:27 tully systemd[1]: autofs.service: Unit entered failed state.
Aug 04 20:16:27 tully systemd[1]: autofs.service: Failed with result 'exit-...'.
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
Foundations Bugs, 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

Status in autofs package in Ubuntu:
  Incomplete

Bug description:
  Issue has occurred repeatedly.  However, automounting appears to be
  happening normally.

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: autofs 5.1.1-1ubuntu3.1
  ProcVersionSignature: Ubuntu 4.4.0-89.112-generic 4.4.76
  Uname: Linux 4.4.0-89-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  Date: Fri Aug  4 20:16:27 2017
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2016-08-10 (359 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.2
   apt  1.2.24
  SourcePackage: autofs
  Title: package autofs 5.1.1-1ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to xenial on 2016-08-11 (359 days ago)
  modified.conffile..etc.init.d.autofs: [modified]
  mtime.conffile..etc.init.d.autofs: 2016-08-11T11:32:09.967250

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



More information about the foundations-bugs mailing list