【问题标题】:Unable to locate package找不到包裹
【发布时间】:2020-05-31 19:53:09
【问题描述】:

我正在尝试输入 sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev 在 ubuntu 上安装 OpenCV,但我不断收到错误消息:

Unable to locate package libswcale-devUnable to locate package libv4l-dev

【问题讨论】:

  • 我也收到了sudo apt-get install libxvidcore-dev libx264-dev的错误
  • 那么它很简单......您使用的 Ubuntu 版本在它可用的存储库中没有这个。最简单的选择是下载 .rpm 本身并安装它,或者找到一个包含此软件包的存储库并将该存储库添加到您有权访问的存储库列表中。

标签: opencv ubuntu installation package


【解决方案1】:

试试sudo apt-get update

如果没有结果,请显示您的/etc/apt/sources.list

【讨论】:

  • 没有修复,这里是我的sources.list:deb http://security.ubuntu.com/ubuntu xenial-security main # deb-src http://security.ubuntu.com/ubuntu xenial-security main
  • 现在我得到Package libv4l-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libv4l-dev' has no installation candidate
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2021-11-25
  • 1970-01-01
  • 2018-03-30
  • 2019-09-22
  • 2011-01-24
  • 2015-03-23
  • 2018-09-05
相关资源
最近更新 更多