getting this lib missing libavformat.so.53, and probably more along the way.
tried apt-cache search, update, upgrade … what’s not.
any ideas where i can grab these libs ?
the following libs failed to install
E: Package ‘libjpeg62-dev’ has no installation candidate
E: Unable to locate package libavformat53
E: Unable to locate package libavcodec53
E: Unable to locate package libavutil51
I just installed OSMC and I am trying to get Hyperion running but am having similar issues and cannot find a solution (though others have referenced the same type of problem) to missing libraries in apt-get. Did you ever find a solution avnerg?
If anyone else can advise… is there a repo we need to add to sources.list?
osmc@osmc:~/Downloads$ sudo apt-get install top
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package top
osmc@osmc:~/Downloads$ sudo apt-get install htop
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package htop
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package locate 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 ‘locate’ has no installation candidate
osmc@osmc:~/Downloads$ sudo apt-get install busybox
Reading package lists… Done
Building dependency tree
Reading state information… Done
busybox is already the newest version.
busybox set to manually installed.
The following packages were automatically installed and are no longer required:
armv6l-libafpclient-osmc rbp1-image-3.18.13-1-osmc
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mcobit16m
Did you do a sudo apt-get update before?
Also is this on a pi 1, Pi 2 or on a vero?
I can’t believe I am about to answer that question as ‘Probably Not’ though I would have sworn…
Just did… update/upgrade and reboot and now the Hyperion dependencies are installing.
osmc@osmc:~$ sudo apt-get install git libqtcore4 libqtgui4 libqt4-network libusb-1.0-0 libprotobuf9 ca-certificates
Reading package lists… Done
Building dependency tree
Reading state information… Done
ca-certificates is already the newest version.
ca-certificates set to manually installed.
The following extra packages will be installed:
fontconfig git-man libaudio2 liberror-perl libgdbm3 libice6 libjpeg8 libmng1 libqt4-xml libqtdbus4 libsm6 libxext6 libxrender1 libxt6 perl
perl-modules qtcore4-l10n x11-common
Many thanks for the prompt mcobit!
I hope this helps someone else and its on a Pi1
If you installed a new system and did not update it before trying to install something with apt, it could be that the apt cache is not populated.
Also it is always a a good idea to update the database before installing stuff
unfortunately, regardless everything i tried, and i tried, nothing helped.
Sam suggested i refresh the system cache etc which i did, but it seems that these libs are missing from the cloud database this build is looking at…
i think i will have to remove OSMC in favour of my Security Cam software (Motion), not that i care to use any similar else… but i just can get it working.
any advise from the forum would be highly appreciated.
Try libavcodec56, libavformat56, libavutil54 and libjpeg-dev if you are on a pi2.
Edit: Debian jessie repositories might have different packages and versions than raspbian and as you want to build from source anyway as it seems you could try to use those newer packages.
Simulating (-s) the installation on Pi1 gives the following info
osmc@osmc:~$ sudo apt-get install libjpeg62-dev -s
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package libjpeg62-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 However the following packages replace it:
libjpeg9-dev libjpeg8-dev libjpeg62-turbo-dev
and simulating the installation of libavformat56 does a lot …
I have same problem. Pi1 B+. Instaled motion, then motion mmal for rasp pi cam.
It was worked on older version, but with update/upgrade it does not. Motion is an old software. Not updated. So there are no libraries libavcodec.so.53 but libavcodec.so.56 and no libavutil.so51 but 54 and nod libavformat.so.53 but …56.
So question: is there an option to get somwhere from internet those files?
You could try to symlink the libraries to their old finames. If you are lucky it will work. If not, it will throw a lot of errors during compilation. But at least you tried. If you get libs from the internet, be sure that they use the same architecture. It might be best to get them from the raspbian repos if they contain them.
I did that, but did not work. that is reason asking where to find them. I solved it with installation of older version raspbian and hope to stay that way.