1 1
canabino

Error with repository https://apt.armbian.com

Recommended Posts

(edited)

I did a new install of Armbian 5.88 Debian Stretch 

I then ran

apt update

I got the following error:

 

Err:8 https://apt.armbian.com stretch Release
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Reading package lists... Done
E: The repository 'https://apt.armbian.com stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

 

I then ran 

apt-get install --reinstall ca-certificates

but still get the same error.

 

Edited by canabino

Share this post


Link to post
Share on other sites

I don't understand because it is comunicating with the debian servers correctly.

It just fails at Armbian's 

This is a new install

root@rockpi:~# apt-get update
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
Hit:5 http://cdn-fastly.deb.debian.org/debian stretch Release
Ign:7 https://apt.armbian.com stretch InRelease
Err:8 https://apt.armbian.com stretch Release
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Reading package lists... Done
E: The repository 'https://apt.armbian.com stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.


 

Share this post


Link to post
Share on other sites

Now I get this.

Spoiler

root@rockpi:~# apt-get update
Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Get:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Ign:6 https://apt.armbian.com stretch InRelease
Get:7 http://security.debian.org stretch/updates/main arm64 Packages [479 kB]
Get:4 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease [91.8 kB]
Hit:5 http://cdn-fastly.deb.debian.org/debian stretch Release
Ign:9 https://apt.armbian.com stretch Release
Get:10 http://security.debian.org stretch/updates/main armhf Packages [484 kB]
Ign:11 https://apt.armbian.com stretch/main arm64 Packages
Ign:12 https://apt.armbian.com stretch/main armhf Packages
Ign:13 https://apt.armbian.com stretch/main all Packages
Ign:14 https://apt.armbian.com stretch/main arm64 Contents (deb)
Ign:15 https://apt.armbian.com stretch/main all Contents (deb)
Ign:16 https://apt.armbian.com stretch/main armhf Contents (deb)
Ign:17 https://apt.armbian.com stretch arm64 Contents (deb)
Ign:18 https://apt.armbian.com stretch all Contents (deb)
Ign:19 https://apt.armbian.com stretch armhf Contents (deb)
Ign:20 https://apt.armbian.com stretch/stretch-utils all Packages
Ign:21 https://apt.armbian.com stretch/stretch-utils armhf Packages
Ign:22 https://apt.armbian.com stretch/stretch-utils arm64 Packages
Ign:23 https://apt.armbian.com stretch/stretch-utils armhf Contents (deb)
Ign:24 https://apt.armbian.com stretch/stretch-utils arm64 Contents (deb)
Ign:25 https://apt.armbian.com stretch/stretch-utils all Contents (deb)
Ign:26 https://apt.armbian.com stretch/stretch-desktop armhf Packages
Ign:27 https://apt.armbian.com stretch/stretch-desktop arm64 Packages
Ign:28 https://apt.armbian.com stretch/stretch-desktop all Packages
Ign:29 https://apt.armbian.com stretch/stretch-desktop all Contents (deb)
Ign:30 https://apt.armbian.com stretch/stretch-desktop armhf Contents (deb)
Ign:31 https://apt.armbian.com stretch/stretch-desktop arm64 Contents (deb)
Ign:11 https://apt.armbian.com stretch/main arm64 Packages
Ign:12 https://apt.armbian.com stretch/main armhf Packages
Ign:13 https://apt.armbian.com stretch/main all Packages
Ign:14 https://apt.armbian.com stretch/main arm64 Contents (deb)
Ign:15 https://apt.armbian.com stretch/main all Contents (deb)
Ign:16 https://apt.armbian.com stretch/main armhf Contents (deb)
Ign:17 https://apt.armbian.com stretch arm64 Contents (deb)
Ign:18 https://apt.armbian.com stretch all Contents (deb)
Ign:19 https://apt.armbian.com stretch armhf Contents (deb)
Ign:20 https://apt.armbian.com stretch/stretch-utils all Packages
Ign:21 https://apt.armbian.com stretch/stretch-utils armhf Packages
Ign:22 https://apt.armbian.com stretch/stretch-utils arm64 Packages
Ign:23 https://apt.armbian.com stretch/stretch-utils armhf Contents (deb)
Ign:24 https://apt.armbian.com stretch/stretch-utils arm64 Contents (deb)
Ign:25 https://apt.armbian.com stretch/stretch-utils all Contents (deb)
Ign:26 https://apt.armbian.com stretch/stretch-desktop armhf Packages
Ign:27 https://apt.armbian.com stretch/stretch-desktop arm64 Packages
Ign:28 https://apt.armbian.com stretch/stretch-desktop all Packages
Ign:29 https://apt.armbian.com stretch/stretch-desktop all Contents (deb)
Ign:30 https://apt.armbian.com stretch/stretch-desktop armhf Contents (deb)
Ign:31 https://apt.armbian.com stretch/stretch-desktop arm64 Contents (deb)
Ign:11 https://apt.armbian.com stretch/main arm64 Packages
Ign:12 https://apt.armbian.com stretch/main armhf Packages
Ign:13 https://apt.armbian.com stretch/main all Packages
Ign:14 https://apt.armbian.com stretch/main arm64 Contents (deb)
Ign:15 https://apt.armbian.com stretch/main all Contents (deb)
Ign:16 https://apt.armbian.com stretch/main armhf Contents (deb)
Ign:17 https://apt.armbian.com stretch arm64 Contents (deb)
Ign:18 https://apt.armbian.com stretch all Contents (deb)
Ign:19 https://apt.armbian.com stretch armhf Contents (deb)
Ign:20 https://apt.armbian.com stretch/stretch-utils all Packages
Ign:21 https://apt.armbian.com stretch/stretch-utils armhf Packages
Ign:22 https://apt.armbian.com stretch/stretch-utils arm64 Packages
Ign:23 https://apt.armbian.com stretch/stretch-utils armhf Contents (deb)
Ign:24 https://apt.armbian.com stretch/stretch-utils arm64 Contents (deb)
Ign:25 https://apt.armbian.com stretch/stretch-utils all Contents (deb)
Ign:26 https://apt.armbian.com stretch/stretch-desktop armhf Packages
Ign:27 https://apt.armbian.com stretch/stretch-desktop arm64 Packages
Ign:28 https://apt.armbian.com stretch/stretch-desktop all Packages
Ign:29 https://apt.armbian.com stretch/stretch-desktop all Contents (deb)
Ign:30 https://apt.armbian.com stretch/stretch-desktop armhf Contents (deb)
Ign:31 https://apt.armbian.com stretch/stretch-desktop arm64 Contents (deb)
Ign:11 https://apt.armbian.com stretch/main arm64 Packages
Ign:12 https://apt.armbian.com stretch/main armhf Packages
Ign:13 https://apt.armbian.com stretch/main all Packages
Ign:14 https://apt.armbian.com stretch/main arm64 Contents (deb)
Ign:15 https://apt.armbian.com stretch/main all Contents (deb)
Ign:16 https://apt.armbian.com stretch/main armhf Contents (deb)
Ign:17 https://apt.armbian.com stretch arm64 Contents (deb)
Ign:18 https://apt.armbian.com stretch all Contents (deb)
Ign:19 https://apt.armbian.com stretch armhf Contents (deb)
Ign:20 https://apt.armbian.com stretch/stretch-utils all Packages
Ign:21 https://apt.armbian.com stretch/stretch-utils armhf Packages
Ign:22 https://apt.armbian.com stretch/stretch-utils arm64 Packages
Ign:23 https://apt.armbian.com stretch/stretch-utils armhf Contents (deb)
Ign:24 https://apt.armbian.com stretch/stretch-utils arm64 Contents (deb)
Ign:25 https://apt.armbian.com stretch/stretch-utils all Contents (deb)
Ign:26 https://apt.armbian.com stretch/stretch-desktop armhf Packages
Ign:27 https://apt.armbian.com stretch/stretch-desktop arm64 Packages
Ign:28 https://apt.armbian.com stretch/stretch-desktop all Packages
Ign:29 https://apt.armbian.com stretch/stretch-desktop all Contents (deb)
Ign:30 https://apt.armbian.com stretch/stretch-desktop armhf Contents (deb)
Ign:31 https://apt.armbian.com stretch/stretch-desktop arm64 Contents (deb)
Ign:11 https://apt.armbian.com stretch/main arm64 Packages
Ign:12 https://apt.armbian.com stretch/main armhf Packages
Ign:13 https://apt.armbian.com stretch/main all Packages
Ign:14 https://apt.armbian.com stretch/main arm64 Contents (deb)
Ign:15 https://apt.armbian.com stretch/main all Contents (deb)
Ign:16 https://apt.armbian.com stretch/main armhf Contents (deb)
Ign:17 https://apt.armbian.com stretch arm64 Contents (deb)
Ign:18 https://apt.armbian.com stretch all Contents (deb)
Ign:19 https://apt.armbian.com stretch armhf Contents (deb)
Ign:20 https://apt.armbian.com stretch/stretch-utils all Packages
Ign:21 https://apt.armbian.com stretch/stretch-utils armhf Packages
Ign:22 https://apt.armbian.com stretch/stretch-utils arm64 Packages
Ign:23 https://apt.armbian.com stretch/stretch-utils armhf Contents (deb)
Ign:24 https://apt.armbian.com stretch/stretch-utils arm64 Contents (deb)
Ign:25 https://apt.armbian.com stretch/stretch-utils all Contents (deb)
Ign:26 https://apt.armbian.com stretch/stretch-desktop armhf Packages
Ign:27 https://apt.armbian.com stretch/stretch-desktop arm64 Packages
Ign:28 https://apt.armbian.com stretch/stretch-desktop all Packages
Ign:29 https://apt.armbian.com stretch/stretch-desktop all Contents (deb)
Ign:30 https://apt.armbian.com stretch/stretch-desktop armhf Contents (deb)
Ign:31 https://apt.armbian.com stretch/stretch-desktop arm64 Contents (deb)
Err:11 https://apt.armbian.com stretch/main arm64 Packages
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Ign:12 https://apt.armbian.com stretch/main armhf Packages
Ign:13 https://apt.armbian.com stretch/main all Packages
Ign:14 https://apt.armbian.com stretch/main arm64 Contents (deb)
Ign:15 https://apt.armbian.com stretch/main all Contents (deb)
Ign:16 https://apt.armbian.com stretch/main armhf Contents (deb)
Ign:17 https://apt.armbian.com stretch arm64 Contents (deb)
Ign:18 https://apt.armbian.com stretch all Contents (deb)
Ign:19 https://apt.armbian.com stretch armhf Contents (deb)
Ign:20 https://apt.armbian.com stretch/stretch-utils all Packages
Ign:21 https://apt.armbian.com stretch/stretch-utils armhf Packages
Fetched 1240 kB in 1min 50s (11.2 kB/s)
Reading package lists... Done
W: The repository 'https://apt.armbian.com stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://apt.armbian.com/dists/stretch/main/binary-arm64/Packages  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
E: Some index files failed to download. They have been ignored, or old ones used instead.

 

 

Share this post


Link to post
Share on other sites

@lanefu

17 hours ago, lanefu said:

try


dpkg-reconfigure ca-certificates

 

 

Thanks a lot. It worked.:thumbup:

Share this post


Link to post
Share on other sites

I had this issue but after reconfiguring the ca-certs I got the root of the problem:

Err:6 https://apt.armbian.com buster Release                          
  Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: 2001:bb8:4008:20:5054:ff:fea8:96fc 443]
 

adding 193.40.103.96 apt.armbian.com to /etc/hosts fixed it for me

Share this post


Link to post
Share on other sites
2 hours ago, jinxjim said:

I had this issue but after reconfiguring the ca-certs I got the root of the problem:


Are you sure this is not your (DNS) problem?

Share this post


Link to post
Share on other sites

 

 

I am getting packages from deb.debian.org using IPv6 address without any issues, just armbian seems to be slow or some other issue, hence fixing it as IPv4 in the hosts file fixed the problem

Share this post


Link to post
Share on other sites
3 hours ago, jinxjim said:

I am getting packages from deb.debian.org using IPv6 address without any issues, just armbian seems to be slow or some other issue, hence fixing it as IPv4 in the hosts file fixed the problem


OK, we will check if issue is on our side.

Share this post


Link to post
Share on other sites

Hi Igor,

 

The problem still occurs. I changed to the China mirror https://mirrors.tuna.tsinghua.edu.cn/armbian and it works OK with IPv6.

 

It does not affect me and I have already 2 workarounds, just to let you know that IPv6 is not working at apt.armbian.com but it does have an IPv6 address assigned to it.

Share this post


Link to post
Share on other sites

Hi,

 

Since a few days, from time to time, I get a similar issue :

W: The repository 'http://apt.armbian.com stretch Release' does not have a Release file.
E: Failed to fetch https://apt.armbian.com/dists/stretch/main/binary-armhf/Packages  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
E: Some index files failed to download. They have been ignored, or old ones used instead.

I don't know about reconfiguring ca-certificates, but by forcing apt-get to use IPv4, I could workaround the issue. But I must insist : sometimes, it works without forcing apt-get to use IPv4.

echo 'Acquire::ForceIPv4 "true";' | sudo tee /etc/apt/apt.conf.d/99force-ipv4

If someone has an idea how to find out the exact root cause, I'm available to do some testing.

Share this post


Link to post
Share on other sites

IPV6 values seems fine. They are set for all hosts except for one mirror. No idea what else could be wrong?

Share this post


Link to post
Share on other sites
21 hours ago, Igor said:

No idea what else could be wrong?

On my side, no, I don't. I intermittently got this error message during my tests to automate my SBC's installation (from scratch). But the image and the network configuration of the SBC have been the same since the beginning. And I haven't change my network setup lately.

 

The only idea I can think of is a network issue between your hosting provider and my ISP or maybe my ISP's DNS server giving me a wrong answer.

Share this post


Link to post
Share on other sites

Since I also had this problem:

Your time is probably off. I installed an image from a while ago and the time on the board didn't update. Then the certificates are invalid, because they're only valid for 30 days. I did set the time roughly correct to get it going:

sudo date --set="2020-06-26 09:05:59.990"

After that everything starts working again.

Share this post


Link to post
Share on other sites

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...
1 1