Problems during the installation - try "sudo apt-get update"

Please follow the below template, it will help us to help you!

If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.

Expected Behaviour:

I have a raspberry pi 1 with a samba server, squeezebox server

OS:
Linux raspberrypi 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Actual Behaviour:

During the installation process I get the output after the Pi-Hole-Picture

[✗] Update local cache of available packages
Error: Unable to update package cache. Please try "sudo apt-get update"

I have already checked solution from:

and different installation alternatives
https://docs.pi-hole.net/main/basic-install/

Debug Token:

-no output

How old is your OS if you are running kernel 3.18.11? It is likely no longer supported.

EDIT: Based on the kernel and the date of April 2015, I'm guessing it is Jessie. Jessie left LTS on 30th June 2020. The following release Stretch used kernel 4.9.

Hi NGr,
thanks for the advice. Now it is running on Kernel 5.15 and it is still the same problem. Do you have another idea?
Mike

What is the error you get when you run sudo apt-get update && sudo apt-get full-upgrade?

1 Like

Hi NGr

here the error message:

Ign http://mirrordirector.raspbian.org wheezy Release.gpg
OK http://archive.raspberrypi.org wheezy Release.gpg
OK http://archive.raspberrypi.org wheezy Release
Ign http://mirrordirector.raspbian.org wheezy Release
Fehl http://raspberrypi.collabora.com wheezy Release.gpg
Beim Auflösen von »raspberrypi.collabora.com:http« ist etwas Schlimmes passiert (-5 - Zu diesem Hostnamen gehört keine Adresse).
Ign http://raspberrypi.collabora.com wheezy Release
OK http://archive.raspberrypi.org wheezy/main armhf Packages
Fehl http://raspberrypi.collabora.com wheezy/rpi armhf Packages
Beim Auflösen von »raspberrypi.collabora.com:http« ist etwas Schlimmes passiert (-5 - Zu diesem Hostnamen gehört keine Adresse).
Fehl http://raspberrypi.collabora.com wheezy/rpi Translation-de_DE
Beim Auflösen von »raspberrypi.collabora.com:http« ist etwas Schlimmes passiert (-5 - Zu diesem Hostnamen gehört keine Adresse).
Fehl http://raspberrypi.collabora.com wheezy/rpi Translation-de
Beim Auflösen von »raspberrypi.collabora.com:http« ist etwas Schlimmes passiert (-5 - Zu diesem Hostnamen gehört keine Adresse).
Fehl http://raspberrypi.collabora.com wheezy/rpi Translation-en
Beim Auflösen von »raspberrypi.collabora.com:http« ist etwas Schlimmes passiert (-5 - Zu diesem Hostnamen gehört keine Adresse).
Ign http://archive.raspberrypi.org wheezy/main Translation-de_DE
Ign http://archive.raspberrypi.org wheezy/main Translation-de
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Fehl http://mirrordirector.raspbian.org wheezy/main armhf Packages
404 Not Found
Fehl http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
404 Not Found
Fehl http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
404 Not Found
Fehl http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
404 Not Found
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-de_DE
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-de
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-de_DE
Ign http://mirrordirector.raspbian.org wheezy/main Translation-de
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-de_DE
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-de
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-de_DE
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-de
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
W: Fehlschlag beim Holen von http://raspberrypi.collabora.com/dists/wheezy/Release.gpg Beim Auflösen von »raspberrypi.collabora.com:http« ist etwas Schlimmes passiert (-5 - Zu diesem Hostnamen gehört keine Adresse).

W: Fehlschlag beim Holen von http://mirrordirector.raspbian.org/raspbian/dists/wheezy/main/binary-armhf/Packages 404 Not Found

W: Fehlschlag beim Holen von http://mirrordirector.raspbian.org/raspbian/dists/wheezy/contrib/binary-armhf/Packages 404 Not Found

W: Fehlschlag beim Holen von http://mirrordirector.raspbian.org/raspbian/dists/wheezy/non-free/binary-armhf/Packages 404 Not Found

W: Fehlschlag beim Holen von http://mirrordirector.raspbian.org/raspbian/dists/wheezy/rpi/binary-armhf/Packages 404 Not Found

W: Fehlschlag beim Holen von http://raspberrypi.collabora.com/dists/wheezy/rpi/binary-armhf/Packages Beim Auflösen von »raspberrypi.collabora.com:http« ist etwas Schlimmes passiert (-5 - Zu diesem Hostnamen gehört keine Adresse).

W: Fehlschlag beim Holen von http://raspberrypi.collabora.com/dists/wheezy/rpi/i18n/Translation-de_DE Beim Auflösen von »raspberrypi.collabora.com:http« ist etwas Schlimmes passiert (-5 - Zu diesem Hostnamen gehört keine Adresse).

W: Fehlschlag beim Holen von http://raspberrypi.collabora.com/dists/wheezy/rpi/i18n/Translation-de Beim Auflösen von »raspberrypi.collabora.com:http« ist etwas Schlimmes passiert (-5 - Zu diesem Hostnamen gehört keine Adresse).

W: Fehlschlag beim Holen von http://raspberrypi.collabora.com/dists/wheezy/rpi/i18n/Translation-en Beim Auflösen von »raspberrypi.collabora.com:http« ist etwas Schlimmes passiert (-5 - Zu diesem Hostnamen gehört keine Adresse).

E: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt.

I hope it helps
Greetings
Mike

Wheezy is End of Life since 2018. You should start from scratch with an current OS.
https://www.debian.org/News/2018/20180601.en.html

2 Likes

And not supported by Pi-hole.

Okay thanks for your help. I am trying to start again.

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