Re: [Bug 1734359] Re: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
victor saiz ayala
1734359 at bugs.launchpad.net
Mon Nov 27 19:43:48 UTC 2017
vsa at vsa-EasyNote-SB65:~/VM$ sudo apt-get purge samba
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Los paquetes indicados a continuación se instalaron de forma automática y
ya no son necesarios.
attr libaio1 libboost-random1.62.0 libboost-regex1.62.0 libcephfs2
libnih-dbus1 librados2 linux-image-4.10.0-37-generic
linux-image-extra-4.10.0-37-generic python-dnspython samba-dsdb-modules
samba-vfs-modules tdb-tools
Utilice «sudo apt autoremove» para eliminarlos.
Los siguientes paquetes se ELIMINARÁN:
samba*
0 actualizados, 0 nuevos se instalarán, 1 para eliminar y 0 no actualizados.
1 no instalados del todo o eliminados.
Se liberarán 11,2 MB después de esta operación.
¿Desea continuar? [S/n] s
(Leyendo la base de datos ... 194104 ficheros o directorios instalados
actualmente.)
Desinstalando samba (2:4.6.7+dfsg-1ubuntu3.1) ...
Procesando disparadores para libc-bin (2.26-0ubuntu2) ...
Procesando disparadores para man-db (2.7.6.1-2) ...
(Leyendo la base de datos ... 193910 ficheros o directorios instalados
actualmente.)
Purgando ficheros de configuración de samba (2:4.6.7+dfsg-1ubuntu3.1) ...
Procesando disparadores para ufw (0.35-5) ...
Procesando disparadores para ureadahead (0.100.0-20) ...
Procesando disparadores para systemd (234-2ubuntu12.1) ...
vsa at vsa-EasyNote-SB65:~/VM$ sudo apt-get install samba
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Los paquetes indicados a continuación se instalaron de forma automática y
ya no son necesarios.
libnih-dbus1 linux-image-4.10.0-37-generic
linux-image-extra-4.10.0-37-generic
Utilice «sudo apt autoremove» para eliminarlos.
Paquetes sugeridos:
bind9 bind9utils ctdb ldb-tools ntp | chrony smbldap-tools winbind
Se instalarán los siguientes paquetes NUEVOS:
samba
0 actualizados, 1 nuevos se instalarán, 0 para eliminar y 0 no actualizados.
Se necesita descargar 0 B/846 kB de archivos.
Se utilizarán 11,2 MB de espacio de disco adicional después de esta
operación.
Seleccionando el paquete samba previamente no seleccionado.
(Leyendo la base de datos ... 193905 ficheros o directorios instalados
actualmente.)
Preparando para desempaquetar .../samba_2%3a4.6.7+dfsg-1ubuntu3.1_amd64.deb
...
Desempaquetando samba (2:4.6.7+dfsg-1ubuntu3.1) ...
Procesando disparadores para ufw (0.35-5) ...
Procesando disparadores para ureadahead (0.100.0-20) ...
Procesando disparadores para libc-bin (2.26-0ubuntu2) ...
Procesando disparadores para systemd (234-2ubuntu12.1) ...
Procesando disparadores para man-db (2.7.6.1-2) ...
Configurando samba (2:4.6.7+dfsg-1ubuntu3.1) ...
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
samba-ad-dc-service.
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.
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 - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor
preset: enabled)
Active: failed (Result: exit-code) since Mon 2017-11-27 20:43:05 CET;
13ms ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 4481 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited,
status=255)
Main PID: 4481 (code=exited, status=255)
Status: "Starting process..."
nov 27 20:43:05 vsa-EasyNote-SB65 smbd[4481]: [2017/11/27 20:43:05.829288,
0] ../source3/auth/auth_util.c:762(get_guest_info3)
nov 27 20:43:05 vsa-EasyNote-SB65 smbd[4481]: SamInfo3_for_guest: Unable
to locate guest account [smbguest]!
nov 27 20:43:05 vsa-EasyNote-SB65 smbd[4481]: [2017/11/27 20:43:05.829404,
0] ../source3/auth/auth_util.c:830(make_new_session_info_guest)
nov 27 20:43:05 vsa-EasyNote-SB65 smbd[4481]: get_guest_info3 failed with
NT_STATUS_NO_SUCH_USER
nov 27 20:43:05 vsa-EasyNote-SB65 smbd[4481]: [2017/11/27 20:43:05.829461,
0] ../source3/smbd/server.c:1900(main)
nov 27 20:43:05 vsa-EasyNote-SB65 smbd[4481]: ERROR: failed to setup
guest info.
nov 27 20:43:05 vsa-EasyNote-SB65 systemd[1]: smbd.service: Main process
exited, code=exited, status=255/n/a
nov 27 20:43:05 vsa-EasyNote-SB65 systemd[1]: Failed to start Samba SMB
Daemon.
nov 27 20:43:05 vsa-EasyNote-SB65 systemd[1]: smbd.service: Unit entered
failed state.
nov 27 20:43:05 vsa-EasyNote-SB65 systemd[1]: smbd.service: Failed with
result 'exit-code'.
dpkg: error al procesar el paquete samba (--configure):
el subproceso instalado el script post-installation devolvió el código de
salida de error 1
Procesando disparadores para libc-bin (2.26-0ubuntu2) ...
Procesando disparadores para ureadahead (0.100.0-20) ...
Procesando disparadores para systemd (234-2ubuntu12.1) ...
Procesando disparadores para ufw (0.35-5) ...
Se encontraron errores al procesar:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
vsa at vsa-EasyNote-SB65:~/VM$
2017-11-27 20:27 GMT+01:00 Victor SAIZ AYALA <victorsaizayala at gmail.com>:
> vsa at vsa-EasyNote-SB65:/etc$ id smbguest
> id: «smbguest»: no existe ese usuario
> vsa at vsa-EasyNote-SB65:/etc$ sudo pdbedit smbguest
> [sudo] password for vsa:
>
> Unknown parameter encountered: "password level"
> Ignoring unknown parameter "password level"
> Unknown parameter encountered: "update encrypted"
> Ignoring unknown parameter "update encrypted"
> Failed to find a Unix account for smbguest
> smbguest:4294967295:Samba guest account
>
>
>
> ifconfig
> enp6s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
> ether 00:1e:68:67:2b:91 txqueuelen 1000 (Ethernet)
> RX packets 0 bytes 0 (0.0 B)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 0 bytes 0 (0.0 B)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
> device interrupt 17
>
> lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
> inet 127.0.0.1 netmask 255.0.0.0
> inet6 ::1 prefixlen 128 scopeid 0x10<host>
> loop txqueuelen 1000 (Bucle local)
> RX packets 884 bytes 77728 (77.7 KB)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 884 bytes 77728 (77.7 KB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> inet 192.168.0.41 netmask 255.255.255.0 broadcast 192.168.0.255
> inet6 fe80::77ca:6f60:2ea3:d2b5 prefixlen 64 scopeid 0x20<link>
> ether 00:1f:3c:2a:ca:3d txqueuelen 1000 (Ethernet)
> RX packets 6339 bytes 4371772 (4.3 MB)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 4568 bytes 734592 (734.5 KB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> Does this clarify anything?
>
>
> 2017-11-27 18:18 GMT+01:00 Andreas Hasenack <andreas at canonical.com>:
>
>> You missed log.smbd and log.nmbd. These are important, since they are
>> the most recent logs from each one of these services. Could you please
>> attach them?
>>
>> That being said, I see a couple of issues already:
>>
>> a) you configure the guest account as being "smbguest", but the logs
>> complain that this user does not exist. Do you have it? Try:
>> id smbguest
>> sudo pdbedit smbguest
>>
>> b) It seems that at least sometimes when samba starts up, there is no
>> network configured on that machine. Maybe it's a desktop and you only
>> have networking after you login and network-manager takes over?
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1734359
>>
>> Title:
>> package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el
>> subproceso instalado el script post-installation devolvió el código de
>> salida de error 1
>>
>> Status in samba package in Ubuntu:
>> Incomplete
>>
>> Bug description:
>> The error has been a few seconds after the boot of the pc.
>>
>> ProblemType: Package
>> DistroRelease: Ubuntu 17.10
>> Package: samba 2:4.6.7+dfsg-1ubuntu3.1
>> ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8
>> Uname: Linux 4.13.0-17-generic x86_64
>> NonfreeKernelModules: nvidia_uvm nvidia
>> ApportVersion: 2.20.7-0ubuntu3.5
>> Architecture: amd64
>> CIFSMounts:
>>
>> Date: Thu Nov 23 18:57:02 2017
>> ErrorMessage: el subproceso instalado el script post-installation
>> devolvió el código de salida de error 1
>> Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal,
>> 3.6.3-0ubuntu2
>> PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal,
>> 2.7.14-2ubuntu1
>> RelatedPackageVersions:
>> dpkg 1.18.24ubuntu1
>> apt 1.5.1
>> SambaClientRegression: No
>> SourcePackage: samba
>> Title: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade:
>> el subproceso instalado el script post-installation devolvió el código de
>> salida de error 1
>> UpgradeStatus: Upgraded to artful on 2017-10-31 (23 days ago)
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1734359
>> /+subscriptions
>>
>
>
--
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/1734359
Title:
package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el
subproceso instalado el script post-installation devolvió el código de
salida de error 1
Status in samba package in Ubuntu:
Incomplete
Bug description:
The error has been a few seconds after the boot of the pc.
ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: samba 2:4.6.7+dfsg-1ubuntu3.1
ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8
Uname: Linux 4.13.0-17-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia
ApportVersion: 2.20.7-0ubuntu3.5
Architecture: amd64
CIFSMounts:
Date: Thu Nov 23 18:57:02 2017
ErrorMessage: el subproceso instalado el script post-installation devolvió el código de salida de error 1
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
RelatedPackageVersions:
dpkg 1.18.24ubuntu1
apt 1.5.1
SambaClientRegression: No
SourcePackage: samba
Title: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
UpgradeStatus: Upgraded to artful on 2017-10-31 (23 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1734359/+subscriptions
More information about the foundations-bugs
mailing list