Can you edit that file like how it is suggested in the first answer here: https://askubuntu.com/questions/844108/dpkg-error-processing-package- unattended-upgrades
That person changed the header of the initscript to this, just below the shebang line: ### BEGIN INIT INFO # Provides: PanasonicMFSlpd # Required-Start: $all # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: Panasonic scanner driver # Description: Panasonic scanner driver ### END INIT INFO I don't know what it was like originally, maybe it had plymouth in the required-start line. Make a copy of the script, so you have the original one at hand if needed, and try the above change, see if it helps. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1702601 Title: package winbind (not installed) failed to install/upgrade: подпроцесс установлен сценарий post-removal возвратил код ошибки 1 Status in apport package in Ubuntu: New Status in samba package in Ubuntu: Incomplete Bug description: Ошибка произошла после обновления пакетов Ubuntu ProblemType: Package DistroRelease: Ubuntu 16.04 Package: winbind (not installed) ProcVersionSignature: Ubuntu 4.8.0-58.63~16.04.1-generic 4.8.17 Uname: Linux 4.8.0-58-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.6 AptOrdering: winbind: Purge samba: Configure system-config-samba: Configure NULL: ConfigurePending Architecture: amd64 BothFailedConnect: Yes Date: Thu Jul 6 11:05:35 2017 ErrorMessage: подпроцесс установлен сценарий post-removal возвратил код ошибки 1 InstallationDate: Installed on 2017-05-12 (54 days ago) InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2) NmbdLog: RelatedPackageVersions: dpkg 1.18.4ubuntu1.2 apt 1.2.20 SambaServerRegression: Yes SmbConfIncluded: Yes SmbLog: SourcePackage: samba Title: package winbind (not installed) failed to install/upgrade: подпроцесс установлен сценарий post-removal возвратил код ошибки 1 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1702601/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp