dpkg: error processing package iio-sensor-proxy (--configure): dependency problems - leaving unconf

问题描述:apt-get install 出现问题,大家说是apt-get依赖问题,折磨了很久

dpkg: error processing package iio-sensor-proxy (--configure):
 dependency problems - leaving unconfigured


E: 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

猜你喜欢

转载自blog.csdn.net/qq_37424778/article/details/123334569