[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 06:11:35 UTC 2019
>sudo apt-get remove python-requests
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-appindicator3-0.1 gir1.2-gtk-vnc-2.0 gir1.2-libosinfo-1.0 gir1.2-libvirt-glib-1.0 gir1.2-spiceclientglib-2.0 gir1.2-spiceclientgtk-3.0
libgovirt-common libgovirt2 libgtk-vnc-2.0-0 libgvnc-1.0-0 libosinfo-1.0-0 libphodav-2.0-0 libphodav-2.0-common libspice-client-glib-2.0-8
libspice-client-gtk-3.0-5 libusbredirhost1 libvirt-glib-1.0-0 osinfo-db python-asn1crypto python-certifi python-cffi-backend python-chardet
python-cryptography python-dbus python-enum34 python-gi python-gi-cairo python-idna python-ipaddr python-ipaddress python-libvirt python-libxml2
python-openssl python-pkg-resources python-six python-urllib3 spice-client-glib-usb-acl-helper virt-viewer
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
python-requests virt-manager virtinst
0 upgraded, 0 newly installed, 3 to remove and 369 not upgraded.
2 not fully installed or removed.
After this operation, 9,091 kB disk space will be freed.
Do you want to continue? [Y/n] Y
dpkg: warning: files list file for package 'python-requests' missing; assuming package has no files currently installed
(Reading database ... 221178 files and directories currently installed.)
Removing virt-manager (1:1.5.1-0ubuntu1) ...
/var/lib/dpkg/info/virt-manager.prerm: 6: /var/lib/dpkg/info/virt-manager.prerm: pyclean: not found
dpkg: error processing package virt-manager (--remove):
installed virt-manager package pre-removal script subprocess returned error exit status 127
/var/lib/dpkg/info/virt-manager.postinst: 6: /var/lib/dpkg/info/virt-manager.postinst: pycompile: not found
dpkg: error while cleaning up:
installed virt-manager package post-installation script subprocess returned error exit status 127
dpkg: virtinst: dependency problems, but removing anyway as you requested:
virt-manager depends on virtinst (>= 1:1.5.1-0ubuntu1); however:
Package virtinst is to be removed.
Removing virtinst (1:1.5.1-0ubuntu1) ...
/var/lib/dpkg/info/virtinst.prerm: 6: /var/lib/dpkg/info/virtinst.prerm: pyclean: not found
dpkg: error processing package virtinst (--remove):
installed virtinst package pre-removal script subprocess returned error exit status 127
dpkg: python-requests: dependency problems, but removing anyway as you requested:
virt-manager depends on python-requests.
virtinst depends on python-requests.
dpkg: error processing package python-requests (--remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
virt-manager
virtinst
python-requests
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