/opt/pihole/updatecheck.sh: line 47: jq: command not found

Core: v5.12
Web: v5.14.2
FTL: v5.17

Since latest upgrade I receive mails with the content:

/opt/pihole/updatecheck.sh: line 47: jq: command not found
/opt/pihole/updatecheck.sh: line 51: jq: command not found
/opt/pihole/updatecheck.sh: line 55: jq: command not found

jq was not installed. Should it be a dependency of pihole?

Buster on armv7 (bananapi)

It is since the last version. Should have been installed during the upgrade.

Try to install it manually

We had a similar report from aonother user running a Buster OS variety, see Pihole Für Paket »jq« existiert kein Installationskandidat.

Are you perhaps also missing the jq package, despite a corresponding package for Buster being indeed available?

To help to better understand the issue, could you run the following commands before you try re-installing jq?

apt-cache policy jq
cat /etc/apt/sources.list

Also, please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:

pihole -d

or do it through the Web interface:

Tools > Generate Debug Log

3 posts were split to a new topic: JQ error with Bullseye

A post was merged into an existing topic: Pihole Für Paket »jq« existiert kein Installationskandidat

Had no issue to install "jq" from CLI .

17:45:24 root@pi-hole:~# apt-cache policy jq
jq:
  Installed: 1.6-2.1
  Candidate: 1.6-2.1
  Version table:
 *** 1.6-2.1 500
        500 http://deb.debian.org/debian bullseye/main armhf Packages
        100 /var/lib/dpkg/status
17:45:35 root@pi-hole:~# 

It just did not install as a dependency.

A post was merged into an existing topic: JQ error with Bullseye

Those lines would indicate that jq was succesfully installed.
I assume that you ran that command command after the manual installation?

Yes. I had jq installed before my first post in this thread.

2 posts were merged into an existing topic: Pihole Für Paket »jq« existiert kein Installationskandidat

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.