package winbind (not installed) failed to install/upgrade: подпроцесс установлен сценарий post-removal возвратил код ошибки 1

Bug #1702601 reported by Vladislav
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Undecided
Unassigned
samba (Ubuntu)
Invalid
Undecided
Unassigned

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)

Revision history for this message
Vladislav (vladzzz) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
Revision history for this message
Seth Arnold (seth-arnold) wrote :

I also subscribed apport because there are python2 -> python3 transition bugs in the HookError_ubuntu.txt file. Thanks.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This is the error:
Setting up samba (2:4.3.11+dfsg-0ubuntu0.16.04.8) ...
insserv: warning: script 'S99panasoniclpd-init' missing LSB tags and overrides
insserv: warning: script 'panasoniclpd-init' missing LSB tags and overrides
insserv: Starting panasoniclpd-init depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting panasoniclpd-init depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting panasoniclpd-init depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting panasoniclpd-init depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting panasoniclpd-init depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service panasoniclpd-init and plymouth if started
insserv: loop involving service plymouth at depth 8
insserv: loop involving service panasoniclpd-init at depth 1
insserv: Starting panasoniclpd-init depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package samba (--configure):
 subprocess installed post-installation script returned error exit status 1

Where does this panasoniclpd-init script come from? Some proprietary printer package perhaps? It seems to be causing your problems. Can you try removing it?

To find out which package it is:
dpkg -S panasoniclpd-init

Changed in samba (Ubuntu):
status: New → Incomplete
Revision history for this message
Vladislav (vladzzz) wrote : Re: [Bug 1702601] Re: package winbind (not installed) failed to install/upgrade: подпроцесс установлен сценарий post-removal возвратил код ошибки 1

Dear Andreas,
I know about a problem with "panasoniclpd" Actually there problem with
"plymouth".
My Panasonic KX-MB2110 MFP. I can't and I don't want to delete it. How I
will print and scan?
It is possible to solve it on another. Perhaps, I suppose. It is correct
to clean from settings of repositories setup of updating/upgrading of
packets "plymouth" and "panasoniclpd" At the same time to leave them
operating, but without updating/upgrading in the future. It is possible?

-----------------------------------
С уважением, Владислав Пономарев

11.07.2017 19:24, Andreas Hasenack пишет:
> This is the error:
> Setting up samba (2:4.3.11+dfsg-0ubuntu0.16.04.8) ...
> insserv: warning: script 'S99panasoniclpd-init' missing LSB tags and overrides
> insserv: warning: script 'panasoniclpd-init' missing LSB tags and overrides
> insserv: Starting panasoniclpd-init depends on plymouth and therefore on system facility `$all' which can not be true!
> insserv: Starting panasoniclpd-init depends on plymouth and therefore on system facility `$all' which can not be true!
> insserv: Starting panasoniclpd-init depends on plymouth and therefore on system facility `$all' which can not be true!
> insserv: Starting panasoniclpd-init depends on plymouth and therefore on system facility `$all' which can not be true!
> insserv: Starting panasoniclpd-init depends on plymouth and therefore on system facility `$all' which can not be true!
> insserv: There is a loop between service panasoniclpd-init and plymouth if started
> insserv: loop involving service plymouth at depth 8
> insserv: loop involving service panasoniclpd-init at depth 1
> insserv: Starting panasoniclpd-init depends on plymouth and therefore on system facility `$all' which can not be true!
> insserv: exiting now without changing boot order!
> update-rc.d: error: insserv rejected the script header
> dpkg: error processing package samba (--configure):
> subprocess installed post-installation script returned error exit status 1
>
>
> Where does this panasoniclpd-init script come from? Some proprietary printer package perhaps? It seems to be causing your problems. Can you try removing it?
>
> To find out which package it is:
> dpkg -S panasoniclpd-init
>
>
> ** Changed in: samba (Ubuntu)
> Status: New => Incomplete
>

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Where did you get the panasoniclpd package from? A CD that came with the printer? Maybe there is an updated driver available in the panasonic website, have you tried that?

Revision history for this message
Vladislav (vladzzz) wrote :

Drivers for the Panasonic MFP I set the latest from the website. And on
all signs updates won't be on this device any more. For this reason I
also ask how me to leave to workers the Panasonic MFP device and packets
of "panasoniclpd" and "plymouth" in Ubuntu? At the same time, how to
clean check APT, APT-GET, DKPG, etc.?
I don't need to update packets of "panasoniclpd" and "plymouth" more.
Where to disconnect it?

-----------------------------------
С уважением, Владислав Пономарев

11.07.2017 20:24, Andreas Hasenack пишет:
> Where did you get the panasoniclpd package from? A CD that came with the
> printer? Maybe there is an updated driver available in the panasonic
> website, have you tried that?
>
> -- You received this bug notification because you are subscribed to
> the bug report. 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
>

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Can you attach /etc/init.d/panasoniclpd-init please?

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

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.

Revision history for this message
Vladislav (vladzzz) wrote :

Dear Andreas, I will be very grateful to you for the help! Help to
finish, please, correctly this problem. I worry to make something not so.
I attach these two problem files. Define that not so in them, correct.
The main thing that after adjustment the printer and the scanner as
worked for me earlier. Now they work perfectly. But because of them a
problem as you clarified. Correct, please.

-----------------------------------
С уважением, Владислав Пономарев

12.07.2017 03:29, Andreas Hasenack пишет:
> Can you attach /etc/init.d/panasoniclpd-init please?
>
> -- You received this bug notification because you are subscribed to
> the bug report. 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
>

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Try this one. Don't forget to chmod it to 0755 after it's in place.

Revision history for this message
Vladislav (vladzzz) wrote :

Dear Andreas, I compared my file and the enclosed code. Difference only
in commented-out lines which I quote below. Or I was mistaken? These are
commented-out lines "# comment" or not? Unless they influence operation?

### 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

-----------------------------------
С уважением, Владислав Пономарев

12.07.2017 19:39, Andreas Hasenack пишет:
> Try this one. Don't forget to chmod it to 0755 after it's in place.
>
> ** Attachment added: "panasoniclpd-init"
> https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1702601/+attachment/4913438/+files/panasoniclpd-init
>
> -- You received this bug notification because you are subscribed to
> the bug report. 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
>

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Correct, these lines do influence operation. These are the so called LSB headers and they influence service startup and shutdown ordering.

Revision history for this message
Vladislav (vladzzz) wrote :

Yes, it worked! Very much I thank you! The problem is removed.

-----------------------------------
С уважением, Владислав Пономарев

12.07.2017 20:23, Andreas Hasenack пишет:
> Correct, these lines do influence operation. These are the so called LSB
> headers and they influence service startup and shutdown ordering.
>
> -- You received this bug notification because you are subscribed to
> the bug report. 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
>

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Remember that if you update or reinstall this printer driver again in the future, it will undo this fix and you will have to apply it again.

Cheers! :)

Changed in samba (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.