#Error during install

34 messages · Page 1 of 1 (latest)

tender harbor
#

Trying to get a webcam on my printer and ran into an error when I tried to manually install Crowsnest on my x86_64 and was following the instructions on https://docs.mainsail.xyz/crowsnest/setup/installation/

The output from command is:

kinni@KBC:~/crowsnest$ sudo make install
crowsnest - A webcam daemon for multiple cams and stream services.

    Ahoy!
    Thank you for installing crowsnest 😉
    This will take a while ...
    Please reboot after the installation has finished.

Running apt-get update first ...
Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://security.debian.org/debian-security trixie-security InRelease
Hit:3 http://deb.debian.org/debian trixie-updates InRelease
Reading package lists...
Running apt-get update first ... [OK]
Checking for mjpg-streamer ...

Checking for mjpg-streamer ... [OK]
Installing dependencies ...

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
curl is already the newest version (8.14.1-2+deb13u2).
crudini is already the newest version (0.9.6-1).
python3 is already the newest version (3.13.5-1).
python3-venv is already the newest version (3.13.5-1).
The following package was automatically installed and is no longer required:
linux-image-6.12.73+deb13-amd64
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Install dependencies ... [OK]
Reading configuration ...
No user configuration file found ...
Using default configuration ... [OK]
Creating file structure ...
Directory /home/kinni/printer_data/config already exists ...
Directory /home/kinni/printer_data/logs already exists ...
Directory /home/kinni/printer_data/systemd already exists ...
Creating file structure ... [OK]
Install service file ... [OK]
Install environment file ... [OK]
Install crowsnest.conf ... [OK]
Enable crowsnest.service ... [OK]
Add User kinni to group 'video' ... [SKIPPED]
==> User kinni is already in group 'video'
Setup python venv ...
Setup Mainsail apt repository ...
/home/kinni/crowsnest/tools/libs/manage_apps.sh: line 110: gpg: command not found
Install streamer apps ...
Running apt-get update again ...
Hit:1 http://security.debian.org/debian-security trixie-security InRelease
Hit:2 http://deb.debian.org/debian trixie InRelease
Hit:3 http://deb.debian.org/debian trixie-updates InRelease
Get:4 https://apt.mainsail.xyz/debian trixie InRelease [12.9 kB]
Err:4 https://apt.mainsail.xyz/debian trixie InRelease
Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 3925CDB9295670D6C86CDAC976BC9EBDCD4DC6CD, which is needed to verify signature.
Reading package lists...
W: OpenPGP signature verification failed: https://apt.mainsail.xyz/debian trixie InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 3925CDB9295670D6C86CDAC976BC9EBDCD4DC6CD, which is needed to verify signature.
E: The repository 'https://apt.mainsail.xyz/debian trixie InRelease' is not signed.
Running apt-get update again ... [FAILED]
Something went wrong!
Please copy the latest output, head over to

    https://discord.gg/mainsail

and open a ticket in #supportforum...
make: *** [Makefile:19: install] Error 1

ivory jewelBOT
#

Ahoi @tender harbor!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/getting-help/#provide-as-much-information-as-possible
Note: We only accept .log and .txt files as log files.
This is an automated message

tender harbor
#

here is the cmd output in a text file.

It is as detailed as I can make it, I ran the make install command and it gave me an error right away

abstract arch
#

It's enough, thank you.
The error is kinda interesting, as I didn't know that this is possible on Debian:

/home/kinni/crowsnest/tools/libs/manage_apps.sh: line 110: gpg: command not found

#

Can you give me the output of these commands:

which gpg
which gpgv
abstract arch
#

@round heart

And that info i can't seem to get
What do you mean by that? Just execute these commands in ssh.

round heart
#

/usr/bin/gpg and /usr/bin/gpgv for the both of them

abstract arch
#

Then you most likely got a different error...

#

Can you send the whole install output?

round heart
abstract arch
#

I would need the one of the first install 🙈
But I guess you don't have it anymore....
To get back to the state before the first installation, run this:

sudo rm -rf /etc/apt/sources.list.d/mainsail.sources /usr/share/keyrings/mainsail.gpg
```Then run the install again and get me the output
round heart
#

Yeah that’s long gone. I can’t even remove crowsnest from the kiauh menus so I’m just stuck with an “incomplete” install the whole time. But I’ll run that and get back to you

abstract arch
#

Just ignore the kiauh status. It's a bug and I need time to fix that in kiauh. It's completely unrelated

#

And just that you know, in theory kiauh is not even an officially supported tool for the Crowsnest installation/uninstallation 😜
But I know that a lot of people use it and the maintainer is part of the crew, so I will try my best to fix the kiauh stuff

round heart
abstract arch
#

So it was most likely a GitHub issue and the key wasn't downloaded, resulting in the missing key

abstract arch
round heart
round heart
tender harbor
tender harbor
#

did gpg --version and got not found, going to start it fresh and see how it goes

abstract arch
#

Not even gpgv? I'm kinda confused, as it should be a dependency of apt afaik

#

You can install gpg by running sudo apt install gnupg

#

Then the installer should work

#

But I'm really confused, as it's such a basic tool

abstract arch
#

What image are you actually using? Send me a link

tender harbor
#

I set it up without a desktop enviorment on a miniPC similar to a thin client

abstract arch
#

Thank you. I'm gonna check it out.
Did you install gnupg or just gpg?

tender harbor
#

gnupg2

abstract arch