>sudo apt install --reinstall python-requests
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  python-socks
The following packages will be upgraded:
  python-requests
1 upgraded, 0 newly installed, 0 to remove and 371 not upgraded.
2 not fully installed or removed.
Need to get 0 B/58.5 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
(Reading database ... 221208 files and directories currently installed.)
Preparing to unpack .../python-requests_2.18.4-2ubuntu0.1_all.deb ...
/var/lib/dpkg/info/python-requests.prerm: 6: 
/var/lib/dpkg/info/python-requests.prerm: pyclean: not found
dpkg: warning: old python-requests package pre-removal script subprocess 
returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
dpkg: error processing archive 
/var/cache/apt/archives/python-requests_2.18.4-2ubuntu0.1_all.deb (--unpack):
 new python-requests package pre-removal script subprocess returned error exit 
status 127
/var/lib/dpkg/info/python-requests.postinst: 6: 
/var/lib/dpkg/info/python-requests.postinst: pycompile: not found
dpkg: error while cleaning up:
 installed python-requests package post-installation script subprocess returned 
error exit status 127
Errors were encountered while processing:
 /var/cache/apt/archives/python-requests_2.18.4-2ubuntu0.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to