← Back to team overview

desktop-packages team mailing list archive

[Bug 1395338] Re: package software-center 13.10-0ubuntu4.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

 

** Tags removed: need-duplicate-check

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/1395338

Title:
  package software-center 13.10-0ubuntu4.1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

Status in “software-center” package in Ubuntu:
  New

Bug description:
  just for  sudo apt-get upgrade
  I am getting the following error, 

  Traceback (most recent call last):
    File "/usr/lib/python2.7/site.py", line 563, in <module>
      main()
    File "/usr/lib/python2.7/site.py", line 545, in main
      known_paths = addusersitepackages(known_paths)
    File "/usr/lib/python2.7/site.py", line 278, in addusersitepackages
      user_site = getusersitepackages()
    File "/usr/lib/python2.7/site.py", line 253, in getusersitepackages
      user_base = getuserbase() # this will also set USER_BASE
    File "/usr/lib/python2.7/site.py", line 243, in getuserbase
      USER_BASE = get_config_var('userbase')
    File "/usr/lib/python2.7/sysconfig.py", line 521, in get_config_var
      return get_config_vars().get(name)
    File "/usr/lib/python2.7/sysconfig.py", line 420, in get_config_vars
      _init_posix(_CONFIG_VARS)
    File "/usr/lib/python2.7/sysconfig.py", line 288, in _init_posix
      raise IOError(msg)
  IOError: invalid Python installation: unable to open /usr/lib/python2.7/config/Makefile (No such file or directory)
  dpkg: error processing package software-center (--unpack):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for update-notifier-common (0.154.1ubuntu1) ...
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site.py", line 563, in <module>
      main()
    File "/usr/lib/python2.7/site.py", line 545, in main
      known_paths = addusersitepackages(known_paths)
    File "/usr/lib/python2.7/site.py", line 278, in addusersitepackages
      user_site = getusersitepackages()
    File "/usr/lib/python2.7/site.py", line 253, in getusersitepackages
      user_base = getuserbase() # this will also set USER_BASE
    File "/usr/lib/python2.7/site.py", line 243, in getuserbase
      USER_BASE = get_config_var('userbase')
    File "/usr/lib/python2.7/sysconfig.py", line 521, in get_config_var
      return get_config_vars().get(name)
    File "/usr/lib/python2.7/sysconfig.py", line 420, in get_config_vars
      _init_posix(_CONFIG_VARS)
    File "/usr/lib/python2.7/sysconfig.py", line 288, in _init_posix
      raise IOError(msg)
  IOError: invalid Python installation: unable to open /usr/lib/python2.7/config/Makefile (No such file or directory)
  dpkg: error processing package update-notifier-common (--unpack):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for libglib2.0-0:amd64 (2.40.2-0ubuntu1) ...
  Processing triggers for libglib2.0-0:i386 (2.40.2-0ubuntu1) ...
  Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
  Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
  Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
  Rebuilding /usr/share/applications/bamf-2.index...
  Processing triggers for mime-support (3.54ubuntu1) ...
  Processing triggers for menu (2.1.46ubuntu1) ...
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: software-center 13.10-0ubuntu4.1
  ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
  Uname: Linux 3.13.0-39-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.5
  Architecture: amd64
  Date: Sat Nov 22 17:07:51 2014
  DuplicateSignature: package:software-center:13.10-0ubuntu4.1:subprocess installed post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2014-10-07 (46 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
  PackageArchitecture: all
  SourcePackage: software-center
  Title: package software-center 13.10-0ubuntu4.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1395338/+subscriptions


References