Comment 3 for bug 788348

Revision history for this message
Carlos Gonzalez (carlos-gonz) wrote : Re: [Bug 788348] Re: package samba-common 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127

Hi Serge
thanks for the prompt response and suggestion.....I tried it but I'm not sure it worked......please see the text below....

apt-get install sed lsb-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
lsb-base is already the newest version.
sed is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up samba-common (2:3.5.8~dfsg-1ubuntu2.2) ...
/var/lib/dpkg/info/samba-common.config: 69: sed: not found
/var/lib/dpkg/info/samba-common.config: 69: sed: not found
/var/lib/dpkg/info/samba-common.postinst: 84: sed: not found
dpkg: error processing samba-common (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of samba-common-bin:
 samba-common-bin depends on samba-common (>= 2:3.4.0~pre1-2); however:
  Package samba-common is not configured yet.
dpkg: error processing samba-common-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of smbclient:
 smbclient depends on samba-common (= 2:3.5.8~dfsg-1ubuntu2.2); however:
  Package samba-common is not configured yet.
dpkg: error processing smbclient (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                            No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                        Errors were encountered while processing:
 samba-common
 samba-common-bin
 smbclient
E: Sub-process /usr/bin/dpkg returned an error code (1)

I went through the 'upgrade' process to v11.04, rather than a 'fresh install'. Do you think a disk format and a new install from CD might resolve my issue?
.....or should  I try to persevere (and trouble you in the process?)

Thanks again for your help and advice.
Regards
Carlos

________________________________
From: Serge Hallyn <email address hidden>
To: <email address hidden>
Sent: Wednesday, 25 May 2011, 23:14
Subject: [Bug 788348] Re: package samba-common 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127

Thanks for reporting this bug and helping to make Ubuntu better.

For some reason, your system does not have sed installed.  This is
worrisome because it is a dependency of lsb-base, which itself is
'required', meaning you absolutely should have it.

Could you please try 'apt-get install sed lsb-base', and let us know (a)
if that works and (b) if, after that, you are able to install samba-
common?

** 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/788348

Title:
  package samba-common 2:3.5.8~dfsg-1ubuntu2.2 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 127

Status in “samba” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: samba

  package failed to upgrade/install

  ProblemType: Package
  DistroRelease: Ubuntu 11.04
  Package: samba-common 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
  Architecture: i386
  Date: Wed May 25 22:12:47 2011
  ErrorMessage: subprocess installed post-installation script returned error exit status 127
  InstallationMedia: Ubuntu-Netbook 10.10 "Maverick Meerkat" - Release i386 (20101007)
  PackageArchitecture: all
  RelatedPackageVersions:
   nautilus 1:2.32.2.1-0ubuntu13
   gvfs    1.8.0-0ubuntu2
  SambaClientRegression: Yes
  SourcePackage: samba
  Title: package samba-common 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127
  UpgradeStatus: Upgraded to natty on 2011-05-02 (23 days ago)

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/788348/+subscribe