[Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Peter Chiu 791944 at bugs.launchpad.net
Tue Jul 5 19:35:07 UTC 2011


I have the same problem and this is what I found.
testparm does not exist on my box and that is why it is failing.

I removed the check just to get my own box going. This is NOT the proper
fix.

pre-start script
 [ -f /etc/samba/smb.conf ] || { stop; exit 0; }

 install -o root -g root -m 755 -d /var/run/samba

-  NMBD_DISABLED=`testparm -s --parameter-name='disable netbios' 2>/dev/null`
+ NMBD_DISABLED="NO"

 [ "x$NMBD_DISABLED" = xYes ] && { stop; exit 0; }

 exit 0
end script

exec nmbd -D

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/791944

Title:
  package samba 2:3.5.8~dfsg-1ubuntu2.2 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

  Happens any time I install or uninstall a program. But does not seem
  to effect the operation of the programs.

  ProblemType: Package
  DistroRelease: Ubuntu 11.04
  Package: samba 2:3.5.8~dfsg-1ubuntu2.2
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  NonfreeKernelModules: nvidia
  AptOrdering:
   gdm: Install
   samba: Configure
   gadmin-samba: Configure
   system-config-samba: Configure
   gdm: Configure
  Architecture: i386
  BothFailedConnect: Yes
  Date: Thu Jun  2 11:53:20 2011
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  NmbdLog:
   
  SambaServerRegression: Yes
  SmbConfIncluded: Yes
  SmbLog:
   
  SourcePackage: samba
  Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to natty on 2011-05-01 (31 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/791944/+subscriptions




More information about the foundations-bugs mailing list