package samba 2:3.6.3-2ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1009727 reported by Urop
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Expired
Low
Unassigned

Bug Description

When I first upgraded to precise the samba update failed due to some dependency issue. The only way I could finally resolve this issue was to completely purge the related packages, install samba from scratch, recreate all users and the config. The dependecy issue has been resolved. Samba was working fine.

Now it seems that I have just had another failed samba update. I've got no idea why this time. Maybe you can tell me. I'm hoping I wont need to reinstall from scratch again...

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: samba 2:3.6.3-2ubuntu2.2
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Wed Jun 6 21:44:02 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
NmbdLog:

OtherFailedConnect: Yes
SambaServerRegression: Yes
SmbConfIncluded: No
SmbLog:
 failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
   failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
SourcePackage: samba
Title: package samba 2:3.6.3-2ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-05-01 (36 days ago)

Revision history for this message
Urop (urop) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Urop (urop) wrote :

I am not going to use this apport automatic bug-reporting thing anymore. I don't like the fact that it just uploads system files and info without warning and without providing an option to opt-out or obfuscate certain information. I am happy to provide information on request. I am not happy to have it uploaded without me vetting it first.

Revision history for this message
James Page (james-page) wrote :

Thanks for taking the time to report this bug.

This might be a duplicate of bug 791944.

Please could you try running the following commands:

  sudo testparm
  echo $?

Please attach the output to this bug report.

Marking 'Incomplete' pending your response and 'Low' for the time being. Please set back to 'New' once you have provided the requested information.

Thanks

Changed in samba (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Urop (urop) wrote :

I agree that it's probably a duplicate of bug 791944. I also get

$ sudo apt-get upgrade
[sudo] password for obfuscated:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up samba (2:3.6.3-2ubuntu2.2) ...
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
Errors were encountered while processing:
 samba
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Urop (urop) wrote :
Changed in samba (Ubuntu):
status: Incomplete → New
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thank you for reporting this bug to Ubuntu.

We apologise for the late response, but Ubuntu 12.04 Precise Pangolin reached EOL on April 28, 2017. See this document for currently supported Ubuntu releases:

https://wiki.ubuntu.com/Releases

Please upgrade to the latest version and re-test. If the problem is still reproducible, please update this bug with the new information.

Do feel free to report any other bugs you may find.

That being said, your testparm output highlights the problem:

WARNING: 'workgroup' and 'netbios name' must differ.

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