Why is `apt update` fetching half a gigabyte of package lists?

in flag

Is it normal for apt update to fetch half a gigabyte of package files? I have a vague memory of it not taking this long at one point, but for some time now it's been fetching these huge package lists when I update. I'm curious whether this is normal.

The output of apt update is in this paste. The particularly relevant part is Fetched 478 MB in 1min 38s (4,883 kB/s). I can provide other dumps if necessary.

Hit:1 focal InRelease
Hit:2 focal InRelease                                                                                                                           
Get:3 focal-updates InRelease [114 kB]                                                                                                                                        
Hit:4 focal InRelease                                                                                                                                            
Get:5 stable InRelease [3,023 B]                                                                                                                                         
Get:6 focal-backports InRelease [108 kB]                                                                                                                                      
Get:7 focal InRelease [8,041 B]                                                                                                                                          
Get:8 stable InRelease [8,690 B]                                                                                                                                                    
Get:9 focal InRelease [3,065 B]                                                                                                                                  
Get:10 stable InRelease [11.9 kB]                                                                                                                                                
Hit:11 stable InRelease                                                                                                                                             
Hit:12 stable InRelease                                                                                                                         
Get:13  InRelease [1,553 B]                                                    
Hit:14 stable InRelease                                                                                                          
Get:15 focal-security InRelease [114 kB]                                                                                           
Ign:16 focal InRelease                                     
Get:17 stable InRelease [1,811 B]                   
Hit:18 focal Release                                       
Get:19 stable/main armhf Packages [59.8 kB]
Get:20 stable/main amd64 Packages [59.1 kB]
Get:21 stable/main arm64 Packages [59.5 kB]
Get:22 focal-updates/main amd64 Packages [2,368 kB]
Get:23 focal-updates/main i386 Packages [785 kB]
Get:24 focal/main amd64 Packages [385 kB]
Get:25 focal/main i386 Packages [386 kB]
Get:26 focal-updates/main Translation-en [408 kB]
Get:27 focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:28 focal-updates i386 Contents (deb) [72.4 MB]
Get:29 focal/main amd64 Packages [171 kB]
Err:13  InRelease  
  The following signatures were invalid: EXPKEYSIG 02456C79B2FD48BF home:ungoogled_chromium OBS Project <>
Get:30 focal-security/main i386 Packages [556 kB]
Get:31 focal-updates amd64 Contents (deb) [168 MB]
Get:32 stable/main amd64 Packages [1,061 B]          
Get:34 focal-security/main amd64 Packages [1,993 kB]                                        
Get:35 focal-security/main Translation-en [326 kB]                    
Get:36 focal-security/main amd64 DEP-11 Metadata [59.9 kB]                
Get:37 focal-security amd64 Contents (deb) [155 MB]                      
Get:38 focal-updates/main amd64 c-n-f Metadata [16.3 kB]                  
Get:39 focal-updates/restricted amd64 Packages [1,595 kB]
Get:40 focal-updates/restricted Translation-en [224 kB]            
Get:41 focal-updates/universe amd64 Packages [1,024 kB]                 
Get:42 focal-updates/universe i386 Packages [710 kB]
Get:43 focal-updates/universe Translation-en [237 kB]
Get:44 focal-security i386 Contents (deb) [65.8 MB]       
Get:45 focal-updates/universe amd64 DEP-11 Metadata [407 kB]            
Get:46 focal-updates/universe amd64 c-n-f Metadata [23.5 kB]              
Get:47 focal-updates/multiverse amd64 DEP-11 Metadata [944 B]             
Get:48 focal-backports/main amd64 DEP-11 Metadata [7,960 B]              
Get:49 focal-backports/universe amd64 DEP-11 Metadata [30.5 kB]              
Get:50 focal-security/main amd64 c-n-f Metadata [12.0 kB]                                                                                                                       
Get:51 focal-security/restricted amd64 Packages [1,495 kB]                                                                                                                      
Get:52 focal-security/restricted Translation-en [211 kB]                                                                                                                        
Get:53 focal-security/universe i386 Packages [579 kB]                                                                                                                           
Get:54 focal-security/universe amd64 Packages [794 kB]                                                                                                                          
Get:55 focal-security/universe Translation-en [154 kB]                                                                                                                          
Get:56 focal-security/universe amd64 DEP-11 Metadata [94.2 kB]                                                                                                                  
Get:57 focal-security/universe amd64 c-n-f Metadata [16.9 kB]                                                                                                                   
Get:58 focal-security/multiverse amd64 Packages [22.9 kB]                                                                                                                       
Get:59 focal-security/multiverse Translation-en [5,488 B]                                                                                                                       
Get:60 focal-security/multiverse amd64 DEP-11 Metadata [940 B]                                                                                                                  
Get:61 focal-security/multiverse amd64 c-n-f Metadata [528 B]                                                                                                                   
Fetched 478 MB in 1min 38s (4,883 kB/s)                                                                                                                                                                           
Reading package lists... Done
Building dependency tree       
Reading state information... Done
46 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error:  InRelease: The following signatures were invalid: EXPKEYSIG 02456C79B2FD48BF home:ungoogled_chromium OBS Project <>
W: Failed to fetch  The following signatures were invalid: EXPKEYSIG 02456C79B2FD48BF home:ungoogled_chromium OBS Project <>
W: Some index files failed to download. They have been ignored, or old ones used instead.
Artur Meinild avatar
vn flag
What's the content of your `/etc/apt/sources.list` and additional files inside `/etc/apt/sources.list.d`? It looks like you have repos for multiple architectures..
Artur Meinild avatar
vn flag
From the duplicate, it seems you have `apt-file` installed - this downloads additional contents with `apt update`.
jumbot avatar
in flag
Thanks for the link to the duplicate, this was indeed the problem. `apt-file` removed and I now get `Fetched 8,561 kB in 8s (1,055 kB/s)`.
I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.