[Bug 1734661] Re: package python-requests 2.2.1-1ubuntu0.3 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
natraj
pnatraj at hotmail.com
Tue Nov 28 13:22:46 UTC 2017
I was installing coursera-dl (https://github.com/coursera-dl/coursera-
dl) and this had a specific crypto dependency and i starting installing
the same with pip. But the crypto dependency had python3 as a
requirement
Then i did the below
1) Moved /usr/bin/python to /usr/bin/python2
2) Linked /usr/bin/python to /usr/bin/python3.7
3) Executed the below commands
coursera-dl virtualenv my-coursera
180 virtualenv my-coursera
181 sudo apt-get install python-virtualenv
182 sudo apt-get install python3-virtualenv
183 sudo apt-get install python-virtualenv
184 coursera-dl
185 pip3 install cffi
186 sudo pip3 install cffi
......
Was able to use coursera-dl
Then on the apt-get update started failing please i have attached the
complete command line history in the attachment "aptcommandhistory.txt"
** Attachment added: "apt command history"
https://bugs.launchpad.net/ubuntu/+source/requests/+bug/1734661/+attachment/5015648/+files/aptcommandhistory.txt
--
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/1734661
Title:
package python-requests 2.2.1-1ubuntu0.3 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:
Somethign is messed up after linking python to python 3 and after this
all these issues started cropping up.
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: python-requests 2.2.1-1ubuntu0.3
ProcVersionSignature: Ubuntu 4.4.0-101.124~14.04.1-generic 4.4.95
Uname: Linux 4.4.0-101-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.27
Architecture: amd64
Date: Mon Nov 27 16:18:42 2017
DuplicateSignature: package:python-requests:2.2.1-1ubuntu0.3:package is in a very bad inconsistent state; you should reinstall it before attempting configuration
ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
InstallationDate: Installed on 2017-11-16 (10 days ago)
InstallationMedia: Ubuntu 14.04.5 LTS "Trusty Tahr" - Release amd64 (20160803)
PackageArchitecture: all
RelatedPackageVersions:
dpkg 1.17.5ubuntu5.7
apt 1.0.1ubuntu2.17
SourcePackage: requests
Title: package python-requests 2.2.1-1ubuntu0.3 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
UpgradeStatus: Upgraded to trusty on 2017-11-27 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/requests/+bug/1734661/+subscriptions
More information about the foundations-bugs
mailing list