Problem description: There is a problem with apt-get install. Everyone says it is apt-get dependency problem. I have been tormenting it for a long time.
dpkg: error processing package iio-sensor-proxy (--configure):
dependency problems - leaving unconfigured
E: Sub-process /usr/bin/dpkg returned an error code (1)
solution:
rm /usr/share/python3/runtime.d/*
rm /usr/lib/valgrind/*
apt purge python3
apt-get -f install
apt install python3 --fix-missing
apt-get update && apt-get upgrade && apt-get autoremove
reference:
dpkg - I can't install or uninstall packages in 18.04 - Ask Ubuntu