[Bug 950485] Re: package samba 2:3.6.3-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Clint Byrum clint at fewbar.com
Sat Mar 10 00:15:42 UTC 2012


Tyler, thanks for beta testing precise, and thanks for the bug report!

Did you also purge 'samba-common' ? If you removed /etc/samba manually
without purging samba-common (the package that owns and guarantees the
existence of /etc/samba) then dpkg might consider that a conffile
removal, and preserve it.

Try purging samba-common and then reinstalling it as well.

If you already did that, then please run

ls -ld /etc /etc/samba
dpkg -S /etc/samba
dpkg -L samba-common

And report back here the results of those.

Marking Invalid pending a response.

** Changed in: samba (Ubuntu)
       Status: New => Incomplete

-- 
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/950485

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

Status in “samba” package in Ubuntu:
  Incomplete

Bug description:
  After a purge, tried to re-install samba.

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: samba 2:3.6.3-1ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9
  Uname: Linux 3.2.0-18-generic x86_64
  NonfreeKernelModules: wl fglrx
  ApportVersion: 1.94.1-0ubuntu1
  AptOrdering:
   samba: Install
   tdb-tools: Install
   samba: Configure
   tdb-tools: Configure
  Architecture: amd64
  Date: Thu Mar  8 20:29:19 2012
  DuplicateSignature:
   Setting up samba (2:3.6.3-1ubuntu1) ...
   /var/lib/dpkg/info/samba.postinst: 61: /var/lib/dpkg/info/samba.postinst: cannot create /etc/samba/smbpasswd: Directory nonexistent
   dpkg: error processing samba (--configure):
    subprocess installed post-installation script returned error exit status 2
  ErrorMessage: subprocess installed post-installation script returned error exit status 2
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
  SourcePackage: samba
  Title: package samba 2:3.6.3-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list