silvanmelchior / RPi_Cam_Web_Interface

A web interface for the RPi Cam
MIT License
1.52k stars 489 forks source link

Error when installing #689

Open 05k4rausdertonne opened 7 months ago

05k4rausdertonne commented 7 months ago

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 commented 7 months ago

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 commented 6 months ago

I have read from several people that Bookworm is not ready for prime-time. Lot’s of problems to work out.

On Thu, Nov 30, 2023 at 9:13 PM James @.***> wrote:

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,

— Reply to this email directly, view it on GitHub https://github.com/silvanmelchior/RPi_Cam_Web_Interface/issues/689#issuecomment-1835311335, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJTLWW5FYJVYYLS7QB7B63YHE4LJAVCNFSM6AAAAABACCG32OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZVGMYTCMZTGU . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

Bra1nsen commented 4 months ago

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 commented 4 months ago

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 commented 3 months ago

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.

Magnethead794 commented 6 days ago

I am having this same issue. Apache is installed and running on port 80; Node-Red is installed and running on port 1880; PHP 8.2 is installed and running. But I still get "gpac has no installation candidate". I've ran updates and such.