<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 3 May 2024 at 03:05, Heinrich Schuchardt <<a href="mailto:heinrich.schuchardt@canonical.com">heinrich.schuchardt@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 02.05.24 16:46, Robie Basak wrote:<br>
> On Thu, May 02, 2024 at 04:05:31PM +0200, Heinrich Schuchardt wrote:<br>
>> Often I see apt-get update downloads exceeding 100 MiB. That is without a<br>
>> single package download.<br>
> <br>
> I think it might be worth quantifying this. Right now, for amd64<br>
> proposed pocket Packages.xz files for the following:<br>
<br>
This is what I see:<br>
<br>
$ sudo apt-get update<br>
Get:1 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular InRelease [64,6 kB]<br>
Hit:2 <a href="http://dl.google.com/linux/chrome/deb" rel="noreferrer" target="_blank">http://dl.google.com/linux/chrome/deb</a> stable InRelease <br>
<br>
<br>
Hit:3 <a href="https://ppa.launchpadcontent.net/xypron/qemu/ubuntu" rel="noreferrer" target="_blank">https://ppa.launchpadcontent.net/xypron/qemu/ubuntu</a> noble <br>
InRelease <br>
<br>
Hit:4 <a href="https://ppa.launchpadcontent.net/xypron/rsyslog2312/ubuntu" rel="noreferrer" target="_blank">https://ppa.launchpadcontent.net/xypron/rsyslog2312/ubuntu</a> noble <br>
InRelease <br>
<br>
Get:5 <a href="http://security.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://security.ubuntu.com/ubuntu</a> oracular-security InRelease <br>
[64,6 kB]<br>
Hit:6 <br>
<a href="https://private-ppa.launchpadcontent.net/ubuntu-risc-v-team-private/private/ubuntu" rel="noreferrer" target="_blank">https://private-ppa.launchpadcontent.net/ubuntu-risc-v-team-private/private/ubuntu</a> <br>
mantic InRelease<br>
Get:7 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular-updates InRelease [64,6 <br>
kB]<br>
Get:8 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular-backports InRelease <br>
[64,7 kB]<br>
Hit:9 <br>
<a href="https://private-ppa.launchpadcontent.net/ubuntu-risc-v-team-private/private/ubuntu" rel="noreferrer" target="_blank">https://private-ppa.launchpadcontent.net/ubuntu-risc-v-team-private/private/ubuntu</a> <br>
noble InRelease<br>
Get:10 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/multiverse Sources [299 kB]<br>
Hit:11 <br>
<a href="https://private-ppa.launchpadcontent.net/ubuntu-risc-v-team-private/ventana/ubuntu" rel="noreferrer" target="_blank">https://private-ppa.launchpadcontent.net/ubuntu-risc-v-team-private/ventana/ubuntu</a> <br>
noble InRelease<br>
Hit:12 <br>
<a href="https://private-ppa.launchpadcontent.net/ubuntu-risc-v-team-private/ventana/ubuntu" rel="noreferrer" target="_blank">https://private-ppa.launchpadcontent.net/ubuntu-risc-v-team-private/ventana/ubuntu</a> <br>
mantic InRelease<br>
Get:13 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/restricted Sources <br>
[18,7 kB]<br>
Get:14 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/universe Sources [19,9 <br>
MB]<br>
Hit:15 <br>
<a href="https://private-ppa.launchpadcontent.net/ubuntu-risc-v-team/private/ubuntu" rel="noreferrer" target="_blank">https://private-ppa.launchpadcontent.net/ubuntu-risc-v-team/private/ubuntu</a> <br>
mantic InRelease<br>
Get:16 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/main Sources [1.378 kB]<br>
Get:17 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/main amd64 Packages <br>
[1.401 kB]<br>
Get:18 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/main i386 Packages <br>
[1.041 kB]<br>
Get:19 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/main Translation-en <br>
[512 kB]<br>
Get:20 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular amd64 Contents (deb) <br>
[51,3 MB]<br>
Get:21 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular i386 Contents (deb) <br>
[40,3 MB]<br>
Get:22 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/restricted i386 <br>
Packages [14,7 kB]<br>
Get:23 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/restricted amd64 <br>
Packages [93,9 kB]<br>
Get:24 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/restricted <br>
Translation-en [18,7 kB]<br>
Get:25 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/universe amd64 Packages <br>
[15,5 MB]<br>
Get:26 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/universe i386 Packages <br>
[8.166 kB]<br>
Get:27 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/universe Translation-en <br>
[5.980 kB]<br>
Get:28 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/multiverse amd64 <br>
Packages [269 kB]<br>
Get:29 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/multiverse i386 <br>
Packages [126 kB]<br>
Get:30 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> oracular/multiverse <br>
Translation-en [118 kB]<br>
Fetched 147 MB in 10s (14,3 MB/s) <br>
<br>
<br>
Reading package lists... Done<br></blockquote><div><br></div><div>Yes sure but that's not the common experience for at least three reasons:</div><div><br></div><div> 1. it's the devel series so the release pocket gets republished all the time</div><div> 2. you have apt-file installed and are downloading the Contents files. those are always big</div><div> 3. you have deb-src enabled (this makes much less difference than the previous 2 though)</div><div><br></div><div>If we want to make apt update quicker / lighter on resources we should figure out if we can stop publishing some of the hashes (which entirely dominate the size of the compressed package lists). We currently have 4 hashes in the lists (md5, sha1, sha256, sha512) -- I know Dimitri was trying to get us to the point that we could stop publishing MD5 at least but there are a few things out there that hardcode a dependence on it. Maybe oracular is a good time to turn off some hashes and see what breaks.</div><div><br></div><div>Cheers,</div><div>mwh</div></div></div>