Projekt

Allgemein

Profil

Aufgabe #1132

Von PaulRiegel vor mehr als 2 Jahren aktualisiert

@apt-get update@ 
 <pre> 
 Hit:1 http://security.debian.org buster/updates InRelease 
 Hit:2 http://deb.debian.org/debian buster InRelease                                                    
 Ign:3 http://archive.turnkeylinux.org/debian buster-security InRelease                                 
 Ign:4 http://archive.turnkeylinux.org/debian buster InRelease                    
 Hit:5 http://archive.turnkeylinux.org/debian buster-security Release 
 Hit:7 http://archive.turnkeylinux.org/debian buster Release                      
 Hit:9 https://packages.gitlab.com/gitlab/gitlab-ce/debian buster InRelease       
 Err:9 https://packages.gitlab.com/gitlab/gitlab-ce/debian buster InRelease 
   The following signatures were invalid: EXPKEYSIG 3F01618A51312F3F GitLab B.V. (package repository signing key) <packages@gitlab.com> 
 Reading package lists... Done 
 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.gitlab.com/gitlab/gitlab-ce/debian buster InRelease: The following signatures were invalid: EXPKEYSIG 3F01618A51312F3F GitLab B.V. (package repository signing key) <packages@gitlab.com> 
 W: Failed to fetch https://packages.gitlab.com/gitlab/gitlab-ce/debian/dists/buster/InRelease    The following signatures were invalid: EXPKEYSIG 3F01618A51312F3F GitLab B.V. (package repository signing key) <packages@gitlab.com> 
 W: Some index files failed to download. They have been ignored, or old ones used instead. 
 </pre> 

 @awk <pre> 
 awk '/deb \[signed-by=/{ 
        pubkey = $2; 
        sub(/\[signed-by=/, "", pubkey); 
        sub(/\]$/, "", pubkey); 
        print pubkey 
      }' /etc/apt/sources.list.d/gitlab-ce.list | \ 
    while read line; do 
      curl -s "https://packages.gitlab.com/gpg.key" | gpg --dearmor > $line 
    done 
 @ </pre>

Zurück