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

Bug #720996 reported by Brandon Froehlich
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: samba

I ran sudo apt-get upgrade and installed the package maintainers version of samba and when I rebooted, an error popped up and asked if I wanted to submit a bug report.

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: samba 2:3.5.6~dfsg-5ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-25.44-server 2.6.35.10
Uname: Linux 2.6.35-25-server x86_64
Architecture: amd64
BothFailedConnect: Yes
Date: Thu Feb 17 17:23:46 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
NmbdLog:

SambaServerRegression: Yes
SmbConfIncluded: Yes
SmbLog:

SourcePackage: samba
Title: package samba 2:3.5.6~dfsg-5ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Revision history for this message
Brandon Froehlich (brandon-froeh) wrote :
Revision history for this message
James Page (james-page) wrote :

Error from log:

Setting up samba (2:3.5.6~dfsg-5ubuntu1) ...
Installing new version of config file /etc/network/if-up.d/samba ...
Installing new version of config file /etc/init/nmbd.conf ...
update-alternatives: using /usr/bin/smbstatus.samba3 to provide /usr/bin/smbstatus (smbstatus) in auto mode.
smbd start/running, process 15247
start: Job failed to start
invoke-rc.d: initscript nmbd, 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 :

James, thanks for extracting the error messages.

Brandon, thanks very much for taking the time to file this bug report and help us make Ubuntu better.

If you run this in a terminal:

sudo dpkg --configure -a

Does it report the same error?

Also, after attempting that, can you attach this file:

/var/log/samba/log.nmbd ?

You may want to look through the contents of that file and remove anything you wouldn't want on a public bug report before uploading it.

Marking Incomplete pending response from Brandon.

Changed in samba (Ubuntu):
status: New → Incomplete
Revision history for this message
Brandon Froehlich (brandon-froeh) wrote : Re: [Bug 720996] Re: package samba 2:3.5.6~dfsg-5ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  • log.nmbd Edit (2.0 KiB, application/octet-stream; name="log.nmbd")

No it didn't report the error after running the command. I've attached the
log.nmbd.

Thanks!

On Thu, Feb 24, 2011 at 8:21 PM, Clint Byrum <email address hidden> wrote:

> James, thanks for extracting the error messages.
>
> Brandon, thanks very much for taking the time to file this bug report
> and help us make Ubuntu better.
>
> If you run this in a terminal:
>
> sudo dpkg --configure -a
>
> Does it report the same error?
>
> Also, after attempting that, can you attach this file:
>
> /var/log/samba/log.nmbd ?
>
> You may want to look through the contents of that file and remove
> anything you wouldn't want on a public bug report before uploading it.
>
> Marking Incomplete pending response from Brandon.
>
> ** Changed in: samba (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/720996
>
> Title:
> package samba 2:3.5.6~dfsg-5ubuntu1 failed to install/upgrade:
> subprocess installed post-installation script returned error exit
> status 1
>
> Status in “samba” package in Ubuntu:
> Incomplete
>
> Bug description:
> Binary package hint: samba
>
> I ran sudo apt-get upgrade and installed the package maintainers
> version of samba and when I rebooted, an error popped up and asked if
> I wanted to submit a bug report.
>
> ProblemType: Package
> DistroRelease: Ubuntu 11.04
> Package: samba 2:3.5.6~dfsg-5ubuntu1
> ProcVersionSignature: Ubuntu 2.6.35-25.44-server 2.6.35.10
> Uname: Linux 2.6.35-25-server x86_64
> Architecture: amd64
> BothFailedConnect: Yes
> Date: Thu Feb 17 17:23:46 2011
> ErrorMessage: subprocess installed post-installation script returned error
> exit status 1
> InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64
> (20101007)
> NmbdLog:
>
> SambaServerRegression: Yes
> SmbConfIncluded: Yes
> SmbLog:
>
> SourcePackage: samba
> Title: package samba 2:3.5.6~dfsg-5ubuntu1 failed to install/upgrade:
> subprocess installed post-installation script returned error exit status 1
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/samba/+bug/720996/+subscribe
>

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

Brandon, thanks. It would appear that something went wrong in the pre-start script. Could you grep for problems in /var/log/daemon.log ?

grep nmbd /var/log/daemon.log should do it.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

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