<html dir="ltr"><head></head><body style="text-align: left; direction: ltr; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><br></div><div>On Wed, 2018-12-12 at 20:34 +0100, Ralf Mardorf via ubuntu-users wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>On Wed, 12 Dec 2018 21:22:02 +0200, Charles IRONS wrote:</pre><pre>Package operation failed</pre><pre>The installation or removal of a software package failed.</pre><pre><br></pre><pre>Hi,</pre><pre><br></pre><pre>open a terminal and run</pre><pre><br></pre><pre>sudo apt update</pre><pre>sudo apt full-upgrade</pre><pre>sudo apt --fix-broken install</pre><pre><br></pre><pre>if this shouldn't resolve the issue, post the output of</pre><pre><br></pre><pre>sudo apt full-upgrade</pre><pre>sudo apt --fix-broken install</pre><pre><br></pre><pre>In a terminal you usually can copy the output by selecting the text with</pre><pre>the mouse and then using the shortcut Shift+Ctrl+C (not by using the</pre><pre>common shortcut Ctrl+C).</pre><pre><br></pre><pre>Regards,</pre><pre>Ralf</pre></blockquote><pre>***********************</pre><pre>Hi Ralf</pre><pre>Sorry, the updates failed to resolve the problem but delivered a lot of output.</pre><pre>Some of it is posted below. Hope you will understand it all. </pre><pre>I inserted ************ at each command and where I <snip> repetitive stuff to get this post below 40K </pre><pre><br></pre><pre>Thanks for helping. Chas</pre><pre>*************************</pre><pre><a href="mailto:chas@Charles-PC">chas@Charles-PC</a>:~$ sudo apt update</pre><pre>[sudo] password for chas: </pre><pre>Hit:1 <a href="http://mirror.wiru.co.za/ubuntu">http://mirror.wiru.co.za/ubuntu</a> bionic InRelease</pre><pre>Hit:2 <a href="http://mirror.wiru.co.za/ubuntu">http://mirror.wiru.co.za/ubuntu</a> bionic-updates InRelease </pre><pre>Hit:3 <a href="http://mirror.wiru.co.za/ubuntu">http://mirror.wiru.co.za/ubuntu</a> bionic-backports InRelease </pre><pre>Hit:4 <a href="http://mirror.wiru.co.za/ubuntu">http://mirror.wiru.co.za/ubuntu</a> bionic-security InRelease </pre><pre>Hit:5 <a href="http://linux.teamviewer.com/deb">http://linux.teamviewer.com/deb</a> stable InRelease </pre><pre>Hit:6 <a href="http://security.ubuntu.com/ubuntu">http://security.ubuntu.com/ubuntu</a> bionic-security InRelease </pre><pre>Hit:7 <a href="http://archive.canonical.com/ubuntu">http://archive.canonical.com/ubuntu</a> bionic InRelease </pre><pre>Reading package lists... Done </pre><pre>Building dependency tree </pre><pre>Reading state information... Done</pre><pre>11 packages can be upgraded. Run 'apt list --upgradable' to see them.</pre><pre><a href="mailto:chas@Charles-PC">chas@Charles-PC</a>:~$ sudo apt full-upgrade ***************************</pre><pre>Reading package lists... Done</pre><pre>Building dependency tree </pre><pre>Reading state information... Done</pre><pre>Calculating upgrade... Done</pre><pre>The following package was automatically installed and is no longer required:</pre><pre> qml-module-qtwebkit</pre><pre>Use 'sudo apt autoremove' to remove it.</pre><pre>The following packages will be upgraded:</pre><pre> gnome-software gnome-software-common gnome-software-plugin-snap</pre><pre> libfreerdp-client2-2 libfreerdp2-2 libwinpr2-2 python3-software-properties</pre><pre> software-properties-common software-properties-gtk ubuntu-software</pre><pre> unattended-upgrades</pre><pre>11 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.</pre><pre>25 not fully installed or removed.</pre><pre>Need to get 4,140 kB of archives.</pre><pre>After this operation, 19.5 kB of additional disk space will be used.</pre><pre>Do you want to continue? [Y/n] Y</pre><pre>Get:1 <a href="http://mirror.wiru.co.za/ubuntu">http://mirror.wiru.co.za/ubuntu</a> bionic-updates/main amd64 gnome-software-plugin-snap amd64 3.28.1-0ubuntu4.18.04.8 [28.3 kB]</pre><pre><snip> ****************************</pre><pre>Get:11 <a href="http://mirror.wiru.co.za/ubuntu">http://mirror.wiru.co.za/ubuntu</a> bionic-updates/main amd64 unattended-upgrades all 1.1ubuntu1.18.04.7 [40.2 kB]</pre><pre>Fetched 4,140 kB in 3s (1,207 kB/s) </pre><pre>Preconfiguring packages ...</pre><pre>(Reading database ... 242299 files and directories currently installed.)</pre><pre>Preparing to unpack .../00-gnome-software-plugin-snap_3.28.1-0ubuntu4.18.04.8_amd64.deb ...</pre><pre>Unpacking gnome-software-plugin-snap (3.28.1-0ubuntu4.18.04.8) over (3.28.1-0ubuntu4.18.04.4) ...</pre><pre><snip> ****************************</pre><pre>Preparing to unpack .../10-unattended-upgrades_1.1ubuntu1.18.04.7_all.deb ...</pre><pre>Unpacking unattended-upgrades (1.1ubuntu1.18.04.7) over (1.1ubuntu1.18.04.5) ...</pre><pre>Setting up gnome-software-common (3.28.1-0ubuntu4.18.04.8) ...</pre><pre>Processing triggers for mime-support (3.60ubuntu1) ...</pre><pre>Processing triggers for ureadahead (0.100.0-20) ...</pre><pre>ureadahead will be reprofiled on next reboot</pre><pre>Setting up python3 (3.6.7-1~18.04) ...</pre><pre>running python rtupdate hooks for python3.6...</pre><pre>E: py3compile:183: cannot create directory /usr/share/hplip/ui5/__pycache__: FileNotFoundError(2, 'No such file or directory')</pre><pre>[Errno 2] No such file or directory: '/usr/share/hplip/ui5/aboutdialog.py'</pre><pre><snip> *********************************</pre><pre>[Errno 2] No such file or directory: '/usr/share/hplip/ui5/wifisetupdialog.py'</pre><pre>[Errno 2] No such file or directory: '/usr/share/hplip/ui5/wifisetupdialog_base.py'</pre><pre>error running python rtupdate hook hplip-data</pre><pre>dpkg: error processing package python3 (--configure):</pre><pre> installed python3 package post-installation script subprocess returned error exit status 4</pre><pre>dpkg: dependency problems prevent configuration of update-notifier-common:</pre><pre> update-notifier-common depends on python3:any; however:</pre><pre> Package python3 is not configured yet.</pre><pre><br></pre><pre><snip> ********************************</pre><pre>dpkg: error processing package update-notifier (--configure):</pre><pre> dependency problems - leaving unconfigured</pre><pre>No apport report written because MaxReports has already been reached</pre><pre> dpkg: dependency problems prevent configuration of gnome-software:</pre><pre><snip> ********************************</pre><pre> dependency problems - leaving triggers unprocessed</pre><pre>dpkg: too many errors, stopping</pre><pre>No apport report written because MaxReports has already been reached</pre><pre> Processing triggers for libc-bin (2.27-3ubuntu1) ...</pre><pre>Errors were encountered while processing:</pre><pre> python3</pre><pre> update-notifier-common</pre><pre> python3-lxml:amd64</pre><pre> python3-update-manager</pre><pre> gnome-shell</pre><pre> netplan.io</pre><pre> ubuntu-release-upgrader-core</pre><pre> software-properties-gtk</pre><pre> nplan</pre><pre> update-notifier</pre><pre> gnome-software</pre><pre> unattended-upgrades</pre><pre> update-manager</pre><pre> python3-gdbm:amd64</pre><pre> python3-software-properties</pre><pre> gnome-menus</pre><pre> python3-lib2to3</pre><pre> python3-distutils</pre><pre> python3-distupgrade</pre><pre> software-properties-common</pre><pre> ufw</pre><pre> ubuntu-release-upgrader-gtk</pre><pre> update-manager-core</pre><pre> ubuntu-software</pre><pre> gconf2</pre><pre> gnome-software-plugin-snap</pre><pre> gconf2</pre><pre> <snip> ********************************</pre><pre> gconf2</pre><pre>Processing was halted because there were too many errors.</pre><pre>E: Sub-process /usr/bin/dpkg returned an error code (1)</pre><pre><a href="mailto:chas@Charles-PC">chas@Charles-PC</a>:~$ sudo apt --fix-broken install ****************************</pre><pre>Reading package lists... Done</pre><pre>Building dependency tree </pre><pre>Reading state information... Done</pre><pre>The following package was automatically installed and is no longer required:</pre><pre> qml-module-qtwebkit</pre><pre>Use 'sudo apt autoremove' to remove it.</pre><pre>0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.</pre><pre>32 not fully installed or removed.</pre><pre>After this operation, 0 B of additional disk space will be used.</pre><pre>Setting up python3 (3.6.7-1~18.04) ...</pre><pre>running python rtupdate hooks for python3.6...</pre><pre>E: py3compile:183: cannot create directory /usr/share/hplip/ui5/__pycache__: FileNotFoundError(2, 'No such file or directory')</pre><pre>[Errno 2] No such file or directory: '/usr/share/hplip/ui5/aboutdialog.py'</pre><pre><snip> ********************************</pre><pre>[Errno 2] No such file or directory: '/usr/share/hplip/ui5/wifisetupdialog_base.py'</pre><pre>error running python rtupdate hook hplip-data</pre><pre>dpkg: error processing package python3 (--configure):</pre><pre> installed python3 package post-installation script subprocess returned error exit status 4</pre><pre>dpkg: dependency problems prevent configuration of update-notifier-common:</pre><pre> update-notifier-common depends on python3:any; however:</pre><pre> Package python3 is not configured yet.</pre><pre><br></pre><pre><snip> ******************************** No apport report written because MaxReports has already been reached</pre><pre> No apport report written because MaxReports has already been reached</pre><pre> problems prevent configuration of software-properties-gtk:</pre><pre> software-properties-gtk depends on python3:any (>= 3.3.2-2~); however:</pre><pre> Package python3 is not configured yet.</pre><pre> software-properties-gtk depends on python3; however:</pre><pre> Package python3 is not configured yet.</pre><pre><br></pre><pre><snip> ********************************</pre><pre>dpkg: error processing package gconf2 (--configure):</pre><pre> dependency problems - leaving triggers unprocessed</pre><pre>dpkg: dependency problems prevent configuration of gnome-software-plugin-snap:</pre><pre> gnome-software-plugin-snap depends on gnome-software (= 3.28.1-0ubuntu4.18.04.8); however:</pre><pre> Package gnome-software is not configured yet.</pre><pre><br></pre><pre>dpkg: error processing package gnome-software-plugin-snap (--configure):</pre><pre> dependency problems - leaving unconfigured</pre><pre>dpkg: dependency problems prevent processing triggers for gconf2:</pre><pre> gconf2 depends on python3:any; however:</pre><pre> Package python3 is not configured yet.</pre><pre><br></pre><pre><snip> ********************************</pre><pre><br></pre><pre>dpkg: error processing package gconf2 (--configure):</pre><pre> dependency problems - leaving triggers unprocessed</pre><pre>dpkg: dependency problems prevent processing triggers for gconf2:</pre><pre> gconf2 depends on python3:any; however:</pre><pre> Package python3 is not configured yet.</pre><pre><br></pre><pre>dpkg: error processing package gconf2 (--configure):</pre><pre> dependency problems - leaving triggers unprocessed</pre><pre>dpkg: too many errors, stopping</pre><pre>Errors were encountered while processing:</pre><pre> python3</pre><pre> update-notifier-common</pre><pre> python3-lxml:amd64</pre><pre> python3-update-manager</pre><pre> gnome-shell</pre><pre> netplan.io</pre><pre> ubuntu-release-upgrader-core</pre><pre> software-properties-gtk</pre><pre> nplan</pre><pre> update-notifier</pre><pre> gnome-software</pre><pre> unattended-upgrades</pre><pre> update-manager</pre><pre> python3-gdbm:amd64</pre><pre> python3-software-properties</pre><pre> gnome-menus</pre><pre> python3-lib2to3</pre><pre> python3-distutils</pre><pre> python3-distupgrade</pre><pre> software-properties-common</pre><pre> ufw</pre><pre> ubuntu-release-upgrader-gtk</pre><pre> update-manager-core</pre><pre> ubuntu-software</pre><pre> gconf2</pre><pre> gnome-software-plugin-snap</pre><pre> gconf2</pre><pre> <snip> ********************************</pre><pre> gconf2</pre><pre>Processing was halted because there were too many errors.</pre><pre>E: Sub-process /usr/bin/dpkg returned an error code (1)</pre><pre><a href="mailto:chas@Charles-PC">chas@Charles-PC</a>:~$ </pre><pre><br></pre><pre></pre>
</body></html>