Thanks for filing this bug in Ubuntu. This seems to be a duplicate of bug #1731502, where there was no network available when nmbd was restarted:
Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..." This is weird, because you say the error happens everytime you upgrade packages, which seems to indicate network is available. Please try following commands, making sure the network is available: sudo apt update sudo apt -f install If the error still happens, I'll need the following: ip route ip a ip route get 8.8.8.8 Thanks! ** Changed in: samba (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1805791 Title: package samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.5 failed to install/upgrade: installed samba package post-installation script subprocess returned error exit status 1 The error message comes up any time packages are updated but connection to synology NAS still works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1805791/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs