[Bug 1806307] Re: package python-requests 2.18.4-2 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration

Ritin ritinpali at gmail.com
Wed Jan 16 07:20:19 UTC 2019


>sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 371 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up gimp (2.8.22-1) ...
/var/lib/dpkg/info/gimp.postinst: 6: /var/lib/dpkg/info/gimp.postinst: pycompile: not found
dpkg: error processing package gimp (--configure):
 installed gimp package post-installation script subprocess returned error exit status 127
Setting up python-requests (2.18.4-2ubuntu0.1) ...
/var/lib/dpkg/info/python-requests.postinst: 6: /var/lib/dpkg/info/python-requests.postinst: pycompile: not found
dpkg: error processing package python-requests (--configure):
 installed python-requests package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of virt-manager:
 virt-manager depends on python-requests; however:
  Package python-requests is not configured yet.

dpkg: error processing package virt-manager (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because MaxReports is reached already
                dpkg: dependency problems prevent configuration of virtinst:
 virtinst depends on python-requests; however:
  Package python-requests is not configured yet.

dpkg: error processing package virtinst (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gimp
 python-requests
 virt-manager
 virtinst
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to requests in Ubuntu.
https://bugs.launchpad.net/bugs/1806307

Title:
  package python-requests 2.18.4-2 failed to install/upgrade: package is
  in a very bad inconsistent state; you should  reinstall it before
  attempting configuration

Status in requests package in Ubuntu:
  Incomplete

Bug description:
  package python-requests 2.18.4-2 failed to install/upgrade: package is
  in a very bad inconsistent state; you should  reinstall it before
  attempting configuration

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: python-requests 2.18.4-2
  ProcVersionSignature: Ubuntu 4.15.0-36.39-generic 4.15.18
  Uname: Linux 4.15.0-36-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.9-0ubuntu7.2
  AptOrdering:
   libssh-4:amd64: Install
   NULL: ConfigurePending
  Architecture: amd64
  Date: Mon Dec  3 07:58:06 2018
  DpkgHistoryLog:
   Start-Date: 2018-12-03  07:58:02
   Commandline: /usr/bin/unattended-upgrade
   Upgrade: libssh-4:amd64 (0.8.0~20170825.94fa1e38-1ubuntu0.1, 0.8.0~20170825.94fa1e38-1ubuntu0.2)
  DuplicateSignature:
   package:python-requests:2.18.4-2
   Setting up libssh-4:amd64 (0.8.0~20170825.94fa1e38-1ubuntu0.2) ...
   dpkg: error processing package python-requests (--configure):
    package is in a very bad inconsistent state; you should
  ErrorMessage: package is in a very bad inconsistent state; you should  reinstall it before attempting configuration
  InstallationDate: Installed on 2018-05-28 (188 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2.1
   apt  1.6.3ubuntu0.1
  SourcePackage: requests
  Title: package python-requests 2.18.4-2 failed to install/upgrade: package is in a very bad inconsistent state; you should  reinstall it before attempting configuration
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list