Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2796

E: subprocess error

$
0
0
(base) karpagam@LAPTOP-SO8381B2:~$ sudo apt updateFile "/usr/share/python3/debpython/files.py", line 53, in from_packageraise Exception("cannot get content of %s" % package_name)Exception: cannot get content of ibus-tableerror running python rtupdate hook ibus-tabledpkg-query: package 'libglib2.0-dev-bin' is not installedUse dpkg --contents (= dpkg-deb --contents) to list archive files contents.Traceback (most recent call last):File "/usr/bin/py3clean", line 210, in <module>File "/usr/share/python3/debpython/files.py", line 53, in from_packageraise Exception("cannot get content of %s" % package_name)Exception: cannot get content of ibus-tableerror running python rtupdate hook ibus-tabledpkg-query: package 'libglib2.0-dev-bin' is not installedUse dpkg --contents (= dpkg-deb --contents) to list archive files contents.Traceback (most recent call last):File "/usr/bin/py3clean", line 210, in <module>File "/usr/share/python3/debpython/files.py", line 53, in from_packageraise Exception("cannot get content of %s" % package_name)Exception: cannot get content of ibus-tableerror running python rtupdate hook ibus-tabledpkg-query: package 'libglib2.0-dev-bin' is not installedUse dpkg --contents (= dpkg-deb --contents) to list archive files contents.Traceback (most recent call last):File "/usr/bin/py3clean", line 210, in <module>File "/usr/share/python3/debpython/files.py", line 53, in from_packageraise Exception("cannot get content of %s" % package_name)Exception: cannot get content of ibus-tableerror running python rtupdate hook ibus-tabledpkg-query: package 'libglib2.0-dev-bin' is not installedUse dpkg --contents (= dpkg-deb --contents) to list archive files contents.Traceback (most recent call last):File "/usr/bin/py3clean", line 210, in <module>File "/usr/share/python3/debpython/files.py", line 53, in from_packageraise Exception("cannot get content of %s" % package_name)Exception: cannot get content of ibus-tableerror running python rtupdate hook ibus-tabledpkg-query: package 'libglib2.0-dev-bin' is not installedUse dpkg --contents (= dpkg-deb --contents) to list archive files contents.Traceback (most recent call last):File "/usr/bin/py3clean", line 210, in <module>main()File "/usr/bin/py3clean", line 196, in mainpfiles = set(dpf.from_package(options.package))File "/usr/share/python3/debpython/files.py", line 53, in from_packageraise Exception("cannot get content of %s" % package_name)Exception: cannot get content of libglib2.0-dev-binerror running python rtupdate hook libglib2.0-dev-bindpkg: error processing package python3 (--configure):installed python3 package post-installation script subprocess returned error exit status 4dpkg: dependency problems prevent configuration of lsb-release:lsb-release depends on python3:any; however:Package python3 is not configured yet.dpkg: error processing package lsb-release (--configure):dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of python3-apt:python3-apt depends on python3 (<< 3.9); however:Package python3 is not configured yet.python3-apt depends on python3 (>= 3.8~); however:Package python3 is not configured yet.python3-apt depends on python3:any; however:Package python3 is not configured yet.dpkg: error processing package python3-apt (--configure):dependency problems - leaving unconfiguredErrors were encountered while processing:python3lsb-releasepython3-aptE: Sub-process /usr/bin/dpkg returned an error code (1)(base) karpagam@LAPTOP-SO8381B2:~$

I was trying to install xrdp in my wsl2 with the commandsudo apt install xrdp and got the above error message. Particularly the message comes because of the packages python3, lsb-release and python3-apt. I first tried to reconfigure python3 with the command sudo dpkg --configure python3. still got the following error

`(base) karpagam@LAPTOP-SO8381B2:/$ sudo dpkg --configure python3 Setting up python3 (3.8.2-0ubuntu2) ... running python rtupdate hooks for python3.8... dpkg-query: package 'byobu' is not installed Use dpkg --contents (= dpkg-deb --contents) to list archive files contents. Traceback (most recent call last): File "/usr/bin/py3clean", line 210, in <module>   main() File "/usr/bin/py3clean", line 196, in main pfiles = set(dpf.from_package(options.package)) File "/usr/share/python3/debpython/files.py", line 53, in from_package  raise Exception("cannot get content of %s" % package_name) Exception: cannot get content of byobu error running python rtupdate hook byobu dpkg-query: package 'gedit' is not installed Use dpkg --contents (= dpkg-deb --contents) to list archive files contents. Traceback (most recent call last): File "/usr/bin/py3clean", line 210, in <module>  main() File "/usr/bin/py3clean", line 196, in main pfiles = set(dpf.from_package(options.package)) File "/usr/share/python3/debpython/files.py", line 53, in from_package raise Exception("cannot get content of %s" % package_name) Exception: cannot get content of gedit error running python rtupdate hook gedit dpkg-query: package 'hplip-data' is not installed Use dpkg --contents (= dpkg-deb --contents) to list archive files contents. Traceback (most recent call last): File "/usr/bin/py3clean", line 210, in <module>  main() File "/usr/bin/py3clean", line 196, in main pfiles = set(dpf.from_package(options.package)) File "/usr/share/python3/debpython/files.py", line 53, in from_package raise Exception("cannot get content of %s" % package_name) Exception: cannot get content of hplip-data error running python rtupdate hook hplip-data dpkg-query: package 'ibus-table' is not installed Use dpkg --contents (= dpkg-deb --contents) to list archive files contents. Traceback (most recent call last): File "/usr/bin/py3clean", line 210, in <module>  main() File "/usr/bin/py3clean", line 196, in main pfiles = set(dpf.from_package(options.package)) File "/usr/share/python3/debpython/files.py", line 53, in from_package raise Exception("cannot get content of %s" % package_name) Exception: cannot get content of ibus-table error running python rtupdate hook ibus-table dpkg-query: package 'libglib2.0-dev-bin' is not installed Use dpkg --contents (= dpkg-deb --contents) to list archive files contents. Traceback (most recent call last): File "/usr/bin/py3clean", line 210, in <module>   main() File "/usr/bin/py3clean", line 196, in main pfiles = set(dpf.from_package(options.package)) File "/usr/share/python3/debpython/files.py", line 53, in from_package  raise Exception("cannot get content of %s" % package_name) Exception: cannot get content of libglib2.0-dev-bin     error running python rtupdate hook libglib2.0-dev-bin dpkg: error processing package python3 (--configure): installed python3 package post-installation script subprocess returned error exit   status 4 Errors were encountered while processing: python3`

I also tried the following commands

sudo apt-get autocleansudo apt-get autoremovesudo apt-get clean

All of them failed. Kindly suggest me some way to fix this issue.


Viewing all articles
Browse latest Browse all 2796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>