2

I'm trying to install omxplayer on raspberry pi 4 (Debian Buster x64) but I'm having so much trouble and can't install it. First of all I tried:

apt update
apt install omxplayer

And had the following message:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package omxplayer 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 'omxplayer' has no installation candidate

Next I tried to build from the source (https://github.com/popcornmix/omxplayer) So I tried the following command to do it:

./prepare-native-raspbian.sh 

And it gave the the following error:

Modifying for native build on Debian
Checking dpkg database for missing packages
.................
You are missing required packages.
Run sudo apt-get update && sudo apt-get install  git-core libasound2-dev libva1 libidn11-dev libboost-dev libssl1.0-dev libssh-dev libsmbclient-dev

So I run the command that it told me too, but now I have another error:

Package libssl1.0-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: Unable to locate package libva1
E: Package 'libssl1.0-dev' has no installation candidate

Now I don't know what also I can do to install this program, it is realy usefull and I realy need it for an project. Does anyone knows what can I do? Thank you.

  • Can you install any packages at all? Looks like a configuration problem. Did you change anything in /etc ? – Dmitry Grigoryev Jul 29 at 23:04
  • @DmitryGrigoryev No I didn't changed anything on /etc and I can install other packages (installed guake right now) – Rafael Jul 29 at 23:10
2

Well I now installed the 32bit image on my raspberry pi 4 (Raspberry Pi Imager from official website) and the program is even pre-isntalled. I read in github that the omxplayer is not yet shipped to 64bit arquitecture that was the image I was using (Debian Buster x64)

| improve this answer | |
0

Make sure to run apt update with sudo: sudo apt update, and also to install all of your packages with sudo. If you haven't done it recently, also run sudo apt upgrade.

| improve this answer | |
  • ye I run eveyhing with sude and also did apt full-upgrade and still is not working – Rafael Jul 29 at 23:38
  • It seems to me like the apt repo containing omxplayer is not present on your OS. Does downloading from here work? You could also try installing it with snap – Syntactic Garbage Jul 30 at 6:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.