ubuntuusers.de

Fehler in apt-get

Status: Gelöst | Ubuntu-Version: Ubuntu 20.10 (Groovy Gorilla)
Antworten |

quantenzitrone

Anmeldungsdatum:
29. März 2021

Beiträge: 12

Ist es normal, dass beim updaten vom apt-get ein Fehler kommt und liegt das an mir oder an den Paketquellen?

Bei letzterem müssten andere ja das gleiche Problem haben.

$ sudo apt update
Hit:1 http://de.archive.ubuntu.com/ubuntu groovy InRelease
Hit:2 http://security.ubuntu.com/ubuntu groovy-security InRelease      
Hit:3 http://de.archive.ubuntu.com/ubuntu groovy-updates InRelease     
Hit:4 http://de.archive.ubuntu.com/ubuntu groovy-backports InRelease
Get:5 https://packages.riot.im/debian default InRelease [2.892 B]
Err:5 https://packages.riot.im/debian default InRelease
  The following signatures were invalid: EXPKEYSIG C2850B265AC085BD riot.im packages <packages@riot.im>
Fetched 2.892 B in 1s (4.518 B/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
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.riot.im/debian default InRelease: The following signatures were invalid: EXPKEYSIG C2850B265AC085BD riot.im packages <packages@riot.im>
W: Failed to fetch https://packages.riot.im/debian/dists/default/InRelease  The following signatures were invalid: EXPKEYSIG C2850B265AC085BD riot.im packages <packages@riot.im>
W: Some index files failed to download. They have been ignored, or old ones used instead.

Desweiteren wirkt sich das auch darauf aus wenn ich ein release upgrade zu Hirsuite machen will:

$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]                                                                                                                                                                              
Get:2 Upgrade tool [1.269 kB]                                                                                                                                                                                     
Fetched 1.270 kB in 0s (0 B/s)                                                                                                                                                                                    
authenticate 'hirsute.tar.gz' against 'hirsute.tar.gz.gpg' 
extracting 'hirsute.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Hit http://archive.ubuntu.com/ubuntu groovy InRelease                                                                                                                                                             
Get:1 https://packages.riot.im/debian default InRelease [2.892 B]                                                                                                                                                 
Err https://packages.riot.im/debian default InRelease                                                                                                                                                             
  The following signatures were invalid: EXPKEYSIG C2850B265AC085BD riot.im packages <packages@riot.im>                                                                                                           
Fetched 0 B in 0s (0 B/s)                                                                                                                                                                                         
Reading package lists... Done    
Building dependency tree          
Reading state information... Done

Checking for installed snaps

Calculating snap size requirements

Updating repository information
Get:1 http://archive.ubuntu.com/ubuntu hirsute InRelease [269 kB]                                                                                                                                                 
Get:2 https://packages.riot.im/debian default InRelease [2.892 B]                                                                                                                                                 
Get:3 http://archive.ubuntu.com/ubuntu hirsute/main i386 Packages [1.025 kB]                                                                                                                                      
Err https://packages.riot.im/debian default InRelease                                                                                                                                                             
  The following signatures were invalid: EXPKEYSIG C2850B265AC085BD riot.im packages <packages@riot.im>                                                                                                           
Get:4 http://archive.ubuntu.com/ubuntu hirsute/main amd64 Packages [1.394 kB]                                                                                                                                     
Get:5 http://archive.ubuntu.com/ubuntu hirsute/main Translation-en [511 kB]                                                                                                                                       
Get:6 http://archive.ubuntu.com/ubuntu hirsute/main amd64 DEP-11 Metadata [469 kB]                                                                                                                                
Get:7 http://archive.ubuntu.com/ubuntu hirsute/main DEP-11 48x48 Icons [102 kB]                                                                                                                                   
Get:8 http://archive.ubuntu.com/ubuntu hirsute/main DEP-11 64x64 Icons [157 kB]                                                                                                                                   
Get:9 http://archive.ubuntu.com/ubuntu hirsute/main DEP-11 64x64@2 Icons [15,8 kB]                                                                                                                                
Get:10 http://archive.ubuntu.com/ubuntu hirsute/main amd64 c-n-f Metadata [29,5 kB]                                                                                                                               
Get:11 http://archive.ubuntu.com/ubuntu hirsute/universe i386 Packages [7.087 kB]                                                                                                                                 
Get:12 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages [13,2 MB]                                                                                                                                 
Get:13 http://archive.ubuntu.com/ubuntu hirsute/universe Translation-en [5.441 kB]                                                                                                                                
Get:14 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 DEP-11 Metadata [3.848 kB]                                                                                                                         
Get:15 http://archive.ubuntu.com/ubuntu hirsute/universe DEP-11 48x48 Icons [3.338 kB]                                                                                                                            
Get:16 http://archive.ubuntu.com/ubuntu hirsute/universe DEP-11 64x64 Icons [8.115 kB]                                                                                                                            
Get:17 http://archive.ubuntu.com/ubuntu hirsute/universe DEP-11 64x64@2 Icons [57,1 kB]                                                                                                                           
Get:18 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 c-n-f Metadata [279 kB]                                                                                                                            
Get:19 http://archive.ubuntu.com/ubuntu hirsute/restricted i386 Packages [20,3 kB]                                                                                                                                
Get:20 http://archive.ubuntu.com/ubuntu hirsute/restricted amd64 Packages [78,0 kB]                                                                                                                               
Get:21 http://archive.ubuntu.com/ubuntu hirsute/restricted Translation-en [12,0 kB]                                                                                                                               
Get:22 http://archive.ubuntu.com/ubuntu hirsute/restricted amd64 c-n-f Metadata [436 B]                                                                                                                           
Get:23 http://archive.ubuntu.com/ubuntu hirsute/multiverse amd64 Packages [206 kB]                                                                                                                                
Get:24 http://archive.ubuntu.com/ubuntu hirsute/multiverse i386 Packages [109 kB]                                                                                                                                 
Get:25 http://archive.ubuntu.com/ubuntu hirsute/multiverse Translation-en [108 kB]                                                                                                                                
Get:26 http://archive.ubuntu.com/ubuntu hirsute/multiverse amd64 DEP-11 Metadata [47,3 kB]                                                                                                                        
Get:27 http://archive.ubuntu.com/ubuntu hirsute/multiverse DEP-11 48x48 Icons [29,6 kB]                                                                                                                           
Get:28 http://archive.ubuntu.com/ubuntu hirsute/multiverse DEP-11 64x64 Icons [198 kB]                                                                                                                            
Get:29 http://archive.ubuntu.com/ubuntu hirsute/multiverse DEP-11 64x64@2 Icons [214 B]                                                                                                                           
Get:30 http://archive.ubuntu.com/ubuntu hirsute/multiverse amd64 c-n-f Metadata [8.124 B]                                                                                                                         
Fetched 46,1 MB in 6s (4.547 kB/s)                                                                                                                                                                                
Hit http://archive.ubuntu.com/ubuntu hirsute InRelease                                                                                                                                                            
Get:1 https://packages.riot.im/debian default InRelease [2.892 B]                                                                                                                                                 
Err https://packages.riot.im/debian default InRelease                                                                                                                                                             
  The following signatures were invalid: EXPKEYSIG C2850B265AC085BD riot.im packages <packages@riot.im>                                                                                                           
Fetched 0 B in 0s (0 B/s)                                                                                                                                                                                         
Hit http://archive.ubuntu.com/ubuntu hirsute InRelease                                                                                                                                                            
Get:1 https://packages.riot.im/debian default InRelease [2.892 B]                                                                                                                                                 
Err https://packages.riot.im/debian default InRelease                                                                                                                                                             
  The following signatures were invalid: EXPKEYSIG C2850B265AC085BD riot.im packages <packages@riot.im>                                                                                                           
Fetched 2.892 B in 0s (0 B/s)                                                                                                                                                                                     

Error during update 

A problem occurred during the update. This is usually some sort of 
network problem, please check your network connection and retry. 


Restoring original system state

Aborting
Reading package lists... Done    
Building dependency tree          
Reading state information... Done

Ich hab auch schon element deinstalliert, in der Hoffnung dass dadurch der Fehler weggeht.

Moderiert von tuxifreund:

Thema in einen passenderen Forenbereich verschoben. Bitte beachte die als wichtig markierten Themen („Welche Themen gehören hier her und welche nicht?“) in jedem Forenbereich. Danke.

DJKUhpisse Team-Icon

Supporter, Wikiteam
Avatar von DJKUhpisse

Anmeldungsdatum:
18. Oktober 2016

Beiträge: 18199

Wohnort: in deinem Browser, hier auf dem Bildschirm

Zeige mal

apt-key list

Da muss evtl. der alte Schlüssel gelöscht werden und ein neuer angelegt werden. So schlägt das der Entwickler vor.

sudo wget -O /usr/share/keyrings/riot-im-archive-keyring.gpg https://packages.riot.im/debian/riot-im-archive-keyring.gpg

quantenzitrone

(Themenstarter)

Anmeldungsdatum:
29. März 2021

Beiträge: 12

Also apt-key list klappt nicht.

$ apt-key list
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
------------------------------------------------------
pub   rsa4096 2012-05-11 [SC]
      8439 38DF 228D 22F7 B374  2BC0 D94A A3F0 EFE2 1092
uid           [ unknown] Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
------------------------------------------------------
pub   rsa4096 2018-09-17 [SC]
      F6EC B376 2474 EDA9 D21B  7022 8719 20D1 991B C93C
uid           [ unknown] Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>

Aber

sudo wget -O /usr/share/keyrings/riot-im-archive-keyring.gpg https://packages.riot.im/debian/riot-im-archive-keyring.gpg

hat funktioniert.

Jetzt ist keine Fehlermeldung mehr:

$ sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu groovy InRelease
Hit:2 https://packages.riot.im/debian default InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

Dankeschön ☺

Antworten |