linux ubuntu apt-get报错E: Unable to correct problems, you have held broken packages.

编程入门 行业动态 更新时间:2024-10-25 18:33:35

报错内容:

$ sudo apt-get install lm-sensors sensors-applet
Reading package lists... Done
Building dependency tree
Reading state information... Done
lm-sensors is already the newest version (1:3.3.4-2ubuntu1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 sensors-applet : Depends: libpanel-applet-4-0 (>= 3.2.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

1,尝试修复:

$ sudo dpkg --configure -a
$ sudo apt-get update
$ sudo apt-get autoremove
$ sudo apt-get -f install

没有起到作用。
2,根据报错内容提示,手动安装指定的软件包(libpanel-applet-4-0):

$ sudo apt install libpanel-applet-4-0

解决。

更多推荐

linux ubuntu apt-get报错E: Unable to correct problems, you have held broken packag

本文发布于:2023-06-14 09:44:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1462275.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:报错   Unable   apt   linux   ubuntu

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!