package samba-common 2:3.4.7~dfsg-1ubuntu3.8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #870744 reported by Giles Birch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

I didn't actually notice the failed install. But connectivity went away. I had to remove and re-install Samba from scratch to get it working again. Note also that security=user seems to cause the Samba server to be invisible to Windows 7 machines--by changing that one line in smb.conf (from user to share and back again) I could toggle the appearance of the server in my WIndows 7 network window (Win 7 Pro, 64-bit).

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: samba-common 2:3.4.7~dfsg-1ubuntu3.8
ProcVersionSignature: Ubuntu 2.6.32-34.77-generic 2.6.32.44+drm33.19
Uname: Linux 2.6.32-34-generic x86_64
NonfreeKernelModules: nvidia
AptOrdering:
 samba-common: Install
 samba-common: Configure
Architecture: amd64
Date: Thu Oct 6 11:14:41 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
PackageArchitecture: all
SambaServerRegression: Yes
SourcePackage: samba
Title: package samba-common 2:3.4.7~dfsg-1ubuntu3.8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UbuntuFailedConnect: Yes

Revision history for this message
Giles Birch (giles-h) wrote :
Revision history for this message
Robie Basak (racb) wrote :

Setting up samba-common (2:3.4.7~dfsg-1ubuntu3.8) ...

Setting up libwbclient0 (2:3.4.7~dfsg-1ubuntu3.8) ...

Setting up smbclient (2:3.4.7~dfsg-1ubuntu3.8) ...
Setting up smbfs (2:3.4.7~dfsg-1ubuntu3.8) ...
Setting up libpam-smbpass (2:3.4.7~dfsg-1ubuntu3.8) ...

Setting up samba-common-bin (2:3.4.7~dfsg-1ubuntu3.8) ...

Setting up samba (2:3.4.7~dfsg-1ubuntu3.8) ...
smbd start/running, process 8561
nmbd start/running, process 8567

...

Setting up samba (2:3.4.7~dfsg-1ubuntu3.8) ...
update-alternatives: using /usr/bin/smbstatus.samba3 to provide /usr/bin/smbstatus (smbstatus) in auto mode.
smbd start/running, process 5055
start: Job failed to start

...

Preparing to replace samba-common 2:3.4.7~dfsg-1ubuntu3.8 (using .../samba-common_2%3a3.4.7~dfsg-1ubuntu3.8_all.deb) ...
Unpacking replacement samba-common ...
Setting up samba-common (2:3.4.7~dfsg-1ubuntu3.8) ...
Not replacing deleted config file /etc/samba/smb.conf
Install/upgrade will fail. To recover, please try:
  sudo cp /usr/share/samba/smb.conf /etc/samba/smb.conf
  sudo dpkg --configure -a
dpkg: error processing samba-common (--configure):
 subprocess installed post-installation script returned error exit status 1

Changed in samba (Ubuntu):
importance: Undecided → Medium
Revision history for this message
dino99 (9d9) wrote :

This version has expired some times ago, and no backport is expected as there is no 'security' reported problem

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.