首页 > 系统相关 >ubuntu apt install 错误

ubuntu apt install 错误

时间:2023-03-01 15:58:51浏览次数:35  
标签:4.0 2.38 apt 04.1 install ubuntu 0ubuntu0.22

错误信息

root@ecdbtt:~# apt-get install gparted
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:
 gir1.2-javascriptcoregtk-4.0 : Depends: libjavascriptcoregtk-4.0-18 (= 2.38.5-0ubuntu0.22.04.1) but 2.38.4-0ubuntu0.22.04.1 is to be installed
 gparted : Depends: gparted-common (= 1.3.1-1ubuntu1) but it is not going to be installed
 libwebkit2gtk-4.0-37 : Depends: libjavascriptcoregtk-4.0-18 (= 2.38.5-0ubuntu0.22.04.1) but 2.38.4-0ubuntu0.22.04.1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

解决方法:

sudo apt --fix-broken install
sudo apt-get update
sudo apt-get upgrade

标签:4.0,2.38,apt,04.1,install,ubuntu,0ubuntu0.22
From: https://www.cnblogs.com/liulianzhen99/p/17168509.html

相关文章