Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing #689

Open
05k4rausdertonne opened this issue Dec 1, 2023 · 5 comments
Open

Error when installing #689

05k4rausdertonne opened this issue Dec 1, 2023 · 5 comments

Comments

@05k4rausdertonne
Copy link

I'm trying to install on a raspberry pi zero 2 w running raspbian bookworm and i get this error:

Package gpac 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 'gpac' has no installation candidate

i looked everywhere online but havent found a way to install gpac.
and yes i ran apt upgrade etc multiple times :D
i'm going to try to build it myself now but this shouldn't be the way to install imho.

I would be happy to hear if this is an issue for others aswell or if i missed something obvious.

regards ;)

@emjas92
Copy link

emjas92 commented Dec 1, 2023

I came across this recently too, and went down a rabbit hole trying to resolve it.
Basically the gpac packages have not yet been made available in Raspberry Pi Bookworm.

The only solution for now is to use Bullseye until Raspberry Pi foundation adds the packages.
I'll try find the reference for this.

Edit: it was after reading this forum post that I gave up trying to build gpac for Bookworm:
https://dietpi.com/forum/t/the-following-packages-have-been-kept-back-ffmpeg/17234/35

I like to use the latest version of OS/SW too, but I suggest you save yourself the headache and stick with Bullseye for now.

@mlambi
Copy link

mlambi commented Dec 5, 2023 via email

@Bra1nsen
Copy link

any updates here, same issue:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'php7.0-thrift' for regex 'php7.0'
Note, selecting 'php7.0-common' for regex 'php7.0'
Note, selecting 'php7.0-curl' for regex 'php7.0'
Package gpac 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 php7.0-cli
E: Couldn't find any package by glob 'php7.0-cli'
E: Couldn't find any package by regex 'php7.0-cli'
E: Unable to locate package libapache2-mod-php7.0
E: Couldn't find any package by glob 'libapache2-mod-php7.0'
E: Couldn't find any package by regex 'libapache2-mod-php7.0'
E: Package 'gpac' has no installation candidate

I come from:

https://www.remote.it/resources/10-minute-secure-webcam-with-raspberrypi-and-remote-it

Kind regards

@roberttidey
Copy link
Collaborator

First this is probably because you have a later version of php. If you have used bookworm for example php version 8.2 is installed by default. You can check by running php -v in the command window.

You can specify the php version when the install script runs.

The install script tries to figure out which php version to run but hasn't been updated for bookworm. I'll check that out.

@gaozihan4
Copy link

I've tried to rebuild from this
https://github.com/gpac/gpac/wiki/GPAC-Build-Guide-for-Linux

Also, remove the 'gpac' from shell command 'apt-get' in 'install.sh', which I believe actually caused this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants