apt install jq
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libjq1
The following NEW packages will be installed:
jq libjq1
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 194 kB of archives.
After this operation, 466 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libjq1 armhf 1.6-2.1
Connection failed [IP: 93.93.128.193 80]
Err:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf jq armhf 1.6-2.1
Connection failed [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/j/jq/libjq1_1.6-2.1_armhf.deb Connection failed [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/j/jq/jq_1.6-2.1_armhf.deb Connection failed [IP: 93.93.128.193 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Problem updating the latest pihole, requires jq
stuck on:
0% [Waiting for headers]
same error with apt update
Looks like you have issues to connect to Raspian repository. Could you try to download
cd /tmp
wget http://raspbian.raspberrypi.org/raspbian/pool/main/j/jq/libjq1_1.6-2.1_armhf.deb
Stuck on waiting for response:
cd /tmp
wget http://raspbian.raspberrypi.org/raspbian/pool/main/j/jq/libjq1_1.6-2.1_armhf.deb
--2022-09-03 11:18:58-- http://raspbian.raspberrypi.org/raspbian/pool/main/j/jq/libjq1_1.6-2.1_armhf.deb
Resolving raspbian.raspberrypi.org (raspbian.raspberrypi.org)... 93.93.128.193, 2a00:1098:0:80:1000:75:0:3
Connecting to raspbian.raspberrypi.org (raspbian.raspberrypi.org)|93.93.128.193|:80... connected.
HTTP request sent, awaiting response...
How does it looks if you try to download on a different computer?
On windows I put in the url:
http://raspbian.raspberrypi.org/raspbian/pool/main/j/jq/libjq1_1.6-2.1_armhf.deb
it downloads fine
cat /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free
deb http://mirrors.ocf.berkeley.edu/raspbian/raspbian bullseye main contrib non-free
deb http://mirror.umd.edu/raspbian/raspbian bullseye main contrib non-free
sudo apt-get update
Hit:1 https://archive.raspberrypi.org/debian bullseye InRelease
Err:2 http://mirrors.ocf.berkeley.edu/raspbian/raspbian bullseye InRelease
Connection failed [IP: 169.229.200.70 80]
Err:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Connection failed [IP: 93.93.128.193 80]
Err:4 http://mirror.umd.edu/raspbian/raspbian bullseye InRelease
Connection failed [IP: 128.8.207.141 80]
Reading package lists... Done
W: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/bullseye/InRelease Connection failed [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrors.ocf.berkeley.edu/raspbian/raspbian/dists/bullseye/InRelease Connection failed [IP: 169.229.200.70 80]
W: Failed to fetch http://mirror.umd.edu/raspbian/raspbian/dists/bullseye/InRelease Connection failed [IP: 128.8.207.141 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
stuck on:
0% [Waiting for headers]
after reboot htop shows apt-get -y update stuck at 98% CPU and stays there.
then after that quits, apt -qq list --upgradeable stuck 98% CPU for a while
I think the latest update messed something up
fixed using:
sudo apt-get update --fix-missing
And when I did apt install jq
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libjq1
The following NEW packages will be installed:
jq libjq1
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 194 kB of archives.
After this operation, 466 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf libjq1 armhf 1.6-2.1 [129 kB]
Get:2 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf jq armhf 1.6-2.1 [64.6 kB]
Fetched 194 kB in 1s (175 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libjq1:armhf.
(Reading database ... 27473 files and directories currently installed.)
Preparing to unpack .../libjq1_1.6-2.1_armhf.deb ...
Unpacking libjq1:armhf (1.6-2.1) ...
Selecting previously unselected package jq.
Preparing to unpack .../archives/jq_1.6-2.1_armhf.deb ...
Unpacking jq (1.6-2.1) ...
Setting up libjq1:armhf (1.6-2.1) ...
Setting up jq (1.6-2.1) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u3) ...
it used mirrors.syringanetworks.net which isn’t even in my sources list?
Maybe there was an issue with the mirror you was using before. Assigning a mirror is done by the global RPi apt package server. Next t sure how they do it. But something out of our control. Usually you should be able to remove the 2 mirror from your source list if not added with any purpose.
The fact that it was having trouble on all 3 sources is definitely strange 