package samba-common-bin 2:4.11.6+dfsg-0ubuntu1.5 failed to install/upgrade: el subproceso instalado paquete samba-common-bin script post-installation devolvió el código de salida de error 1

Bug #1901474 reported by Andrea 'ndrini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
New
Undecided
Unassigned

Bug Description

I tried to install this package cause I can't access anymore to NAS file on ubuntu 20.04.
I had the samba client installed, and I need to install full version of samba to allow the configuration of /etc/samba/smb.conf (now missing).

The installation of samba-common-bin failed

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: samba-common-bin 2:4.11.6+dfsg-0ubuntu1.5
ProcVersionSignature: Ubuntu 5.4.0-52.57-generic 5.4.65
Uname: Linux 5.4.0-52-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.10
Architecture: amd64
CasperMD5CheckResult: skip
Date: Mon Oct 26 05:49:35 2020
ErrorMessage: el subproceso instalado paquete samba-common-bin script post-installation devolvió el código de salida de error 1
InstallationDate: Installed on 2015-11-02 (1819 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 nautilus 1:3.36.3-0ubuntu1
 gvfs 1.44.1-1ubuntu1
SambaClientRegression: Yes
SourcePackage: samba
Title: package samba-common-bin 2:4.11.6+dfsg-0ubuntu1.5 failed to install/upgrade: el subproceso instalado paquete samba-common-bin script post-installation devolvió el código de salida de error 1
UpgradeStatus: Upgraded to focal on 2020-09-28 (27 days ago)

Revision history for this message
Andrea 'ndrini (ndrini) wrote :
Revision history for this message
Andrea 'ndrini (ndrini) wrote :

After a reboot I could complete the installation:
su@ca:~$ sudo aptitude install samba
[sudo] contraseña para su:
Se configurarán los siguientes paquetes que están ahora parcialmente instalados:
  samba samba-common-bin
No se instalará, actualizará o eliminará ningún paquete.
0 paquetes actualizados, 0 nuevos instalados, 0 para eliminar y 0 sin actualizar.
Necesito descargar 0 B de ficheros. Después de desempaquetar se usarán 0 B.
Configurando samba-common-bin (2:4.11.6+dfsg-0ubuntu1.5) ...
Checking smb.conf with testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE

Done
Configurando samba (2:4.11.6+dfsg-0ubuntu1.5) ...
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-ad-dc.service masked)
Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service.
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
Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service.
samba-ad-dc.service is a disabled or a static unit, not starting it.
Procesando disparadores para libc-bin (2.31-0ubuntu9.1) ...
Procesando disparadores para systemd (245.4-4ubuntu3.2) ...
Procesando disparadores para ufw (0.36-6) ..

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.