package samba 2:4.3.11+dfsg-0ubuntu0.16.04.12 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
ats@ats-pc:~$ sudo apt-get install dotnet-sdk-2.0.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
aspnetcore-
liblttng-ust-ctl2 liblttng-ust0 liburcu4
The following NEW packages will be installed:
aspnetcore-
dotnet-sdk-2.0.2 liblttng-ust-ctl2 liblttng-ust0 liburcu4
0 upgraded, 8 newly installed, 0 to remove and 18 not upgraded.
5 not fully installed or removed.
Need to get 108 MB of archives.
After this operation, 311 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Get:2 https:/
Get:3 http://
Get:4 http://
Get:5 https:/
Get:6 https:/
Get:7 https:/
Get:8 https:/
Fetched 108 MB in 4min 25s (405 kB/s)
Selecting previously unselected package aspnetcore-
(Reading database ... 311645 files and directories currently installed.)
Preparing to unpack .../aspnetcore-
Unpacking aspnetcore-
Selecting previously unselected package dotnet-host.
Preparing to unpack .../dotnet-
Unpacking dotnet-host (2.0.4-1) ...
Selecting previously unselected package dotnet-
Preparing to unpack .../dotnet-
Unpacking dotnet-
Selecting previously unselected package liburcu4:amd64.
Preparing to unpack .../liburcu4_
Unpacking liburcu4:amd64 (0.9.1-3) ...
Selecting previously unselected package liblttng-
Preparing to unpack .../liblttng-
Unpacking liblttng-
Selecting previously unselected package liblttng-
Preparing to unpack .../liblttng-
Unpacking liblttng-ust0:amd64 (2.7.1-1ubuntu0.1) ...
Selecting previously unselected package dotnet-
Preparing to unpack .../dotnet-
Unpacking dotnet-
Selecting previously unselected package dotnet-sdk-2.0.2.
Preparing to unpack .../dotnet-
Unpacking dotnet-sdk-2.0.2 (2.0.2-1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Setting up samba (2:4.3.
Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2018-01-04 01:38:01 IST; 4ms ago
Docs: man:systemd-
Process: 10256 ExecStart=
Jan 04 01:38:01 ats-pc systemd[1]: Starting LSB: start Samba SMB/CIFS daemo.....
Jan 04 01:38:01 ats-pc smbd[10256]: * Starting SMB/CIFS daemon smbd
Jan 04 01:38:01 ats-pc smbd[10256]: ...fail!
Jan 04 01:38:01 ats-pc systemd[1]: smbd.service: Control process exited, co...=1
Jan 04 01:38:01 ats-pc systemd[1]: Failed to start LSB: start Samba SMB/CIF...).
Jan 04 01:38:01 ats-pc systemd[1]: smbd.service: Unit entered failed state.
Jan 04 01:38:01 ats-pc systemd[1]: smbd.service: Failed with result 'exit-code'.
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
dpkg: dependency problems prevent configuration of winbind:
winbind depends on samba (= 2:4.3.11+
Package samba is not configured yet.
dpkg: error processing package winbind (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnss-
libnss-
Package winbind is not configured yet.
dpkg: error processing package libnss-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpam-
libpam-
Package winbind is not configured yet.
dpkg: error processing package libpam-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba-dbg:
samba-dbg depends on samba (= 2:4.3.11+dfsg-0uNo apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
Package samba is not configured yet.
dpkg: error processing package samba-dbg (--configure):
dependency problems - leaving unconfigured
Setting up aspnetcore-
Setting up dotnet-host (2.0.4-1) ...
Setting up dotnet-
Setting up liburcu4:amd64 (0.9.1-3) ...
Setting up liblttng-
Setting up liblttng-ust0:amd64 (2.7.1-1ubuntu0.1) ...
Setting up dotnet-
Setting up dotnet-sdk-2.0.2 (2.0.2-1) ...
This software may collect information about you and your use of the software, and send that to Microsoft.
Please visit http://
Welcome to .NET Core!
-------
Learn more about .NET Core @ https:/
.NET Core Tools Telemetry
--------------
The .NET Core Tools include a telemetry feature that collects usage information. It is important that the .NET Team understands how the tools are being used so that we can improve them.
The data collected is anonymous and will be published in an aggregated form for use by both Microsoft and community engineers under the Creative Commons Attribution License.
The .NET Core Tools telemetry feature is enabled by default. You can opt-out of the telemetry feature by setting an environment variable DOTNET_
Installation Note
--------------
A command will be run during the install process that will improve project restore speed and enable offline access. It will take up to a minute to complete.
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
samba
winbind
libnss-
libpam-
samba-dbg
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: samba 2:4.3.11+
ProcVersionSign
Uname: Linux 4.4.0-105-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.14
Architecture: amd64
Date: Thu Jan 4 01:38:01 2018
DpkgHistoryLog:
Start-Date: 2018-01-04 01:37:43
Commandline: apt-get install dotnet-sdk-2.0.2
Requested-By: ats (1000)
Install: liblttng-ust0:amd64 (2.7.1-1ubuntu0.1, automatic), aspnetcore-
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-05-16 (231 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
NmbdLog:
RelatedPackageV
dpkg 1.18.4ubuntu1.3
apt 1.2.25
SambaServerRegr
SmbConfIncluded: Yes
SmbLog:
SourcePackage: samba
Title: package samba 2:4.3.11+
UpgradeStatus: No upgrade log present (probably fresh install)
WindowsFailedCo
tags: | removed: need-duplicate-check |
Thanks for filing this bug in Ubuntu.
The logs you attached confirm that the smbd service failed to start, but do not state the reason. This would be in the more detailed logs in /var/log/ samba/log* .
Could you please attach the log files from /var/log/samba?
Thanks!