package samba 2:4.9.2+dfsg-2ubuntu1 failed to install/upgrade: installed samba package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Step to reproduce
on ubuntu 19.04
open software update
run updat updte
the update faild with this message :
The installation or removal of a software package failed.
the log details
sudo apt update && sudo apt dist-upgrade
[sudo] password for battant:
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 http://
Hit:5 http://
Hit:6 http://
Hit:7 http://
Reading package lists... Done
Building dependency tree
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libsane-common libsane-dev
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up samba (2:4.9.
Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service
Please ignore the following error about deb-systemd-helper not finding those services.
(samba-
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 "restart" failed.
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Fri 2018-11-30 18:41:32 CET; 6ms ago
Docs: man:smbd(8)
Process: 24277 ExecStart=
Main PID: 24277 (code=exited, status=255)
nov. 30 18:41:32 battant-why systemd[1]: Starting Samba SMB Daemon...
nov. 30 18:41:32 battant-why systemd[1]: smbd.service: Main process exited, code=exited, status=255/n/a
nov. 30 18:41:32 battant-why systemd[1]: smbd.service: Failed with result 'exit-code'.
nov. 30 18:41:32 battant-why systemd[1]: Failed to start Samba SMB Daemon.
dpkg: error processing package samba (--configure):
installed samba package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
Could you help me please to fix this issus
Best regards
Battant
ProblemType: Package
DistroRelease: Ubuntu 19.04
Package: samba 2:4.9.2+
ProcVersionSign
Uname: Linux 4.18.0-9-generic x86_64
ApportVersion: 2.20.10-0ubuntu14
Architecture: amd64
Date: Fri Nov 30 18:30:21 2018
ErrorMessage: installed samba package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-09-04 (87 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Alpha amd64 (20180822)
NmbdLog:
Python3Details: /usr/bin/python3.7, Python 3.7.1, python3-minimal, 3.7.1-1ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15+, python-minimal, 2.7.15-3
RelatedPackageV
dpkg 1.19.2ubuntu1
apt 1.8.0~alpha2ubuntu1
SambaServerRegr
SmbConfIncluded: Yes
SmbLog:
create_local_token failed: NT_STATUS_
ERROR: failed to setup guest info.
create_
ERROR: failed to setup guest info.
SourcePackage: samba
TestparmExitCode: 0
Title: package samba 2:4.9.2+
UpgradeStatus: No upgrade log present (probably fresh install)
WindowsFailedCo
tags: | removed: need-duplicate-check |