问题排查
- 尝试查看dpkg.log,重新安装异常的包,试了没用
- 尝试清除apt缓存
sudo apt clean sudo rm -rf /var/lib/apt/lists sudo apt update
- 看到报错信息
Failed to activate service 'org.freedesktop.PackageKit': timed out(service_start_timeout=25000ms)
- 查看packagekit状态
sudo systemctl status packagekit // 看到是因为找不到libgstreamer1.0 sudo aptitude reinstall libgstreamer1.0-0 sudo reboot
- 问题解决