← Back to team overview

desktop-packages team mailing list archive

[Bug 1547006] Re: package python-oneconf 0.3.8 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 127

 

** Tags removed: need-duplicate-check

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

Title:
  package python-oneconf 0.3.8 failed to install/upgrade: subprocess
  installed pre-removal script returned error exit status 127

Status in oneconf package in Ubuntu:
  New

Bug description:
  here are some outputs :

  $sudo dpkg --audit
  The following packages are in a mess due to serious problems during
  installation.  They must be reinstalled for them (and any packages
  that depend on them) to function properly:
  python-oneconf       synchronize your configuration data over the network (Pyt

  The following packages are only half configured, probably due to problems
  configuring them the first time.  The configuration should be retried using
  dpkg --configure <package> or the configure menu option in dselect:
   software-center      Utility for browsing, installing, and removing software
   software-center-aptdaemon-plugins The aptdaemon plugins for software-center

  And

  $sudo dpkg --configure python-oneconf
  dpkg: error processing package python-oneconf (--configure):
  package is in a very bad inconsistent state; you should
   reinstall it before attempting configuration
  Errors were encountered while processing:
  python-oneconf

  And

  $ sudo apt-get -f install
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages were automatically installed and are no longer     required:
    linux-headers-3.13.0-59 linux-headers-3.13.0-59-generic
    linux-headers-3.16.0-44 linux-headers-3.16.0-44-generic
    linux-image-3.13.0-59-generic linux-image-3.16.0-44-generic
    linux-image-extra-3.13.0-59-generic linux-image-extra-3.16.0-44-    generic
    linux-signed-image-3.16.0-44-generic
  Use 'apt-get autoremove' to remove them.
  0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
  3 not fully installed or removed.
  Need to get 19,6 kB of archives.
  After this operation, 0 B of additional disk space will be used.
  Get:1 http://de.archive.ubuntu.com/ubuntu/ trusty/main python-oneconf     all 0.3.7 [19,6 kB]
  Fetched 19,6 kB in 0s (151 kB/s)          
  Setting up software-center-aptdaemon-plugins (0.1.6build1) ...
  /var/lib/dpkg/info/software-center-aptdaemon-plugins.postinst: 6:     /var/lib/dpkg/info/software-center-aptdaemon-plugins.postinst: pycompile:     not found
  dpkg: error processing package software-center-aptdaemon-plugins (--    configure):
   subprocess installed post-installation script returned error exit     status 127
  dpkg: error processing package python-oneconf (--configure):
   package is in a very bad inconsistent state; you should
   reinstall it before attempting configuration
  dpkg: dependency problems prevent configuration of software-center:
   software-center depends on software-center-aptdaemon-plugins;     however:
    Package software-center-aptdaemon-plugins is not configured yet.
   software-center depends on python-oneconf (>= 0.3) | oneconf (<<     0.3); however:
    Package python-oneconf is not configured yet.
    Version of oneconf on system is 0.3.7.14.04.1.

  dpkg: error processing package software-center (--configure):
   dependency problems - leaving unconfigured
  No apport report written because the error message indicates its a     followup error from a previous failure.
                                                                                                                Errors were encountered while processing:
   software-center-aptdaemon-plugins
   python-oneconf
   software-center
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  And

  $ sudo apt-get remove --purge python-oneconf
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages were automatically installed and are no longer     required:
    gir1.2-gmenu-3.0 laptop-detect linux-headers-3.13.0-59
    linux-headers-3.13.0-59-generic linux-headers-3.16.0-44
    linux-headers-3.16.0-44-generic linux-image-3.13.0-59-generic
    linux-image-3.16.0-44-generic linux-image-extra-3.13.0-59-generic
    linux-image-extra-3.16.0-44-generic linux-signed-image-3.16.0-44-    generic
    oneconf oneconf-common python-debtagshw python3-oneconf
    python3-piston-mini-client ubuntu-extras-keyring
  Use 'apt-get autoremove' to remove them.
  The following packages will be REMOVED:
    python-oneconf* software-center*
  0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
  3 not fully installed or removed.
  After this operation, 3.161 kB disk space will be freed.
  Do you want to continue? [Y/n] y
  (Reading database ... 414542 files and directories currently     installed.)
  Removing software-center (13.10-0ubuntu4.1) ...
  /var/lib/dpkg/info/software-center.prerm: 6:     /var/lib/dpkg/info/software-center.prerm: pyclean: not found
  dpkg: error processing package software-center (--purge):
   subprocess installed pre-removal script returned error exit status     127
  /var/lib/dpkg/info/software-center.postinst: 8:     /var/lib/dpkg/info/software-center.postinst: pycompile: not found
  dpkg: error while cleaning up:
   subprocess installed post-installation script returned error exit     status 127
  dpkg: error processing package python-oneconf (--purge):
   package is in a very bad inconsistent state; you should
   reinstall it before attempting a removal
  Errors were encountered while processing:
   software-center
   python-oneconf
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  A
  $python --version
  Python 2.7.10

  $python3 --version
  Python 3.4.3

  ProblemType: Package
  DistroRelease: Ubuntu 15.10
  Package: python-oneconf 0.3.8
  ProcVersionSignature: Ubuntu 4.2.0-18.22-generic 4.2.3
  Uname: Linux 4.2.0-18-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  AptOrdering:
   software-center: Purge
   python-oneconf: Purge
   software-center-aptdaemon-plugins: Configure
   NULL: ConfigurePending
  Architecture: amd64
  Date: Thu Feb 18 18:12:33 2016
  DuplicateSignature: package:python-oneconf:0.3.8:subprocess installed pre-removal script returned error exit status 127
  ErrorMessage: subprocess installed pre-removal script returned error exit status 127
  InstallationDate: Installed on 2015-07-24 (208 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  PackageArchitecture: all
  RelatedPackageVersions:
   dpkg 1.18.2ubuntu5
   apt  1.0.10.2ubuntu1
  SourcePackage: oneconf
  Title: package python-oneconf 0.3.8 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 127
  UpgradeStatus: Upgraded to wily on 2015-10-23 (118 days ago)

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