[Bug 1734859] Re: package samba 2:4.5.4+dfsg-1ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Andreas Hasenack andreas at canonical.com
Wed Dec 6 11:26:39 UTC 2017


Your output is missing some data, it's not showing the info for samba-
ad-dc. Please run this:

sudo systemctl status samba-ad-dc.service

-- 
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/1734859

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

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  root at IT-XXI:~# apt install samba
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following additional packages will be installed:
    attr libboost-random1.62.0 libcephfs1 libldb1 libtalloc2 libtevent0
    libwbclient0 python-crypto python-dnspython python-ldb python-samba
    python-talloc python-tdb samba-common samba-common-bin samba-dsdb-modules
    samba-libs samba-vfs-modules tdb-tools
  Suggested packages:
    python-crypto-dbg python-crypto-doc python-gpgme bind9 bind9utils ctdb
    ldb-tools ntp | chrony smbldap-tools winbind heimdal-clients
  The following NEW packages will be installed:
    attr libboost-random1.62.0 libcephfs1 libldb1 libtalloc2 libtevent0
    libwbclient0 python-crypto python-dnspython python-ldb python-samba
    python-talloc python-tdb samba samba-common samba-common-bin
    samba-dsdb-modules samba-libs samba-vfs-modules tdb-tools
  0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
  Need to get 10,8 MB of archives.
  After this operation, 56,7 MB of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Get:1 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libwbclient0 amd64 2:4.5.4+dfsg-1ubuntu2 [32,8 kB]
  Get:2 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 python-dnspython all 1.15.0-1 [84,9 kB]
  Get:3 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 python-crypto amd64 2.6.1-7 [244 kB]
  Get:4 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libtalloc2 amd64 2.1.8-1 [34,5 kB]
  Get:5 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libtevent0 amd64 0.9.31-1 [28,4 kB]
  Get:6 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libldb1 amd64 2:1.1.27-1 [109 kB]
  Get:7 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 python-ldb amd64 2:1.1.27-1 [31,0 kB]
  Get:8 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 python-tdb amd64 1.3.11-2 [10,7 kB]
  Get:9 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 python-talloc amd64 2.1.8-1 [8.350 B]
  Get:10 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 samba-libs amd64 2:4.5.4+dfsg-1ubuntu2 [5.072 kB]
  Get:11 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 python-samba amd64 2:4.5.4+dfsg-1ubuntu2 [1.259 kB]
  Get:12 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 samba-common all 2:4.5.4+dfsg-1ubuntu2 [76,7 kB]
  Get:13 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 samba-common-bin amd64 2:4.5.4+dfsg-1ubuntu2 [510 kB]
  Get:14 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 tdb-tools amd64 1.3.11-2 [21,4 kB]
  Get:15 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 samba amd64 2:4.5.4+dfsg-1ubuntu2 [836 kB]
  Get:16 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 attr amd64 1:2.4.47-2 [25,5 kB]
  Get:17 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libboost-random1.62.0 amd64 1.62.0+dfsg-4 [11,1 kB]
  Get:18 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libcephfs1 amd64 10.2.6-0ubuntu1 [1.861 kB]
  Get:19 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 samba-dsdb-modules amd64 2:4.5.4+dfsg-1ubuntu2 [230 kB]
  Get:20 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 samba-vfs-modules amd64 2:4.5.4+dfsg-1ubuntu2 [267 kB]
  Fetched 10,8 MB in 1min 7s (160 kB/s)                                          
  Preconfiguring packages ...
  Selecting previously unselected package libwbclient0:amd64.
  (Reading database ... 333776 files and directories currently installed.)
  Preparing to unpack .../00-libwbclient0_2%3a4.5.4+dfsg-1ubuntu2_amd64.deb ...
  Unpacking libwbclient0:amd64 (2:4.5.4+dfsg-1ubuntu2) ...
  Selecting previously unselected package python-dnspython.
  Preparing to unpack .../01-python-dnspython_1.15.0-1_all.deb ...
  Unpacking python-dnspython (1.15.0-1) ...
  Selecting previously unselected package python-crypto.
  Preparing to unpack .../02-python-crypto_2.6.1-7_amd64.deb ...
  Unpacking python-crypto (2.6.1-7) ...
  Selecting previously unselected package libtalloc2:amd64.
  Preparing to unpack .../03-libtalloc2_2.1.8-1_amd64.deb ...
  Unpacking libtalloc2:amd64 (2.1.8-1) ...
  Selecting previously unselected package libtevent0:amd64.
  Preparing to unpack .../04-libtevent0_0.9.31-1_amd64.deb ...
  Unpacking libtevent0:amd64 (0.9.31-1) ...
  Selecting previously unselected package libldb1:amd64.
  Preparing to unpack .../05-libldb1_2%3a1.1.27-1_amd64.deb ...
  Unpacking libldb1:amd64 (2:1.1.27-1) ...
  Selecting previously unselected package python-ldb.
  Preparing to unpack .../06-python-ldb_2%3a1.1.27-1_amd64.deb ...
  Unpacking python-ldb (2:1.1.27-1) ...
  Selecting previously unselected package python-tdb.
  Preparing to unpack .../07-python-tdb_1.3.11-2_amd64.deb ...
  Unpacking python-tdb (1.3.11-2) ...
  Selecting previously unselected package python-talloc.
  Preparing to unpack .../08-python-talloc_2.1.8-1_amd64.deb ...
  Unpacking python-talloc (2.1.8-1) ...
  Selecting previously unselected package samba-libs:amd64.
  Preparing to unpack .../09-samba-libs_2%3a4.5.4+dfsg-1ubuntu2_amd64.deb ...
  Unpacking samba-libs:amd64 (2:4.5.4+dfsg-1ubuntu2) ...
  Selecting previously unselected package python-samba.
  Preparing to unpack .../10-python-samba_2%3a4.5.4+dfsg-1ubuntu2_amd64.deb ...
  Unpacking python-samba (2:4.5.4+dfsg-1ubuntu2) ...
  Selecting previously unselected package samba-common.
  Preparing to unpack .../11-samba-common_2%3a4.5.4+dfsg-1ubuntu2_all.deb ...
  Unpacking samba-common (2:4.5.4+dfsg-1ubuntu2) ...
  Selecting previously unselected package samba-common-bin.
  Preparing to unpack .../12-samba-common-bin_2%3a4.5.4+dfsg-1ubuntu2_amd64.deb ...
  Unpacking samba-common-bin (2:4.5.4+dfsg-1ubuntu2) ...
  Selecting previously unselected package tdb-tools.
  Preparing to unpack .../13-tdb-tools_1.3.11-2_amd64.deb ...
  Unpacking tdb-tools (1.3.11-2) ...
  Selecting previously unselected package samba.
  Preparing to unpack .../14-samba_2%3a4.5.4+dfsg-1ubuntu2_amd64.deb ...
  Unpacking samba (2:4.5.4+dfsg-1ubuntu2) ...
  Selecting previously unselected package attr.
  Preparing to unpack .../15-attr_1%3a2.4.47-2_amd64.deb ...
  Unpacking attr (1:2.4.47-2) ...
  Selecting previously unselected package libboost-random1.62.0:amd64.
  Preparing to unpack .../16-libboost-random1.62.0_1.62.0+dfsg-4_amd64.deb ...
  Unpacking libboost-random1.62.0:amd64 (1.62.0+dfsg-4) ...
  Selecting previously unselected package libcephfs1.
  Preparing to unpack .../17-libcephfs1_10.2.6-0ubuntu1_amd64.deb ...
  Unpacking libcephfs1 (10.2.6-0ubuntu1) ...
  Selecting previously unselected package samba-dsdb-modules.
  Preparing to unpack .../18-samba-dsdb-modules_2%3a4.5.4+dfsg-1ubuntu2_amd64.deb ...
  Unpacking samba-dsdb-modules (2:4.5.4+dfsg-1ubuntu2) ...
  Selecting previously unselected package samba-vfs-modules.
  Preparing to unpack .../19-samba-vfs-modules_2%3a4.5.4+dfsg-1ubuntu2_amd64.deb ...
  Unpacking samba-vfs-modules (2:4.5.4+dfsg-1ubuntu2) ...
  Setting up python-dnspython (1.15.0-1) ...
  Processing triggers for ufw (0.35-4) ...
  Setting up libwbclient0:amd64 (2:4.5.4+dfsg-1ubuntu2) ...
  Setting up python-crypto (2.6.1-7) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  Setting up python-tdb (1.3.11-2) ...
  Setting up libboost-random1.62.0:amd64 (1.62.0+dfsg-4) ...
  Setting up samba-common (2:4.5.4+dfsg-1ubuntu2) ...
  Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
  Processing triggers for systemd (232-21ubuntu7.1) ...
  Setting up tdb-tools (1.3.11-2) ...
  update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode
  Processing triggers for man-db (2.7.6.1-2) ...
  Setting up libtalloc2:amd64 (2.1.8-1) ...
  Setting up libcephfs1 (10.2.6-0ubuntu1) ...
  Setting up attr (1:2.4.47-2) ...
  Setting up python-talloc (2.1.8-1) ...
  Setting up libtevent0:amd64 (0.9.31-1) ...
  Setting up libldb1:amd64 (2:1.1.27-1) ...
  Setting up python-ldb (2:1.1.27-1) ...
  Setting up samba-libs:amd64 (2:4.5.4+dfsg-1ubuntu2) ...
  Setting up samba-vfs-modules (2:4.5.4+dfsg-1ubuntu2) ...
  Setting up python-samba (2:4.5.4+dfsg-1ubuntu2) ...
  Setting up samba-common-bin (2:4.5.4+dfsg-1ubuntu2) ...
  Setting up samba-dsdb-modules (2:4.5.4+dfsg-1ubuntu2) ...
  Setting up samba (2:4.5.4+dfsg-1ubuntu2) ...
  Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service.
  Created symlink /etc/systemd/system/multi-user.target.wants/samba-ad-dc.service → /etc/systemd/system/samba-ad-dc.service.
  Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service.
  Job for samba-ad-dc.service failed because the control process exited with error code.
  See "systemctl status samba-ad-dc.service" and "journalctl -xe" for details.
  invoke-rc.d: initscript samba-ad-dc, action "start" failed.
  ● samba-ad-dc.service - Samba Active Directory Domain Controller
     Loaded: loaded (/etc/systemd/system/samba-ad-dc.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Tue 2017-11-28 17:07:05 WIB; 6ms ago
    Process: 15720 ExecStart=/usr/local/samba/sbin/samba -D (code=exited, status=203/EXEC)

  Nov 28 17:07:05 IT-XXI systemd[1]: Starting Samba Active Directory Domain C…r...
  Hint: Some lines were ellipsized, use -l to show in full.
  dpkg: error processing package samba (--configure):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
  Processing triggers for systemd (232-21ubuntu7.1) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  Processing triggers for ufw (0.35-4) ...
  Errors were encountered while processing:
   samba
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 17.04
  Package: samba 2:4.5.4+dfsg-1ubuntu2
  ProcVersionSignature: Ubuntu 4.10.0-41.45-generic 4.10.17
  Uname: Linux 4.10.0-41-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4.8
  Architecture: amd64
  Date: Tue Nov 28 17:07:05 2017
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2017-09-05 (83 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  NmbdLog:
   
  RelatedPackageVersions:
   dpkg 1.18.10ubuntu2
   apt  1.4.8
  SambaServerRegression: No
  SmbConfIncluded: Yes
  SmbLog:
   
  SourcePackage: samba
  Title: package samba 2:4.5.4+dfsg-1ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UbuntuFailedConnect: Yes
  UpgradeStatus: Upgraded to zesty on 2017-10-24 (35 days ago)
  upstart.nmbd.override: manual

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



More information about the foundations-bugs mailing list