[Bug 1728586] Re: package samba 2:4.6.7+dfsg-1ubuntu3 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Andreas Hasenack
andreas at canonical.com
Mon Oct 30 13:09:26 UTC 2017
Thanks for filing this bug in Ubuntu.
Was your network perhaps down during the upgrade, or when you ran the
dpkg --configure -a command? Perhaps you have a wifi connection that
gets established only after you login on your desktop environment?
The nmbd process will start in such a case, but if there is no network
it will wait indefinitely for one. Systemd, however, will eventually
timeout the job and think it failed.
Something like this might be happening in your case:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1706990/comments/11
Just for completeness, could you also please attach these files:
- /etc/samba/smb.conf
- /var/log/samba/log*
Thanks
** Changed in: samba (Ubuntu)
Status: New => Incomplete
--
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/1728586
Title:
package samba 2:4.6.7+dfsg-1ubuntu3 failed to install/upgrade:
Unterprozess installiertes post-installation-Skript gab den Fehlerwert
1 zurück
Status in samba package in Ubuntu:
Incomplete
Bug description:
Upgrade to Ubuntu 17.10 stopped due to "Samba" package, so I've manually continued the upgrade with "
sudo dpkg --configure -a" and got the following errors:
samba (2:4.6.7+dfsg-1ubuntu3) wird eingerichtet ...
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
Job for nmbd.service failed because a timeout was exceeded.
See "systemctl status nmbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nmbd, action "restart" failed.
● nmbd.service - Samba NMB Daemon
Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset: enabled)
Active: failed (Result: timeout) since Mon 2017-10-30 04:11:04 CET; 6ms ago
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 5522
Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..."
Tasks: 1 (limit: 4915)
CGroup: /system.slice/nmbd.service
Okt 30 04:09:34 ***-Notebook systemd[1]: Starting Samba NMB Daemon...
Okt 30 04:09:34 ***-Notebook systemd[1]: nmbd.service: Supervising process 5522 which is not our child. We'll most likely not notice when it exits.
Okt 30 04:11:04 ***-Notebook systemd[1]: nmbd.service: Start operation timed out. Terminating.
Okt 30 04:11:04 ***-Notebook systemd[1]: nmbd.service: Killing process 5522 (nmbd) with signal SIGKILL.
Okt 30 04:11:04 ***-Notebook systemd[1]: nmbd.service: Killing process 5522 (nmbd) with signal SIGKILL.
Okt 30 04:11:04 ***-Notebook systemd[1]: Failed to start Samba NMB Daemon.
Okt 30 04:11:04 ***-Notebook systemd[1]: nmbd.service: Unit entered failed state.
Okt 30 04:11:04 ***-Notebook systemd[1]: nmbd.service: Failed with result 'timeout'.
dpkg: Fehler beim Bearbeiten des Paketes samba (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Trigger für libc-bin (2.26-0ubuntu2) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
samba
ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: samba 2:4.6.7+dfsg-1ubuntu3
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.1
AptOrdering: NULL: ConfigurePending
Architecture: amd64
Date: Mon Oct 30 04:15:43 2017
ErrorMessage: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
InstallationDate: Installed on 2012-05-05 (2003 days ago)
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
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:
nautilus 1:3.26.0-0ubuntu1
gvfs 1.34.1-1ubuntu1
SambaClientRegression: Yes
SourcePackage: samba
Title: package samba 2:4.6.7+dfsg-1ubuntu3 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1728586/+subscriptions
More information about the foundations-bugs
mailing list