U decided to try sudo apt-get autoremove first. It went crazy, spilling out several pages of problems encountered. I tried adding >& error.txt, then I tried using | tee 0 as part of the command, but nothing worked to capture the bult of the screen responses to a file. This is all that shows up in the file: Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 6 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up python-colorama (0.2.5-0.1ubuntu2) ... Setting up python-distlib (0.1.8-1ubuntu1) ... Setting up python-html5lib (0.999-3~ubuntu1) ... Setting up python-setuptools (3.3-1ubuntu2) ... Setting up python-wheel (0.24.0-1~ubuntu1) ... Now nothing is getting removed, because this came command get the same results on every retry. Having to do a copy&paste of the screen to a file. I maximized the screen and was able to get this much of what was written there. Whoever is weiting your apt-get process is not using stderr to report problems as it goes to the screen regardless of what I try to do to devert it to a file. I've complained of this is an earlier bug report, only to have someone comment that this was in no ways possible, that everything has to wirk with stdin, stdout, and stderr because it depends on a tty device. Bull on that. This should at least make the point otherwise. ImportError: No module named 'ConfigParser' dpkg: error processing package python-distlib (--configure): subprocess installed post-installation script returned error exit status 1 Setting up python-html5lib (0.999-3~ubuntu1) ... Traceback (most recent call last): File "/usr/bin/pycompile", line 35, in from debpython.version import SUPPORTED, debsorted, vrepr, \ File "/usr/share/python/debpython/version.py", line 24, in from ConfigParser import SafeConfigParser ImportError: No module named 'ConfigParser' dpkg: error processing package python-html5lib (--configure): subprocess installed post-installation script returned error exit status 1 Setting up python-setuptools (3.3-1ubuntu2) ... Traceback (most recent call last): File "/usr/bin/pycompile", line 35, in from debpython.version import SUPPORTED, debsorted, vrepr, \ File "/usr/share/python/debpython/version.py", line 24, in from ConfigParser import SafeConfigParser ImportError: No module named 'ConfigParser' No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already dpkg: error processing package python-setuptools (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of python-pip: python-pip depends on python-colorama; however: Package python-colorama is not configured yet. python-pip depends on python-distlib; however: Package python-distlib is not configured yet. python-pip depends on python-html5lib; however: Package python-html5lib is not configured yet. python-pip depends on python-setuptools (>= 0.6c1); however: Package python-setuptools is not configured yet. dpkg: error processing package python-pip (--configure): dependency problems - leaving unconfigured Setting up python-wheel (0.24.0-1~ubuntu1) ... Traceback (most recent call last): File "/usr/bin/pycompile", line 35, in from debpython.version import SUPPORTED, debsorted, vrepr, \ File "/usr/share/python/debpython/version.py", line 24, in from ConfigParser import SafeConfigParser ImportError: No module named 'ConfigParser' No apport report written because MaxReports is reached already dpkg: error processing package python-wheel (--configure): subprocess installed post-installation script returned error exit status 1 E: Sub-process /usr/bin/dpkg returned an error code (1)