$ LANG=C sudo apt-get dist-upgrade -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libmirserver37 mir-platform-graphics-mesa-kms7 mir-platform-graphics-mesa-x7
python3-distlib
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
python-pip-whl
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
201 not fully installed or removed.
Need to get 0 B/522 kB of archives.
After this operation, 2902 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 336835 files and directories currently installed.)
Preparing to unpack .../python-pip-whl_8.0.2-7_all.deb ...
Unpacking python-pip-whl (8.0.2-7) ...
dpkg: error processing archive /var/cache/apt/archives/python-pip-whl_8.0.2-7_all.deb (--unpack):
trying to overwrite '/usr/share/python-wheels/html5lib-0.999-py2.py3-none-any.whl', which is also in package python-html5lib-whl 0.999-3build1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/python-pip-whl_8.0.2-7_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)