<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Debian feed: Architecture: all packages never served from cache (binary-amd64 index gives them an _amd64.deb Filename)]]></title><description><![CDATA[<p dir="auto"><strong>Title:</strong> Debian feed: Architecture: all packages never served from cache (binary-amd64 index gives them an _amd64.deb Filename)</p>
<p dir="auto">Hi,</p>
<p dir="auto">We use a Debian feed (not Debian Legacy) with Ubuntu noble connectors. <code>Architecture: all</code> packages are never served from the feed's cache when apt downloads them. Every download fetches the package from the connector again. <code>Architecture: amd64</code> packages cache normally.</p>
<p dir="auto"><strong>Versions:</strong> ProGet 2026.14 (26.0.14.11) and 2026.2 (26.0.2.16). We use the Docker image with an external PostgreSQL database.</p>
<p dir="auto"><strong>Feed setup:</strong> a Debian connector to <code>http://archive.ubuntu.com/ubuntu/</code> with distribution <code>noble</code> and components <code>main multiverse restricted universe</code>. A feed with only this one connector reproduces the problem, and so does our 4-connector feed (noble, -updates, -backports, -security).</p>
<h3>What happens</h3>
<p dir="auto"><code>dists/noble/main/binary-amd64/Packages</code> lists arch=all packages under an amd64 path:</p>
<pre><code>Package: gnome-themes-extra-data
Architecture: all
Version: 3.28-2ubuntu5
Filename: pool/noble/main/amd64/gnome-themes-extra-data/gnome-themes-extra-data_3.28-2ubuntu5_amd64.deb
</code></pre>
<p dir="auto">apt 2.8.4 on Ubuntu 24.04 downloads that Filename. Each download at that path:</p>
<ul>
<li>is fetched from the connector again (TTFB 1–6 s for vim-runtime),</li>
<li>resets the package's <code>published</code> date,</li>
<li>leaves <code>downloads</code> at 0.</li>
</ul>
<p dir="auto">The UI shows the version as "Remote Package". The cached record has qualifier <code>arch=all&amp;distro=noble</code>.</p>
<p dir="auto">The same package at <code>pool/noble/main/all/gnome-themes-extra-data/gnome-themes-extra-data_3.28-2ubuntu5_all.deb</code> is served from cache: TTFB about 0.06 s, <code>downloads</code> goes 1, 2, 3, and <code>published</code> stays the same. The mixed paths (<code>.../amd64/..._all.deb</code> and <code>.../all/..._amd64.deb</code>) return 404.</p>
<p dir="auto">On a new feed, <code>binary-all/Packages</code> returns 404 and <code>Release</code> says <code>Architectures: amd64 i386</code>. After an arch=all package has been cached, <code>binary-all/Packages</code> appears with the correct <code>.../all/..._all.deb</code> Filename, and <code>Release</code> changes to <code>Architectures: all amd64 i386</code>. <code>binary-amd64/Packages</code> keeps the amd64 Filename for the same package.</p>
<p dir="auto">For comparison, upstream Ubuntu lists arch=all packages only in binary-amd64, with an <code>_all.deb</code> Filename.</p>
<h3>Repro</h3>
<pre><code class="language-bash">R=https://&lt;proget&gt;; FEED=&lt;feed&gt;
F=pool/noble/main/amd64/gnome-themes-extra-data/gnome-themes-extra-data_3.28-2ubuntu5_amd64.deb   # Filename from binary-amd64
for i in 1 2 3; do
  curl -s -o /dev/null -w "%{http_code} ttfb=%{time_starttransfer}s\n" "$R/debian/$FEED/$F"
  curl -s "$R/api/packages/$FEED/versions?name=gnome-themes-extra-data"   # downloads stays 0, published changes
done
# Repeat with .../main/all/.../..._all.deb: served from cache, downloads increments
</code></pre>
<p dir="auto">We also tried publishing the original arch=all .deb as a local package (<code>PUT /debian/&lt;feed&gt;/upload/noble/main</code>). ProGet stores it as arch=all, and the next download at the amd64 path overwrites it with the connector copy.</p>
<h3>Expected</h3>
<p dir="auto">When an arch=all package is listed in binary-amd64, its Filename should point to the cached arch=all copy (<code>.../all/..._all.deb</code>). Alternatively, the amd64 path should resolve to the cached arch=all package instead of fetching it again.</p>
<h3>Impact</h3>
<p dir="auto">About 21% of <code>noble-updates/main/binary-amd64</code> (1,547 of 7,444 packages, about 13 GB) is arch=all, including linux-firmware, perl-modules and many python3 packages. Each of these is refetched on every apt download. None of the 2026.3–2026.14 release notes seemed to cover this. <a href="https://issues.inedo.com/issue/PG-3402" class="inedo-link inedo-link-pg" rel="nofollow ugc">PG-3402</a>, <a href="https://issues.inedo.com/issue/PG-3342" class="inedo-link inedo-link-pg" rel="nofollow ugc">PG-3342</a> and <a href="https://issues.inedo.com/issue/PG-3417" class="inedo-link inedo-link-pg" rel="nofollow ugc">PG-3417</a> looked related, but 2026.14 behaves the same.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forums.inedo.com/topic/5878/debian-feed-architecture-all-packages-never-served-from-cache-binary-amd64-index-gives-them-an-_amd64.deb-filename</link><generator>RSS for Node</generator><lastBuildDate>Tue, 24 Nov 2026 14:09:11 GMT</lastBuildDate><atom:link href="https://forums.inedo.com/topic/5878.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 23 Nov 2026 14:50:25 GMT</pubDate><ttl>60</ttl></channel></rss>