SO线程上带有相同错误消息的答案并不能解决我的问题。
Ubuntu 20.04 LTS
愿意用apt
安装v4l-utils
我收到以下错误消息:
The following information may help to resolve the situation:
The following packages have unmet dependencies:
v4l-utils : Depends: libv4l-0 (= 1.14.2-1) but 1.18.0-2build1 is to be installed
Depends: libv4l2rds0 (= 1.14.2-1) but 1.18.0-2build1 is to be installed
E: Unable to correct problems, you have held broken packages.
以下答案我发现我试图安装aptitude
,然后我得到以下错误消息:
The following packages have unmet dependencies:
aptitude : Depends: libapt-pkg5.0 (>= 1.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
最后,当愿意安装依赖libapt-pkg5.0
时
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dictionaries-common : Depends: debconf (>= 1.5.5) but it is not going to be installed or
debconf-2.0
Depends: libtext-iconv-perl but it is not going to be installed
gir1.2-gdm-1.0 : Depends: libgdm1 (>= 3.33.4) but it is not going to be installed
glib-networking : Depends: gsettings-desktop-schemas but it is not going to be installed
libfolks25 : Depends: folks-common (= 0.13.2-1) but it is not going to be installed
Recommends: libfolks-eds25 but it is not going to be installed
libgoa-1.0-0b : Depends: libgoa-1.0-common (>= 3.36.1-0ubuntu1pop1~1625208841~20.04~63ed2dd) but it is not going to be installed
libicu66 : Depends: tzdata (> 2019c-3ubuntu1~) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
我有更新&升级&自动删除并尝试:
sudo apt-get clean
sudo dpkg --configure -a
sudo apt-get install -f
同样的结果。
当我用apt
安装v4l-utils
时,我遇到了一些错误
但我只是删除了libv4l-0
和libv4l2rds0
使用的
sudo apt remove libv4l-0
sudo apt remove libv4l2rds0
sudo apt autoclean && sudo apt autoremove
然后重新安装,它工作