package winbind 2:3.6.3-2ubuntu2.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1025066 reported by Nicholas Audette
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Crashed when installing wine.

Unpacking wine (from .../wine_1.4-0ubuntu4_amd64.deb) ...
Setting up winbind (2:3.6.3-2ubuntu2.3) ...
 * Starting the Winbind daemon winbind [fail]
invoke-rc.d: initscript winbind, action "start" failed.
dpkg: error processing winbind (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libpam-winbind:
 libpam-winbind depends on winbind (= 2:3.6.3-2ubuntu2.3); however:
  Package winbind is not configured yet.
dpkg: error processing libpam-winbind (--configure):
 dependency problems - leaving unconfigured
Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                          unable to open smb.conf at /usr/share/samba/setoption.pl line 22.
dpkg: error processing samba4 (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up wine (1.4-0ubuntu4) ...
Errors were encountered while processing:
 winbind
 libpam-winbind
 samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)

I had a previous install error with samba4, so why would samba4 be installing alongside winbind?

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: winbind 2:3.6.3-2ubuntu2.3
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu5
AptOrdering:
 wine: Install
 winbind: Configure
 libpam-winbind: Configure
 samba4: Configure
 wine: Configure
Architecture: amd64
Date: Sun Jul 15 18:54:24 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: samba
Title: package winbind 2:3.6.3-2ubuntu2.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Nicholas Audette (mcmannon) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Nicholas Audette (mcmannon) wrote :

It seems when I try to remove samba4, I get this:

Removing samba4 ...
samba4 stop/waiting
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up winbind (2:3.6.3-2ubuntu2.3) ...
 * Starting the Winbind daemon winbind [fail]
invoke-rc.d: initscript winbind, action "start" failed.
dpkg: error processing winbind (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libpam-winbind:
 libpam-winbind depends on winbind (= 2:3.6.3-2ubuntu2.3); however:
  Package winbind is not configured yet.
dpkg: error processing libpam-winbind (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 winbind
 libpam-winbind
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
James Page (james-page) wrote :

Hi Nicholas

Thanks for taking the time to report this bug in Ubuntu.

I think that you have hit a couple of problems here; lets just focus on winbind.

Please could you check in /var/log/samba for any log files relating to winbind and any error messages which would indicate the cause of the winbind daemon not starting.

Please attach to this bug report.

Marking 'Incomplete'; please set back to 'New' once you have provided this information.

Thanks

Changed in samba (Ubuntu):
status: New → Incomplete
Revision history for this message
Nicholas Audette (mcmannon) wrote :

Found some errors in the samba log, some have to do with winbind:

[2012/07/14 21:08:26, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
  task_server_terminate: [Cannot start Winbind (standalone configuration): Failed to find record for NICK-03 in /var/lib/samba/private/secrets.ldb: No such object: (null): Have you provisioned this server (NICK-03) or changed it's name?]

Changed in samba (Ubuntu):
status: Incomplete → New
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Nicholas, if you aren't using samba4, perhaps try purging it and all of its configuration. Make sure you backup all of your configuration files and then run.

sudo apt-get purge samba4 winbind

And then try to re-install wine and winbind.

Revision history for this message
Nicholas Audette (mcmannon) wrote :

I purged samba4 and winbind, then re-installed winbind. However, wine failed to start. I then purged and reinstalled wine without any errors. I believe the samba4 package may have somehow corrupted winbind upon its installation, so by the time I tried to install wine I got the error. Thanks for the help.

Changed in samba (Ubuntu):
status: New → 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.