[Bug 1755383] Re: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Matthias Sommer 1755383 at bugs.launchpad.net
Fri Mar 16 10:05:42 UTC 2018


1. $ sudo apt install --reinstall samba

results in:

    E: Internal Error, No file name for samba:i386

so I did "sudo apt full-upgrade"

resulting in:

    samba (2:4.6.7+dfsg-1ubuntu3.2) wird eingerichtet ...
    Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
    /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory


systemctl status smbd
● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2018-03-16 11:04:00 CET; 46s ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
 Main PID: 20015 (smbd)
   Status: "smbd: ready to serve connections..."
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/smbd.service
           ├─20015 /usr/sbin/smbd
           ├─20016 /usr/sbin/smbd
           ├─20017 /usr/sbin/smbd
           └─20020 /usr/sbin/smbd

Mär 16 11:04:00 S205 systemd[1]: Starting Samba SMB Daemon...
Mär 16 11:04:00 S205 systemd[1]: smbd.service: Supervising process 20015 which is not our child. We'
Mär 16 11:04:00 S205 systemd[1]: Started Samba SMB Daemon.



systemctl status nmbd
● nmbd.service - Samba NMB Daemon
   Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset: enabled)
   Active: failed (Result: timeout) since Fri 2018-03-16 11:04:22 CET; 53s ago
     Docs: man:nmbd(8)
           man:samba(7)
           man:smb.conf(5)
 Main PID: 20069
   Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..."
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/nmbd.service

Mär 16 11:04:01 S205 systemd[1]: Starting Samba NMB Daemon...
Mär 16 11:04:01 S205 systemd[1]: nmbd.service: Supervising process 20069 which is not our child. We'
Mär 16 11:04:22 S205 systemd[1]: nmbd.service: Start operation timed out. Terminating.
Mär 16 11:04:22 S205 systemd[1]: nmbd.service: Killing process 20069 (nmbd) with signal SIGKILL.
Mär 16 11:04:22 S205 systemd[1]: nmbd.service: Killing process 20069 (nmbd) with signal SIGKILL.
Mär 16 11:04:22 S205 systemd[1]: Failed to start Samba NMB Daemon.
Mär 16 11:04:22 S205 systemd[1]: nmbd.service: Unit entered failed state.
Mär 16 11:04:22 S205 systemd[1]: nmbd.service: Failed with result 'timeout'.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1755383

Title:
  package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  error

  ProblemType: Package
  DistroRelease: Ubuntu 17.10
  Package: samba 2:4.6.7+dfsg-1ubuntu3.1
  ProcVersionSignature: Ubuntu 4.13.0-36.40-generic 4.13.13
  Uname: Linux 4.13.0-36-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3.7
  Architecture: amd64
  Date: Tue Mar 13 09:12:45 2018
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2018-02-20 (20 days ago)
  InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
  NmbdLog:
   
  Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
  PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
  RelatedPackageVersions:
   dpkg 1.18.24ubuntu1
   apt  1.5.1
  SambaServerRegression: Yes
  SmbConfIncluded: Yes
  SmbLog:
   
  SourcePackage: samba
  TestparmExitCode: 0
  Title: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to artful on 2018-03-12 (0 days ago)
  WindowsFailedConnect: Yes

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



More information about the foundations-bugs mailing list