RPi_Cam_Web_Interface icon indicating copy to clipboard operation
RPi_Cam_Web_Interface copied to clipboard

Error when installing

Open 05k4rausdertonne opened this issue 1 year ago • 12 comments

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 ;)

05k4rausdertonne avatar Dec 01 '23 01:12 05k4rausdertonne

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.

emjas92 avatar Dec 01 '23 02:12 emjas92

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>

mlambi avatar Dec 05 '23 00:12 mlambi

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

Bra1nsen avatar Feb 17 '24 15:02 Bra1nsen

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.

roberttidey avatar Feb 17 '24 16:02 roberttidey

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.

gaozihan4 avatar Mar 04 '24 07:03 gaozihan4

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.

Magnethead794 avatar Jun 25 '24 00:06 Magnethead794

When will this issue be solved? Whole RPi Webcam isnt usable, which is sad.

Bra1nsen avatar Aug 11 '24 13:08 Bra1nsen

just use legacy OS (RPi OS "Bullseye" i think). thats how i got it running. i don't know if this is gonna be fixed soon. we shouldn't be so demanding of open source devs. most of them do this in their free time after all.

05k4rausdertonne avatar Aug 11 '24 14:08 05k4rausdertonne

just use legacy OS (RPi OS "Bullseye" i think). thats how i got it running. i don't know if this is gonna be fixed soon. we shouldn't be so demanding of open source devs. most of them do this in their free time after all.

You're so right

ebretteville avatar Aug 11 '24 14:08 ebretteville

I'm not making any demands; I'm simply outlining the current situation. What adjustments are necessary to ensure compatibility with the latest Raspberry Pi OS (Bookworm)?

Bra1nsen avatar Aug 11 '24 14:08 Bra1nsen

https://github.com/silvanmelchior/RPi_Cam_Web_Interface/issues/688

ebretteville avatar Aug 11 '24 15:08 ebretteville