我(Linux初学者)试图Opencv
在Ubuntu上安装bionic 18.04
,按照这个git安装不同版本的 OpenCV 的 shell 脚本指示。
403 Forbidden [IP: 91.189.95.83 80]
但是我运行时得到了:
sudo apt-get install libopencv-dev
它返回:
The following NEW packages will be installed:
gir1.2-gtk-2.0 libavcodec-dev libavformat-dev libavutil-dev libcv-dev
libcvaux-dev libgtk2.0-dev libgtkglext1 libhighgui-dev libilmbase-dev
libjasper-dev libjasper1 libopencv-calib3d-dev libopencv-calib3d2.4v5
libopencv-contrib-dev libopencv-contrib2.4v5 libopencv-core-dev
libopencv-core2.4v5 libopencv-dev libopencv-features2d-dev
libopencv-features2d2.4v5 libopencv-flann-dev libopencv-flann2.4v5
libopencv-gpu-dev libopencv-gpu2.4v5 libopencv-highgui-dev
libopencv-highgui2.4v5 libopencv-imgproc-dev libopencv-imgproc2.4v5
libopencv-legacy-dev libopencv-legacy2.4v5 libopencv-ml-dev
libopencv-ml2.4v5 libopencv-nonfree2.4v5 libopencv-objdetect-dev
libopencv-objdetect2.4v5 libopencv-ocl-dev libopencv-ocl2.4v5
libopencv-photo-dev libopencv-photo2.4v5 libopencv-stitching-dev
libopencv-stitching2.4v5 libopencv-superres-dev
libopencv-superres2.4v5 libopencv-ts-dev libopencv-ts2.4v5
libopencv-video-dev libopencv-video2.4v5 libopencv-videostab-dev
libopencv-videostab2.4v5 libopencv2.4-java libopencv2.4-jni
libopenexr-dev libpangox-1.0-0 libswresample-dev libswscale-dev
libxml2-utils opencv-data
0 upgraded, 58 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,286 kB/23.9 MB of archives.
After this operation, 122 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu bionic/main amd64 libavutil-dev amd64 7:4.2.1-0york0~18.04.1
403 Forbidden [IP: 91.189.95.83 80]
Err:2 http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu bionic/main amd64 libswresample-dev amd64 7:4.2.1-0york0~18.04.1
403 Forbidden [IP: 91.189.95.83 80]
Err:3 http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu bionic/main amd64 libavcodec-dev amd64 7:4.2.1-0york0~18.04.1
403 Forbidden [IP: 91.189.95.83 80]
Err:4 http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu bionic/main amd64 libavformat-dev amd64 7:4.2.1-0york0~18.04.1
403 Forbidden [IP: 91.189.95.83 80]
Err:5 http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu bionic/main amd64 libswscale-dev amd64 7:4.2.1-0york0~18.04.1
403 Forbidden [IP: 91.189.95.83 80]
E: Failed to fetch http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu/pool/main/f/ffmpeg/libavutil-dev_4.2.1-0york0~18.04.1_amd64.deb 403 Forbidden [IP: 91.189.95.83 80]
E: Failed to fetch
...
我尝试使用代理访问链接,同样的错误,它们似乎坏了。
有没有其他选择,或者解决这个问题的方法,谢谢。
答案1
已ppa:jonathonf/ffmpeg4
被移除。
看https://launchpad.net/~jonathonf/+archive/ubuntu/ffmpeg-4
为了抗议大公司滥用开源项目,该 PPA 已被从公共访问中删除。有关更多详细信息,请访问此处的主页:https://launchpad.net/~jonathonf