16.04 - Errors were encountered while processing in python - Ask Ubuntu


i'm using ubuntu 16.04 desktop , facing below error while apt-get operation :

reading package lists... done building dependency tree reading state information... done 0 upgraded, 0 newly installed, 1 reinstalled, 0 remove , 0 not upgraded. 10 not installed or removed. need 0 b/224 kb of archives. after operation, 0 b of additional disk space used. (reading database ... 120416 files , directories installed.) preparing unpack .../python2.7_2.7.12-1~16.04_amd64.deb ... unpacking python2.7 (2.7.12-1~16.04) on (2.7.12-1~16.04) ... processing triggers mime-support (3.59ubuntu1) ... setting python3 (3.5.1-3) ... running python rtupdate hooks python3.5... dpkg-query: package 'hplip-data' not installed use dpkg --info (= dpkg-deb --info) examine archive files, , dpkg --contents (= dpkg-deb --contents) list 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 content of %s" % package_name) exception: cannot content of hplip-data error running python rtupdate hook hplip-data dpkg-query: package 'ibus-table' not installed use dpkg --info (= dpkg-deb --info) examine archive files, , dpkg --contents (= dpkg-deb --contents) list 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 content of %s" % package_name) exception: cannot content of ibus-table error running python rtupdate hook ibus-table dpkg-query: package 'ibus' not installed use dpkg --info (= dpkg-deb --info) examine archive files, , dpkg --contents (= dpkg-deb --contents) list 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 content of %s" % package_name) exception: cannot content of ibus error running python rtupdate hook ibus dpkg-query: package 'onboard' not installed use dpkg --info (= dpkg-deb --info) examine archive files, , dpkg --contents (= dpkg-deb --contents) list 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 content of %s" % package_name) exception: cannot content of onboard error running python rtupdate hook onboard dpkg-query: package 'python3-uno' not installed use dpkg --info (= dpkg-deb --info) examine archive files, , dpkg --contents (= dpkg-deb --contents) list 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 content of %s" % package_name) exception: cannot content of python3-uno error running python rtupdate hook python3-uno dpkg-query: package 'rhythmbox-plugins' not installed use dpkg --info (= dpkg-deb --info) examine archive files, , dpkg --contents (= dpkg-deb --contents) list 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 content of %s" % package_name) exception: cannot content of rhythmbox-plugins error running python rtupdate hook rhythmbox-plugins dpkg-query: package 'rhythmbox' not installed use dpkg --info (= dpkg-deb --info) examine archive files, , dpkg --contents (= dpkg-deb --contents) list 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 content of %s" % package_name) exception: cannot content of rhythmbox error running python rtupdate hook rhythmbox dpkg-query: package 'totem-plugins' not installed use dpkg --info (= dpkg-deb --info) examine archive files, , dpkg --contents (= dpkg-deb --contents) list 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 content of %s" % package_name) exception: cannot content of totem-plugins error running python rtupdate hook totem-plugins dpkg-query: package 'ubuntu-drivers-common' not installed use dpkg --info (= dpkg-deb --info) examine archive files, , dpkg --contents (= dpkg-deb --contents) list 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 content of %s" % package_name) exception: cannot content of ubuntu-drivers-common error running python rtupdate hook ubuntu-drivers-common dpkg: error processing package python3 (--configure):  subprocess installed post-installation script returned error exit status 4 dpkg: dependency problems prevent configuration of lsb-release:  lsb-release depends on python3:any (>= 3.4~); however:   package python3 not configured yet.  dpkg: error processing package lsb-release (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python3-apt:  python3-apt depends on python3 (<< 3.6); however:   package python3 not configured yet.  python3-apt depends on python3 (>= 3.5~); however:   package python3 not configured yet.  dpkg: error processing package python3-apt (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python-software-properties:  python-software-properties depends on lsb-release; however:   package lsb-release not configured yet.  dpkg: error processing package python-software-properties (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python3-dev:  python3-dev depends on python3 (= 3.5.1-3); however:   package python3 not configured yet.  dpkg: error processing package python3-dev (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python3-pip:  python3-pip depends on python3:any (>= 3.4~); however:   package python3 not configured yet.  dpkg: error processing package python3-pip (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python3-pkg-resources:  python3-pkg-resources depends on python3:any (>= 3.3.2-2~); however:   package python3 not configured yet.  dpkg: error processing package python3-pkg-resources (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python3-setuptools:  python3-setuptools depends on python3-pkg-resources (= 20.7.0-1); however:   package python3-pkg-resources not configured yet.  python3-setuptools depends on python3:any (>= 3.3.2-2~); however:   package python3 not configured yet.  dpkg: error processing package python3-setuptools (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python3-wheel:  python3-wheel depends on python3:any (>= 3.3.2-2~); however:   package python3 not configured yet.  dpkg: error processing package python3-wheel (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of unattended-upgrades:  unattended-upgrades depends on python3; however:   package python3 not configured yet.  unattended-upgrades depends on python3-apt; however:   package python3-apt not configured yet.  unattended-upgrades depends on lsb-release; however:   package lsb-release not configured yet.  dpkg: error processing package unattended-upgrades (--configure):  dependency problems - leaving unconfigured setting python2.7 (2.7.12-1~16.04) ... errors encountered while processing:  python3  lsb-release  python3-apt  python-software-properties  python3-dev  python3-pip  python3-pkg-resources  python3-setuptools  python3-wheel  unattended-upgrades e: sub-process /usr/bin/dpkg returned error code (1) 

also trying re-install python still same error.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User