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

Bug #717556 reported by Rob Landley
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: samba

It popped up an exclamation point during the upgrade and said to file a bug report. Presumably you have the info.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: samba-common 2:3.4.7~dfsg-1ubuntu3.3
Uname: Linux 2.6.37 x86_64
Architecture: amd64
Date: Fri Feb 11 22:14:42 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Xubuntu 10.04 "Lucid Lynx" - Release amd64 (20100429)
PackageArchitecture: all
SambaServerRegression: Yes
SourcePackage: samba
Title: package samba-common 2:3.4.7~dfsg-1ubuntu3.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Revision history for this message
Rob Landley (rob-landley) wrote :
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Relevant entry from DpkgTerminalLog.gz:

Setting up samba-common (2:3.4.7~dfsg-1ubuntu3.3) ...
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

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that there was an error caused by a corrupted archive. Please execute the following commands, as it will clear your package cache, in a terminal ( Applications -> Accessories -> Terminal ) :

  sudo cp /usr/share/samba/smb.conf /etc/samba/smb.conf
  sudo dpkg --configure -a

Then try performing the update again. This will likely resolve your issue. If so please set the bug's status to Invalid. Thanks in advance!

Changed in samba (Ubuntu):
status: New → Incomplete
Revision history for this message
Rob Landley (rob-landley) wrote :

That fixed it.

(Don't you have checksums for packages in the headers?)

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