package samba 2:3.5.11~dfsg-1ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #873358 reported by Sartor
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

this error appear after
sudo apt-get install system-config-samba

ProblemType: Package
DistroRelease: Ubuntu 11.10
Package: samba 2:3.5.11~dfsg-1ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
CasperVersion: 1.287
Date: Thu Oct 13 13:41:45 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
LiveMediaBuild: Xubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
RelatedPackageVersions:
 nautilus N/A
 gvfs 1.10.0-0ubuntu1
SambaClientRegression: No
SourcePackage: samba
Title: package samba 2:3.5.11~dfsg-1ubuntu2 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
Sartor (sartorua) wrote :
tags: removed: need-duplicate-check
Revision history for this message
James Page (james-page) wrote :

Error from log:

Setting up samba (2:3.5.11~dfsg-1ubuntu2) ...
Generating /etc/default/samba...
Importing account for nobody...ok
update-alternatives: using /usr/bin/smbstatus.samba3 to provide /usr/bin/smbstatus (smbstatus) in auto mode.
start: Unknown job: smbd
invoke-rc.d: initscript smbd, action "start" failed.
dpkg: error processing samba (--configure):
 subprocess installed post-installation script returned error exit status 1

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

The most relevant part of this is start: Unknown job: smbd

This means that /etc/init/smbd.conf is missing.

If it has been removed, then try

sudo dpkg -i --force-confmiss /var/cache/apt/archives/samba_2:3.5.11~dfsg-1ubuntu2_i386.deb

That will restore the smbd job from the package.

If that works, this was not a bug but a broken config on the system.

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