T-6
September 10, 2022, 2:34pm
1
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.
printf " %b PHP version : %s\\n" "${INFO}" "${phpVer}"
printf " %b Aborting installation.\\n" "${CROSS}"
exit 1
fi
fi
# Packages required to perform the os_check (stored as an array)
OS_CHECK_DEPS=(grep dnsutils)
# Packages required to run this install script (stored as an array)
INSTALLER_DEPS=(git iproute2 dialog ca-certificates)
# Packages required to run Pi-hole (stored as an array)
PIHOLE_DEPS=(cron curl iputils-ping psmisc sudo unzip idn2 libcap2-bin dns-root-data libcap2 netcat-openbsd procps jq)
# Packages required for the Web admin interface (stored as an array)
# It's useful to separate this from Pi-hole, since the two repos are also setup separately
PIHOLE_WEB_DEPS=(lighttpd "${phpVer}-common" "${phpVer}-cgi" "${phpVer}-sqlite3" "${phpVer}-xml" "${phpVer}-intl")
# Prior to PHP8.0, JSON functionality is provided as dedicated module, required by Pi-hole AdminLTE: https://www.php.net/manual/json.installation.php
if [[ -z "${phpInsMajor}" || "${phpInsMajor}" -lt 8 ]]; then
PIHOLE_WEB_DEPS+=("${phpVer}-json")
fi
# The Web server user,
LIGHTTPD_USER="www-data"
# group,
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
jfb
Split this topic
September 14, 2022, 4:55pm
4
3 posts were split to a new topic: JQ error with Bullseye
T-6
September 12, 2022, 3:49pm
8
Bucking_Horn:
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
?
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?
T-6
September 13, 2022, 12:49pm
11
Yes. I had jq installed before my first post in this thread.
system
Closed
October 6, 2022, 3:55pm
14
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.