0
Jean-Marc

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

Recommended Posts

Hi,
I have following error on Rock64 when trying to update with apt tools:

-1- My config file is :

root@srv-rock64-130:~# cat /etc/apt/sources.list.d/armbian_apt_v_9_stretch.list |grep -v "#"

deb http://apt.armbian.com stretch main stretch-utils stretch-desktop

-2- to get all keys, i run ...

    /usr/bin/wget \
      --tries=3 \
      --output-document=/tmp/Release.key \
      --quiet \
      --no-check-certificate \
      http://apt.armbian.com/armbian.key \
    && \
      /usr/bin/apt-key add - < /tmp/Release.key \
    && \
      /bin/rm -f /tmp/Release.key

root@srv-rock64-130:~#     /usr/bin/wget \
>       --tries=3 \
>       --output-document=/tmp/Release.key \
>       --quiet \
>       --no-check-certificate \
>       http://apt.armbian.com/armbian.key \
>     && \
>       /usr/bin/apt-key add - < /tmp/Release.key \
>     && \
>       /bin/rm -f /tmp/Release.key
OK

-3- Issue ?

but when launching apt update

root@srv-rock64-130:~# apt update
Réception de:1 http://security.debian.org stretch/updates InRelease [94,3 kB]
Atteint:2 http://ftp.fr.debian.org/debian stretch-backports InRelease                                                                             
Ign:3 http://ftp.debian.org/debian stretch InRelease                                                                                              
Atteint:4 http://ftp.debian.org/debian buster InRelease                                                                                           
Atteint:6 http://ftp.fr.debian.org/debian stretch-updates InRelease                                                                               
Atteint:7 http://ftp.debian.org/debian stretch Release                                                                             
Réception de:8 http://deb.ayufan.eu/orgs/ayufan-rock64/releases InRelease [1 339 B]                                               
Réception de:9 http://deb.ayufan.eu/orgs/ayufan-rock64/pre-releases InRelease [1 339 B]
Ign:5 https://apt.armbian.com stretch InRelease                
Err:10 https://apt.armbian.com stretch Release
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Lecture des listes de paquets... Fait
E: The repository 'http://apt.armbian.com stretch 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.

Thanks in advance for your help

Share this post


Link to post
Share on other sites

As you could read unsecure http is disabled by default.

 

For temporarly use unsecure http and getting your system in a proper state you could try

sudo apt-get update --no-allow-insecure-repositories

 

You are using debian stretch, so I dont understand why you also got a line for a debian buster repository:

"Atteint:4 http://ftp.debian.org/debian buster InRelease"

That could also create problem if you mix distributions :(

 

or you could (temprarly) use my ca-certficates.crt out of my strech-installation?
see attachment

 

[EDIT] Yes at https is no Rellease file because:

wget http://apt.armbian.com/dists/stretch/Release
Connecting to apt.armbian.com (apt.armbian.com)|193.40.103.96|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://apt.armbian.com/dists/stretch/Release [following]

ca-certificates.zip

Share this post


Link to post
Share on other sites

Thanks for proposal....

but ....

root@srv-rock64-130:~# apt-get update --no-allow-insecure-repositories
Ign:1 http://ftp.debian.org/debian stretch InRelease
Atteint:2 http://security.debian.org stretch/updates InRelease                                                                                 
Atteint:3 http://ftp.fr.debian.org/debian stretch-backports InRelease                                                                          
Atteint:4 http://ftp.debian.org/debian buster InRelease                                                                                        
Atteint:5 http://ftp.fr.debian.org/debian stretch-updates InRelease                                                                            
Réception de:6 http://deb.ayufan.eu/orgs/ayufan-rock64/releases InRelease [1 339 B]                                               
Atteint:8 http://ftp.debian.org/debian stretch Release                                                                             
Réception de:9 http://deb.ayufan.eu/orgs/ayufan-rock64/pre-releases InRelease [1 339 B]         
Ign:7 https://apt.armbian.com stretch InRelease                
Err:10 https://apt.armbian.com stretch Release                
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Lecture des listes de paquets... Fait
E: The repository 'http://apt.armbian.com stretch 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.
root@srv-rock64-130:~# echo $?
100

 

So that this solution is not possible for me because apt management is done accross Ansible tools in

a production board ....

Share this post


Link to post
Share on other sites

At this time, all access is now ok, it is possible to download  from Armbian site.

Thanks to the team

Regards

Share this post


Link to post
Share on other sites
32 minutes ago, chocho said:

@Igor, Can we get back netix mirror in armbian-config. I saw today it's up. 


If its working, sent a PR with changes.

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