Comment 3 for bug 440692

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