简体   繁体   English

由于缺少依赖项(例如运行最新版本的 Ubuntu 的“libgdk-pixbuf”)而无法安装“conky”

[英]cannot install "conky" due to missing dependencies such as "libgdk-pixbuf" im running the latest version of Ubuntu

I'm trying to do is install conky and following every tutorial I can and can not get anything use full due too having problems downloading or something needing some dependency我正在尝试做的是安装 conky 并遵循我可以和不能完全使用的每个教程,因为下载也有问题或需要一些依赖

I'm stuck and lost and new and really mad at this point due to following every tutorial and getting lost again由于遵循了每个教程并再次迷路,我在这一点上被困住了,迷路了,新奇了,真的很生气

When I run sudo apt-get -y install conky-cli it returns当我运行sudo apt-get -y install conky-cli它返回

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 conky-all : Conflicts: conky-cli but 1.12.2-1 is to be installed
 conky-cli : Conflicts: conky-all but 1.12.2-1 is to be installed
 conky-manager : Depends: libgdk-pixbuf2.0-0 (>= 2.22.0) but it is not going to be installed
                 Depends: conky but it is not going to be installed
                 Depends: p7zip-full but it is not going to be installed
                 Depends: imagemagick
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

When I try to install libgdk-pixbuf with:当我尝试使用以下命令安装libgdk-pixbuf时:

sudo apt -y install libgdk-pixbuf2.0-0

I get:我得到:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 conky-manager : Depends: conky but it is not going to be installed
                 Depends: p7zip-full but it is not going to be installed
                 Depends: imagemagick
 libgdk-pixbuf2.0-0 : Depends: libgdk-pixbuf-xlib-2.0-0 (>= 2.40.2-2build4) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I'm curious what tutorial you're following that says to install conky-cli .我很好奇你正在学习的教程是安装conky-cli Most of what I'm seeing refers to installation of conky-all .我看到的大部分内容都与conky-all的安装有关。 Try entering sudo apt update followed by sudo apt install conky-all to install, as discussed at https://linuxconfig.org/ubuntu-22-04-system-monitoring-with-conky-widgets .尝试输入sudo apt update ,然后输入 sudo sudo apt install conky-all进行安装,如https://linuxconfig.org/ubuntu-22-04-system-monitoring-with-conky-widgets中所述。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM