[Bug 1023692] [NEW] package samba-common 2:3.6.3-2ubuntu2.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Erick Martinez erickrmartinez at gmail.com
Thu Jul 12 03:10:09 UTC 2012


Public bug reported:

This bug can be reproduced running apt-get

sudo apt-get install -f

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libpam-smbpass
Suggested packages:
  samba
The following packages will be upgraded:
  libpam-smbpass
1 upgraded, 0 newly installed, 0 to remove and 171 not upgraded.
12 not fully installed or removed.
Need to get 0 B/759 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up apparmor (2.7.102-0ubuntu3.1) ...
Can't locate object method "new" via package "Debconf::Element::Noninteractive::String" (perhaps you forgot to load "Debconf::Element::Noninteractive::String"?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 2.
dpkg: error processing apparmor (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up cups (1.5.3-0ubuntu1) ...
Can't locate object method "new" via package "Debconf::Element::Noninteractive::Boolean" (perhaps you forgot to load "Debconf::Element::Noninteractive::Boolean"?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 2.
dpkg: error processing cups (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up man-db (2.6.1-2) ...
Can't locate object method "new" via package "Debconf::Element::Noninteractive::Boolean" (perhaps you forgot to load "Debconf::Element::Noninteractive::Boolean"?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 2.
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of apparmor-utils:
 apparmor-utils depends on apparmor (>= 2.6.1-4ubuntu1); however:
  Package apparmor is not configured yet.
dpkg: error processing apparmor-utils (--configure):
 dependency problems - leaving unconfigured
Setting up flashplugin-installer (11.2.202.236ubuntu0.12.04.1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                          Can't locate object method "new" via package "Debconf::Element::Noninteractive::String" (perhaps you forgot to load "Debconf::Element::Noninteractive::String"?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 1.
dpkg: error processing flashplugin-installer (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of flashplugin-downloader:i386:
 flashplugin-downloader:i386 depends on flashplugin-installer (>= 11.1.102.55ubuntu3); however:
  Package flashplugin-installer is not configured yet.
dpkg: error processing flashplugin-downloader:i386 (--configure):
 dependency problems - leaving unconfigured
Setting up samba-common (2:3.6.3-2ubuntu2.3) ...
Can't locate object method "new" via package "Debconf::Element::Noninteractive::String" (perhaps you forgot to load "Debconf::Element::Noninteractive::String"?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 6.
dpkg: error processing samba-common (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libpam-smbpass:
 libpam-smbpass depends on samba-common (= 2:3.6.3-2ubuntu2.2); however:
  Version of samba-common on system is 2:3.6.3-2ubuntu2.3.
dpkg: error processing libpam-smbpass (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of winbind:
 winbind depends on samba-common (= 2:3.6.3-2ubuntu2.3); however:
  Package samba-common is not configured yet.
dpkg: error processing winbind (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpam-winbind:
 libpam-winbind depends on winbind (= 2:3.6.3-2ubuntu2.3); however:
  Package winbind is not configured yet.
 libpam-winbind depends on samba-common (= 2:3.6.3-2ubuntu2.3); however:
  Package samba-common is not configured yet.
dpkg: error processing libpam-winbind (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba-No apport report written because the error message indicates its a followup error from a previous failure.
   No apport report written because the error message indicates its a followup error from a previous failure.
                             No apport report written because the error message indicates its a followup error from a previous failure.
                                                       No apport report written because the error message indicates its a followup error from a previous failure.
 No apport report written because the error message indicates its a followup error from a previous failure.
                           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.6.3-2ubuntu2.3); however:
  Package samba-common is not configured yet.
dpkg: error processing smbclient (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 apparmor
 cups
 man-db
 apparmor-utils
 flashplugin-installer
 flashplugin-downloader:i386
 samba-common
 libpam-smbpass
 winbind
 libpam-winbind
 samba-common-bin
 smbclient
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: samba-common 2:3.6.3-2ubuntu2.3
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Wed Jul 11 22:00:51 2012
DuplicateSignature:
 Setting up apparmor (2.7.102-0ubuntu3.1) ...
 Can't locate object method "new" via package "Debconf::Element::Noninteractive::String" (perhaps you forgot to load "Debconf::Element::Noninteractive::String"?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 2.
 dpkg: error processing apparmor (--configure):
  subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
PackageArchitecture: all
RelatedPackageVersions:
 nautilus 1:3.4.2-0ubuntu2
 gvfs     1.12.1-0ubuntu1
SambaClientRegression: No
SourcePackage: samba
Title: package samba-common 2:3.6.3-2ubuntu2.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to precise on 2012-04-27 (76 days ago)

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package need-duplicate-check precise

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

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

Status in “samba” package in Ubuntu:
  New

Bug description:
  This bug can be reproduced running apt-get

  sudo apt-get install -f

  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Correcting dependencies... Done
  The following extra packages will be installed:
    libpam-smbpass
  Suggested packages:
    samba
  The following packages will be upgraded:
    libpam-smbpass
  1 upgraded, 0 newly installed, 0 to remove and 171 not upgraded.
  12 not fully installed or removed.
  Need to get 0 B/759 kB of archives.
  After this operation, 0 B of additional disk space will be used.
  Do you want to continue [Y/n]? y
  Setting up apparmor (2.7.102-0ubuntu3.1) ...
  Can't locate object method "new" via package "Debconf::Element::Noninteractive::String" (perhaps you forgot to load "Debconf::Element::Noninteractive::String"?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 2.
  dpkg: error processing apparmor (--configure):
   subprocess installed post-installation script returned error exit status 2
  Setting up cups (1.5.3-0ubuntu1) ...
  Can't locate object method "new" via package "Debconf::Element::Noninteractive::Boolean" (perhaps you forgot to load "Debconf::Element::Noninteractive::Boolean"?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 2.
  dpkg: error processing cups (--configure):
   subprocess installed post-installation script returned error exit status 2
  Setting up man-db (2.6.1-2) ...
  Can't locate object method "new" via package "Debconf::Element::Noninteractive::Boolean" (perhaps you forgot to load "Debconf::Element::Noninteractive::Boolean"?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 2.
  dpkg: error processing man-db (--configure):
   subprocess installed post-installation script returned error exit status 2
  dpkg: dependency problems prevent configuration of apparmor-utils:
   apparmor-utils depends on apparmor (>= 2.6.1-4ubuntu1); however:
    Package apparmor is not configured yet.
  dpkg: error processing apparmor-utils (--configure):
   dependency problems - leaving unconfigured
  Setting up flashplugin-installer (11.2.202.236ubuntu0.12.04.1) ...
  No apport report written because the error message indicates its a followup error from a previous failure.
                            Can't locate object method "new" via package "Debconf::Element::Noninteractive::String" (perhaps you forgot to load "Debconf::Element::Noninteractive::String"?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 1.
  dpkg: error processing flashplugin-installer (--configure):
   subprocess installed post-installation script returned error exit status 2
  dpkg: dependency problems prevent configuration of flashplugin-downloader:i386:
   flashplugin-downloader:i386 depends on flashplugin-installer (>= 11.1.102.55ubuntu3); however:
    Package flashplugin-installer is not configured yet.
  dpkg: error processing flashplugin-downloader:i386 (--configure):
   dependency problems - leaving unconfigured
  Setting up samba-common (2:3.6.3-2ubuntu2.3) ...
  Can't locate object method "new" via package "Debconf::Element::Noninteractive::String" (perhaps you forgot to load "Debconf::Element::Noninteractive::String"?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 6.
  dpkg: error processing samba-common (--configure):
   subprocess installed post-installation script returned error exit status 2
  dpkg: dependency problems prevent configuration of libpam-smbpass:
   libpam-smbpass depends on samba-common (= 2:3.6.3-2ubuntu2.2); however:
    Version of samba-common on system is 2:3.6.3-2ubuntu2.3.
  dpkg: error processing libpam-smbpass (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of winbind:
   winbind depends on samba-common (= 2:3.6.3-2ubuntu2.3); however:
    Package samba-common is not configured yet.
  dpkg: error processing winbind (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of libpam-winbind:
   libpam-winbind depends on winbind (= 2:3.6.3-2ubuntu2.3); however:
    Package winbind is not configured yet.
   libpam-winbind depends on samba-common (= 2:3.6.3-2ubuntu2.3); however:
    Package samba-common is not configured yet.
  dpkg: error processing libpam-winbind (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of samba-No apport report written because the error message indicates its a followup error from a previous failure.
     No apport report written because the error message indicates its a followup error from a previous failure.
                               No apport report written because the error message indicates its a followup error from a previous failure.
                                                         No apport report written because the error message indicates its a followup error from a previous failure.
   No apport report written because the error message indicates its a followup error from a previous failure.
                             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.6.3-2ubuntu2.3); however:
    Package samba-common is not configured yet.
  dpkg: error processing smbclient (--configure):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   apparmor
   cups
   man-db
   apparmor-utils
   flashplugin-installer
   flashplugin-downloader:i386
   samba-common
   libpam-smbpass
   winbind
   libpam-winbind
   samba-common-bin
   smbclient
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: samba-common 2:3.6.3-2ubuntu2.3
  ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
  Uname: Linux 3.2.0-25-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  Date: Wed Jul 11 22:00:51 2012
  DuplicateSignature:
   Setting up apparmor (2.7.102-0ubuntu3.1) ...
   Can't locate object method "new" via package "Debconf::Element::Noninteractive::String" (perhaps you forgot to load "Debconf::Element::Noninteractive::String"?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 2.
   dpkg: error processing apparmor (--configure):
    subprocess installed post-installation script returned error exit status 2
  ErrorMessage: subprocess installed post-installation script returned error exit status 2
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  PackageArchitecture: all
  RelatedPackageVersions:
   nautilus 1:3.4.2-0ubuntu2
   gvfs     1.12.1-0ubuntu1
  SambaClientRegression: No
  SourcePackage: samba
  Title: package samba-common 2:3.6.3-2ubuntu2.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
  UpgradeStatus: Upgraded to precise on 2012-04-27 (76 days ago)

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




More information about the foundations-bugs mailing list