[Bug 1676792] Re: package samba 2:4.4.5+dfsg-2ubuntu5.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Markus Weber
1676792 at bugs.launchpad.net
Wed Mar 29 18:22:35 UTC 2017
Problem is solved.
I removed my old VMware workstation installation which did not work any
more. Installed the newest version, changed my smb.conf back to have the
listeners on vmnet8 and lo and it seemed to have worked.
Only unclear to me is why it complained initially about not having the
loop back even so it was there and up.
Also still getting an error message during the samba installation which
does not look nice and concerns me:
Setting up samba (2:4.4.5+dfsg-2ubuntu5.4) ...
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
Processing triggers for libc-bin (2.24-3ubuntu2) ...
root at epsilon-2:/home/t441209/Downloads# apt -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-markus
On 29.03.2017 18:26, Joshua Powers wrote:
> Thank you for taking the time to file a bug report.
>
> Do you have a loop back device?
>
> "nmbd: No local IPv4 non-loopback interfaces available, waiting for
> interface ..."
>
> 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:
> http://www.ubuntu.com/support/community
>
> ** 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/1676792
Title:
package samba 2:4.4.5+dfsg-2ubuntu5.4 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 1
Status in samba package in Ubuntu:
Incomplete
Bug description:
Setting up samba (2:4.4.5+dfsg-2ubuntu5.4) ...
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 "start" failed.
● nmbd.service - Samba NMB Daemon
Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset: enabled)
Active: failed (Result: timeout) since Di 2017-03-28 11:12:01 CEST; 23ms ago
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 2319
Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..."
Tasks: 0 (limit: 4915)
CGroup: /system.slice/nmbd.service
Mär 28 11:10:31 epsilon-2 systemd[1]: Starting Samba NMB Daemon...
Mär 28 11:10:31 epsilon-2 systemd[1]: nmbd.service: Supervising process 2319 which is not our child. We'll most likely not notice when it exits.
Mär 28 11:12:01 epsilon-2 systemd[1]: nmbd.service: Start operation timed out. Terminating.
Mär 28 11:12:01 epsilon-2 systemd[1]: nmbd.service: Killing process 2319 (nmbd) with signal SIGKILL.
Mär 28 11:12:01 epsilon-2 systemd[1]: Failed to start Samba NMB Daemon.
Mär 28 11:12:01 epsilon-2 systemd[1]: nmbd.service: Unit entered failed state.
Mär 28 11:12:01 epsilon-2 systemd[1]: nmbd.service: Failed with result 'timeout'.
dpkg: error processing package samba (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.24-3ubuntu2) ...
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: samba 2:4.4.5+dfsg-2ubuntu5.4
ProcVersionSignature: Ubuntu 4.8.0-41.44-generic 4.8.17
Uname: Linux 4.8.0-41-generic x86_64
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
Date: Tue Mar 28 09:10:50 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-01-02 (450 days ago)
InstallationMedia: Ubuntu-GNOME 15.10 "Wily Werewolf" - Release amd64 (20151021)
RelatedPackageVersions:
dpkg 1.18.10ubuntu1
apt 1.3.4
SambaClientRegression: Yes
SourcePackage: samba
Title: package samba 2:4.4.5+dfsg-2ubuntu5.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to yakkety on 2017-02-11 (44 days ago)
mtime.conffile..etc.init.smbd.conf: 2016-01-11T15:22:11.457379
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1676792/+subscriptions
More information about the foundations-bugs
mailing list