Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PiHole install errors with Armbian kit from AmeriDroid

Featured Replies

Hey everyone...I've tried searching the problem I'm having and have tried different things...all so far to no avail.

 

I'm relatively new to learning about pihole and decided to go out and buy the kit from ameriDroid (maybe should have built my own but decided to go this route to try and save myself some time). I received the kit today and started following the install instructions (I am attempting to install via SSH thru Putty). Once I reached the install command, I get an error stating: "Error: Unable to update package cache. Please try "apt-get update".

I've tried the apt update/upgrade and I'm still getting the same error.

 

The output from the apt-get update command is the following: 

root@rock64:/home/pihole# sudo apt update

Hit:2 http://ports.ubuntu.com focal InRelease

Hit:3 http://ports.ubuntu.com focal-security InRelease

Ign:1 https://armbian.tnahosting.net/apt focal InRelease

Hit:4 http://ports.ubuntu.com focal-updates InRelease

Hit:6 http://ports.ubuntu.com focal-backports InRelease

Err:5 https://armbian.tnahosting.net/apt focal Release

Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 130.185.239.75 443]

Reading package lists... Done

W: http://apt.armbian.com/dists/focal/InRelease: No system certificates available. Try installing ca-certificates.

W: http://apt.armbian.com/dists/focal/Release: No system certificates available. Try installing ca-certificates.

E: The repository 'http://apt.armbian.com focal Release' does not have a Release file.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.

N: See apt-secure(8) manpage for repository creation and user configuration details.

 

I've tried running sudo apt-get install ca-certificates but they already appear to be installed.

Any help will be greatly appreciated.

2 hours ago, legardner93 said:

Any help will be greatly appreciated.


Just retry - from here everything looks ok:

 

Spoiler
bananapim2ultra:~:# apt update                               
Hit:1 http://ports.ubuntu.com hirsute InRelease
Hit:2 http://ports.ubuntu.com hirsute-security InRelease
Hit:4 http://ports.ubuntu.com hirsute-updates InRelease
Hit:5 http://ports.ubuntu.com hirsute-backports InRelease
Get:3 https://imola.armbian.com/apt hirsute InRelease [18.5 kB]
Get:6 https://imola.armbian.com/apt hirsute/main armhf Packages [207 kB]
Get:7 https://imola.armbian.com/apt hirsute/hirsute-utils armhf Packages [265 kB]
Get:8 https://imola.armbian.com/apt hirsute/hirsute-desktop armhf Packages [12.4 kB]
Fetched 503 kB in 4s (134 kB/s)                             
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
bananapim2ultra:~:# apt update
Hit:1 http://ports.ubuntu.com hirsute InRelease
Hit:2 http://ports.ubuntu.com hirsute-security InRelease
Hit:4 http://ports.ubuntu.com hirsute-updates InRelease
Hit:5 http://ports.ubuntu.com hirsute-backports InRelease
Get:3 https://mirrors.dotsrc.org/armbian-apt hirsute InRelease [18.5 kB]
Fetched 18.5 kB in 3s (5,465 B/s)                     
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
bananapim2ultra:~:# apt update
Hit:1 http://ports.ubuntu.com hirsute InRelease
Hit:2 http://ports.ubuntu.com hirsute-security InRelease
Hit:4 http://ports.ubuntu.com hirsute-updates InRelease
Hit:5 http://ports.ubuntu.com hirsute-backports InRelease
Get:3 https://armbian.hosthatch.com/apt hirsute InRelease [18.5 kB]
Fetched 18.5 kB in 3s (5,480 B/s)                    
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
bananapim2ultra:~:# apt update
Hit:1 http://ports.ubuntu.com hirsute InRelease
Hit:2 http://ports.ubuntu.com hirsute-security InRelease
Hit:4 http://ports.ubuntu.com hirsute-updates InRelease
Hit:5 http://ports.ubuntu.com hirsute-backports InRelease
Hit:3 https://mirrors.netix.net/armbian/apt hirsute InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
bananapim2ultra:~:# apt update
Hit:1 http://ports.ubuntu.com hirsute InRelease
Hit:2 http://ports.ubuntu.com hirsute-security InRelease
Hit:4 http://ports.ubuntu.com hirsute-updates InRelease
Hit:5 http://ports.ubuntu.com hirsute-backports InRelease
Get:3 https://mirrors.dotsrc.org/armbian-apt hirsute InRelease [18.5 kB]
Fetched 18.5 kB in 3s (5,442 B/s)                     
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
bananapim2ultra:~:#

 


Another possible source of problem is that your system date and time is not set / set wrong.

3 hours ago, sarangpaul9 said:

Damm even I am having a similar kind of issue, I have searched all over the internet and even have posted on number of threads on different forum, no solution seems to work. I am really frustrated, can anyone of you here help me resolve this issue, I am very much tired now.
 

 

Can you share error messages please.

On 7/2/2021 at 6:24 AM, legardner93 said:

 

Err:5 https://armbian.tnahosting.net/apt focal Release

Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 130.185.239.75 443]

Reading package lists... Done

W: http://apt.armbian.com/dists/focal/InRelease: No system certificates available. Try installing ca-certificates.

W: http://apt.armbian.com/dists/focal/Release: No system certificates available. Try installing ca-certificates.

 

in my browser the https-certificate or "https://armbian.tnahosting.net/apt" is OK

 

Did you check time/date on your system and did you try (as suggested) "apt install ca-certificates" ?

 

If you got "armbian-config -> personal settigs -> mirrors" in your armbian-like distro then try to change the source/apt servers to EU and not automatic and try to reload the apt cache.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.