sudo apt update and upgrade went fine with about 8 updates.
Pi-hole install fails with
E: Unable to locate package idn2
E: Package 'jq' has no installation candidate
E: Package 'lighttpd' has no installation candidate
E: Package 'php-common' has no installation candidate
E: Package 'php-cgi' has no installation candidate
E: Package 'php-sqlite3' has no installation candidate
E: Package 'php-xml' has no installation candidate
E: Package 'php-intl' has no installation candidate
E: Package 'php-json' has no installation candidate
I'm using all the default settings for pi-hole installer.
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
uname -a Linux pihole 5.15.61-v7+ #1579 SMP Fri Aug 26 11:10:59 BST 2022 armv7l GNU/Linux
cat /etc/apt/sources.list.d/raspi.list
deb http://archive.raspberrypi.org/debian/ bullseye main
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb-src http://archive.raspberrypi.org/debian/ bullseye main
sudo apt update
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
I uncommented the last line in both of these:
sources.list:
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
sources.list.d/raspi.list:
deb http://archive.raspberrypi.org/debian/ bullseye main
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb-src http://archive.raspberrypi.org/debian/ bullseye main
sudo apt install jq
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package jq 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 'jq' has no installation candidate
sudo apt install idn2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package idn2