当前位置:   article > 正文

Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages_e: error, pkgproblemresolver::resolve generated br

e: error, pkgproblemresolver::resolve generated breaks, this may be caused b

Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages

The following packages have unmet dependencies:
 libegl-mesa0 : Depends: libgbm1 (= 22.0.1-1ubuntu2.1) but 22.0.5-0ubuntu0.1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
  • 1
  • 2
  • 3

今天在ubuntu22.04上安装SDL2的时候遇到了这个问题
在网上搜索,得到了新的命令aptitude
sudo aptitude install <packagename>重新安装就解决了

apt-get install aptitude -y     # 安装aptitude
sudo aptitude install -y build-essential libsdl2-dev
  • 1
  • 2
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/1008524
推荐阅读
相关标签
  

闽ICP备14008679号