Install-OpenCV
Install-OpenCV copied to clipboard
Unable to locate package libjasper-dev
--- Installing dependency: libjasper-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libjasper-dev
any idea?
exact same problem here.
I had the same issue, the following seemed to have fix it:
sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main"
sudo apt update
sudo apt install libjasper1 libjasper-dev
I had the same issue, the following seemed to have fix it:
sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main" sudo apt update sudo apt install libjasper1 libjasper-dev
Still doesn't work for me. I have the same problem here.
So this is LibJasPer:
https://ece.engr.uvic.ca/~frodo/jasper/
I'm building it without that package installed all the way up to Ubuntu 20.10 without any problems. It's a JPEG2000 reference implementation skimming over that. I don't think you need to bother unless you're working in the niche applications it's used in for maybe its lossless qualities (Medical imaging and sattelite remote sensing are actually examples in what I read it's used for which makes sense for opencv) - Or in case it starts getting widely adopted.
Feel free to add this to cmake:
cmake -D WITH_JASPER=OFF
I had the same issue, the following seemed to have fix it:
sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main" sudo apt update sudo apt install libjasper1 libjasper-dev
Still doesn't work for me. I have the same problem here.
$ sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main"
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
$ sudo apt update
$ sudo apt install libjasper1 libjasper-dev
It's work for me.
Ubuntu22.04 LTS
It's work for me.
somehow it still doesnt for me... still unable to locate packages libjasper-dev and libjasper1
doesn't work for me
doesn't work for me It may be that the Ubuntu version doesn't match. He is providing software sources for Ubuntu 16.04.
Trying to install Kodi from source on Debian 12, same problem... sudo gdebi kodi-15-build-deps_1.0_all.deb Reading package lists... Done Building dependency tree... Done Reading state information... Done Reading state information... Done This package is uninstallable Dependency is not satisfiable: libjasper-dev
sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main" sudo apt update sudo apt install libjasper1 libjasper-dev
This finally worked with me!
I had the same issue, the following seemed to have fix it:
sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main" sudo apt update sudo apt install libjasper1 libjasper-dev
Not work for me because of the added repo's 404 NotFound Error, logs are as follows:
~/Desktop/OpenCV_related$ sudo apt update
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [106 kB]
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:1 https://repo.download.nvidia.cn/jetson/common r35.3 InRelease
Hit:4 https://repo.download.nvidia.cn/jetson/t234 r35.3 InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:6 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:7 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Get:9 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [211 kB]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/main arm64 DEP-11 Metadata [88.1 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 48x48 Icons [27.5 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [116 kB]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64@2 Icons [29 B]
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Err:8 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
404 Not Found [IP: 2620:2d:4002:1::102 80]
Fetched 106 kB in 4s (26.2 kB/s)
Reading package lists... Done
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages 404 Not Found [IP: 2620:2d:4002:1::102 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
This helped but you have to find and convert the keys and libjasper1 doesn't exist on Debian 12 Thanks to both users that helped