我安装了 Linux Mint 19 “Tara” Cinnamon,当我想升级或 sudo apt-get dist-upgrade 时,出现一些错误:
The following packages have unmet dependencies:
indicator-sensors:i386 : Depends: libappindicator3-1:i386 (>= 0.2.96) but it is not installed
Depends: libatasmart4:i386 (>= 0.13) but it is not installed
Depends: libc6:i386 (>= 2.3.6-6~) but it is not installed
Depends: libgdk-pixbuf2.0-0:i386 (>= 2.22.0) but it is not installed
Depends: libgirepository-1.0-1:i386 (>= 0.9.2) but it is not installed
Depends: libglib2.0-0:i386 (>= 2.28.0) but it is not installed
Depends: libgtk-3-0:i386 (>= 3.0.0) but it is not installed
Depends: libnotify4:i386 (>= 0.7.2) but it is not installed
Depends: libpeas-1.0-0:i386 (>= 1.0.0) but it is not installed
Depends: libsensors4:i386 (>= 1:3.0.0) but it is not installed
Depends: libx11-6:i386 but it is not installed
Depends: libxext6:i386 but it is not installed
Depends: dconf-gsettings-backend:i386 but it is not installed or
gsettings-backend:i386
Depends: gir1.2-peas-1.0:i386 but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
答案1
该程序indicator-sensors
被开发并封装为snap
。
1)删除indicator-sensors
及其 ppa :
sudo apt remove indicator-sensors
sudo add-apt-repository --remove ppa:alexmurray/indicator-sensors
2) 运行sudo apt --fix-broken install
3)升级:sudo apt update && sudo apt upgrade
4)安装indicator-sensors
包:
sudo apt install snapd
sudo snap install indicator-sensors
从 Ubuntu 16.04 开始,该软件包indicator-sensors
无法正确安装。它可能会导致一些问题。
维护者的回答:
亚历克斯·默里 (alexmurray) 于 2018-06-18 写道:#3
您现在可以通过 snap 安装 -https://snapcraft.io/indicator-sensors
卡扣安装指示器传感器