ayufan-rock64 / linux-build

Rock64 Linux build scripts, tools and instructions
MIT License
563 stars 100 forks source link

RockPro64 OpenMediaVault: Can not Update system #457

Closed Isphording closed 3 years ago

Isphording commented 3 years ago

Hello Ayufan, I got a little problem with my RockPro64 and the latest openmediavault-image.

When I do this after a freshly flashed sd-card with openmediavault:

sudo apt-get update

I get this output and can not update anything:

Get:1 file:/var/cache/openmediavault/archives  InRelease
Ign:1 file:/var/cache/openmediavault/archives  InRelease
Get:2 file:/var/cache/openmediavault/archives  Release
Ign:2 file:/var/cache/openmediavault/archives  Release
Get:3 file:/var/cache/openmediavault/archives  Packages                                                  
Ign:3 file:/var/cache/openmediavault/archives  Packages                                                                   
Get:4 file:/var/cache/openmediavault/archives  Translation-en_US                                                          
Ign:4 file:/var/cache/openmediavault/archives  Translation-en_US                                                                                                       
Get:5 file:/var/cache/openmediavault/archives  Translation-en                                                                                                          
Ign:5 file:/var/cache/openmediavault/archives  Translation-en                                                                                                       
Get:6 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                       
Ign:6 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                       
Get:7 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                       
Ign:7 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                     
Get:3 file:/var/cache/openmediavault/archives  Packages                                                                                                           
Ign:3 file:/var/cache/openmediavault/archives  Packages                                                                                                       
Get:4 file:/var/cache/openmediavault/archives  Translation-en_US                                                                                              
Ign:4 file:/var/cache/openmediavault/archives  Translation-en_US                                                                                                       
Get:5 file:/var/cache/openmediavault/archives  Translation-en                                                                                                          
Ign:5 file:/var/cache/openmediavault/archives  Translation-en                                                                                                       
Get:6 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                       
Ign:6 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                       
Get:7 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                       
Ign:7 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                     
Get:3 file:/var/cache/openmediavault/archives  Packages                                                                                                           
Ign:3 file:/var/cache/openmediavault/archives  Packages                                                                                                       
Get:4 file:/var/cache/openmediavault/archives  Translation-en_US                                                                                              
Ign:4 file:/var/cache/openmediavault/archives  Translation-en_US                                                                                                       
Get:5 file:/var/cache/openmediavault/archives  Translation-en                                                                                                          
Ign:5 file:/var/cache/openmediavault/archives  Translation-en                                                                                                                     
Get:6 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                     
Ign:6 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                     
Get:7 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                     
Ign:7 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                   
Get:3 file:/var/cache/openmediavault/archives  Packages                                                                                                                         
Ign:3 file:/var/cache/openmediavault/archives  Packages                                                                                                                     
Get:4 file:/var/cache/openmediavault/archives  Translation-en_US                                                                                                            
Ign:4 file:/var/cache/openmediavault/archives  Translation-en_US                                                                                                                     
Get:5 file:/var/cache/openmediavault/archives  Translation-en                                                                                                                        
Ign:5 file:/var/cache/openmediavault/archives  Translation-en                                                                                                                                       
Get:6 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                       
Ign:6 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                       
Get:7 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                       
Ign:7 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                     
Get:3 file:/var/cache/openmediavault/archives  Packages                                                                                                                                           
Ign:3 file:/var/cache/openmediavault/archives  Packages                                                                                                                                       
Get:4 file:/var/cache/openmediavault/archives  Translation-en_US                                                                                                                              
Ign:4 file:/var/cache/openmediavault/archives  Translation-en_US                                                                                                                                                          
Get:5 file:/var/cache/openmediavault/archives  Translation-en                                                                                                                                                             
Ign:5 file:/var/cache/openmediavault/archives  Translation-en                                                                                                                                                             
Get:6 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                                             
Ign:6 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                                             
Get:7 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                                             
Ign:7 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                                             
Get:3 file:/var/cache/openmediavault/archives  Packages                                                                                                                                                                   
Ign:3 file:/var/cache/openmediavault/archives  Packages                                                                                                                                                                   
Get:4 file:/var/cache/openmediavault/archives  Translation-en_US                                                                                                                                                          
Ign:4 file:/var/cache/openmediavault/archives  Translation-en_US                                                                                                                                                          
Get:5 file:/var/cache/openmediavault/archives  Translation-en                                                                                                                                                             
Ign:5 file:/var/cache/openmediavault/archives  Translation-en                                                                                                                                                             
Get:6 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                                             
Ign:6 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                                             
Get:7 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                                             
Ign:7 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                                             
Get:3 file:/var/cache/openmediavault/archives  Packages                                                                                                                                                                   
Get:4 file:/var/cache/openmediavault/archives  Translation-en_US                                                                                                                                                          
Ign:4 file:/var/cache/openmediavault/archives  Translation-en_US                                                                                                                                                          
Get:5 file:/var/cache/openmediavault/archives  Translation-en                                                                                                                                                             
Ign:5 file:/var/cache/openmediavault/archives  Translation-en                                                                                                                                                             
Get:6 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                                             
Ign:6 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                                             
Get:7 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                                             
Ign:7 file:/var/cache/openmediavault/archives  Contents (deb)                                                                                                                                                             
Get:8 http://security.debian.org buster/updates InRelease [65.4 kB]                                                                                                                                                       
Get:9 http://packages.openmediavault.org/public usul InRelease [12.7 kB]                                                                                                                                                  
Get:10 http://httpredir.debian.org/debian buster-backports InRelease [46.7 kB]                                                                                                                                            
Get:11 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]                                                                                                                                      
Get:12 http://packages.openmediavault.org/public usul-proposed InRelease [5,439 B]                                                                                                                                        
Ign:13 https://openmediavault.github.io/packages usul InRelease                                                                                                                                                           
Ign:14 https://download.docker.com/linux/debian buster InRelease                                                                                                                                                          
Ign:15 https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease                                                                                                                                 
Get:16 https://dl.bintray.com/openmediavault-plugin-developers/usul buster Release [4,363 B]                                                                                                                         
Err:17 https://openmediavault.github.io/packages usul Release                                                                                                                                                             
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate.  Could not handshake: Error in the certificate verification. [IP: 185.199.111.153 443]
Err:18 https://download.docker.com/linux/debian buster Release                                                                                                                                                     
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate.  Could not handshake: Error in the certificate verification. [IP: 99.86.3.72 443]
Get:19 https://dl.bintray.com/openmediavault-plugin-developers/usul buster Release.gpg [821 B]                                                                                 
Get:20 http://cdn-fastly.deb.debian.org/debian buster InRelease [122 kB]                                                                   
Get:21 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [51.9 kB]                                                          
Get:22 http://deb.ayufan.eu/orgs/ayufan-rock64/releases  InRelease [1,343 B]                   
Reading package lists... Done         
E: The repository 'https://openmediavault.github.io/packages usul Release' no longer has 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.
E: The repository 'https://download.docker.com/linux/debian buster Release' no longer has 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.
E: Release file for http://security.debian.org/dists/buster/updates/InRelease is not valid yet (invalid for another 302d 19h 2min 51s). Updates for this repository will not be applied.
E: Release file for http://packages.openmediavault.org/public/dists/usul/InRelease is not valid yet (invalid for another 277d 8h 43min 21s). Updates for this repository will not be applied.
E: Release file for http://security.debian.org/debian-security/dists/buster/updates/InRelease is not valid yet (invalid for another 302d 19h 2min 50s). Updates for this repository will not be applied.
E: Release file for https://dl.bintray.com/openmediavault-plugin-developers/usul/dists/buster/Release is not valid yet (invalid for another 302d 15h 41min 44s). Updates for this repository will not be applied.
E: Release file for http://cdn.debian.net/debian/dists/buster/InRelease is not valid yet (invalid for another 296d 10h 51min 50s). Updates for this repository will not be applied.
E: Release file for http://cdn.debian.net/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 302d 14h 51min 57s). Updates for this repository will not be applied.
E: Release file for http://httpredir.debian.org/debian/dists/buster-backports/InRelease is not valid yet (invalid for another 302d 14h 51min 57s). Updates for this repository will not be applied.
E: Release file for http://deb.ayufan.eu/orgs/ayufan-rock64/releases/InRelease is not valid yet (invalid for another 278d 21h 2min 34s). Updates for this repository will not be applied.

What can I do to fix this?

Thanks in advance!

Isphording commented 3 years ago

I fixed it myself. 💪

The date and time was not correct. It was set to 16 Apr 2020, the release date of the image and was not automatically updated. I changed everything to match the current date and time and voilà!

I hope this helps everyone with the same problem. 👍