问题描述:apt-get install 出现问题,大家说是apt-get依赖问题,折磨了很久
dpkg: error processing package iio-sensor-proxy (--configure):dependency problems - leaving unconfiguredE: Sub-process /usr/bin/dpkg returned an error code (1)
解决方案:
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
参考:
dpkg - I can't install or uninstall packages in 18.04 - Ask Ubuntu