package samba-common-bin 2:4.11.6+dfsg-0ubuntu1.4 failed to install/upgrade: installed samba-common-bin package post-installation script subprocess returned error exit status 127
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I did a fresh install and can't connect from Windows 10 to Ubuntu 20.04 even though the smb.conf claims it is clean and the server launches and says ready for connections.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: samba-common-bin 2:4.11.
ProcVersionSign
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.8
AptOrdering:
samba-
samba-
samba-
samba-libs:amd64: Install
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Mon Aug 24 21:51:29 2020
ErrorMessage: installed samba-common-bin package post-installation script subprocess returned error exit status 127
InstallationDate: Installed on 2020-08-24 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
NmbdLog:
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.2ubuntu0.1
SambaServerRegr
SmbConfIncluded: Yes
SmbLog:
SourcePackage: samba
TestparmExitCode: 0
TestparmStderr:
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE
Title: package samba-common-bin 2:4.11.
UbuntuFailedCon
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for taking the time to file a bug report.
It looks like you have issued a reinstall
Start-Date: 2020-08-24 21:51:27 modules: amd64 (2:4.11. 6+dfsg- 0ubuntu1. 4), samba-libs:amd64 (2:4.11. 6+dfsg- 0ubuntu1. 4), samba-common:amd64 (2:4.11. 6+dfsg- 0ubuntu1. 4), samba-common- bin:amd64 (2:4.11. 6+dfsg- 0ubuntu1. 4)
Commandline: apt install --reinstall samba-libs samba-common samba-common-bin samba-dsdb-modules
Requested-By: protektor (1000)
Reinstall: samba-dsdb-
and the script asks you to take manual actions:
Setting up samba-common (2:4.11. 6+dfsg- 0ubuntu1. 4) ... samba/smb. conf /etc/samba/smb.conf 6+dfsg- 0ubuntu1. 4) ...
Not replacing deleted config file /etc/samba/smb.conf
Install/upgrade will fail. To recover, please try:
sudo cp /usr/share/
sudo dpkg --configure -a
Setting up samba-common-bin (2:4.11.
Have you done it ? It looks like a failure is expected if you did not.
Since there is not enough information in your report to begin triage or to differentiate between a local configuration problem and a bug in Ubuntu, I am marking this bug as "Incomplete". We would be grateful if you would: provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to "New".
For local configuration issues, you can find assistance here: www.ubuntu. com/support/ community
http://
Since there is not enough information in your report to begin triage or to differentiate between a local configuration problem and a bug in Ubuntu, I am marking this bug as "Incomplete". We would be grateful if you would: provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to "New".
For local configuration issues, you can find assistance here: www.ubuntu. com/support/ community
http://