>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
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