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

Bug #566869 reported by Serg Alexv
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Description: Ubuntu lucid (development branch)
Release: 10.04

$ apt-cache policy samba
samba:
  Installed: 2:3.4.7~dfsg-1ubuntu3
  Candidate: 2:3.4.7~dfsg-1ubuntu3
  Version table:
 *** 2:3.4.7~dfsg-1ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
        500 http://mirrors.kernel.org/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

$ apt-cache policy samba-common
samba-common:
  Installed: 2:3.4.7~dfsg-1ubuntu3
  Candidate: 2:3.4.7~dfsg-1ubuntu3
  Version table:
 *** 2:3.4.7~dfsg-1ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
        500 http://mirrors.kernel.org/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

I expected nothing.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: samba-common 2:3.4.7~dfsg-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
NonfreeKernelModules: fglrx
Architecture: i386
BothFailedConnect: Yes
Date: Mon Apr 19 18:35:25 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100114)
PackageArchitecture: all
SambaServerRegression: No
SourcePackage: samba
Title: package samba-common 2:3.4.7~dfsg-1ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Revision history for this message
Serg Alexv (agel) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The relevant error is
---
Setting up samba-common (2:3.4.7~dfsg-1ubuntu3) ...

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

To recover, could you please try the suggested steps. I'm closing this report because it's not a bug with Ubuntu or samba.

Don't hesitate to submit any new bug.

affects: ubuntu → samba (Ubuntu)
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.