package samba-common 2:3.3.2-1ubuntu3.2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Bug #440692 reported by Frogman
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: samba

E: samba-common: subprocess post-installation script returned error exit status 1
E: smbclient: dependency problems - leaving unconfigured
E: samba: dependency problems - leaving unconfigured

Description: Ubuntu 9.04
Release: 9.04

samba-common:
  Installed: 2:3.3.2-1ubuntu3.2
  Candidate: 2:3.3.2-1ubuntu3.2
  Version table:
 *** 2:3.3.2-1ubuntu3.2 0
        500 http://us.archive.ubuntu.com jaunty-updates/main Packages
        500 http://security.ubuntu.com jaunty-security/main Packages
        100 /var/lib/dpkg/status
     2:3.3.2-1ubuntu3 0
        500 http://us.archive.ubuntu.com jaunty/main Packages

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: samba-common 2:3.3.2-1ubuntu3.2
SourcePackage: samba
Title: package samba-common 2:3.3.2-1ubuntu3.2 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.28-15-generic i686

Revision history for this message
Frogman (jporubek) wrote :
Revision history for this message
Chuck Short (zulcss) wrote :

Relevant error:

Setting up samba-common (2:3.3.2-1ubuntu3.2) ...
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 post-installation script returned error exit status 1

Changed in samba (Ubuntu):
status: New → Won't Fix
Revision history for this message
Frogman (jporubek) wrote : Re: [Bug 440692] Re: package samba-common 2:3.3.2-1ubuntu3.2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

On Fri, Oct 2, 2009 at 1:29 PM, Chuck Short <email address hidden> wrote:
> Relevant error:
>
> Setting up samba-common (2:3.3.2-1ubuntu3.2) ...
> 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 post-installation script returned error exit status 1
>
>
>
> ** Changed in: samba (Ubuntu)
> Status: New => Won't Fix

Chuck,

Thanks for the quick response. This was entirely my fault. I thought I
remembered, in the past when I've upgraded Samba, that the upgrade
process wanted to write a new smb.conf file. So this time, I decided
to pre-emptively rename smb.conf so that it wouldn't be overwritten.
What I should have done is save a copy of it, not rename it. I fixed
my error and applied your suggested dpkg command and the configuration
successfully completed.

Normally I wouldn't have filed a bug report, but the automated process
led me through it and ... You know the rest.

Thanks again and sorry to "bug" you (pun intended).

--John

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.