Jump to content

PiHole install errors with Armbian kit from AmeriDroid


legardner93

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines