Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. ThitLonGiaCay

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    T Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    ThitLonGiaCay

    @ThitLonGiaCay

    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    ThitLonGiaCay Unfollow Follow

    Latest posts made by ThitLonGiaCay

    • Debian feed: Architecture: all packages never served from cache (binary-amd64 index gives them an _amd64.deb Filename)

      Title: Debian feed: Architecture: all packages never served from cache (binary-amd64 index gives them an _amd64.deb Filename)

      Hi,

      We use a Debian feed (not Debian Legacy) with Ubuntu noble connectors. Architecture: all packages are never served from the feed's cache when apt downloads them. Every download fetches the package from the connector again. Architecture: amd64 packages cache normally.

      Versions: ProGet 2026.14 (26.0.14.11) and 2026.2 (26.0.2.16). We use the Docker image with an external PostgreSQL database.

      Feed setup: a Debian connector to http://archive.ubuntu.com/ubuntu/ with distribution noble and components main multiverse restricted universe. A feed with only this one connector reproduces the problem, and so does our 4-connector feed (noble, -updates, -backports, -security).

      What happens

      dists/noble/main/binary-amd64/Packages lists arch=all packages under an amd64 path:

      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
      

      apt 2.8.4 on Ubuntu 24.04 downloads that Filename. Each download at that path:

      • is fetched from the connector again (TTFB 1–6 s for vim-runtime),
      • resets the package's published date,
      • leaves downloads at 0.

      The UI shows the version as "Remote Package". The cached record has qualifier arch=all&distro=noble.

      The same package at pool/noble/main/all/gnome-themes-extra-data/gnome-themes-extra-data_3.28-2ubuntu5_all.deb is served from cache: TTFB about 0.06 s, downloads goes 1, 2, 3, and published stays the same. The mixed paths (.../amd64/..._all.deb and .../all/..._amd64.deb) return 404.

      On a new feed, binary-all/Packages returns 404 and Release says Architectures: amd64 i386. After an arch=all package has been cached, binary-all/Packages appears with the correct .../all/..._all.deb Filename, and Release changes to Architectures: all amd64 i386. binary-amd64/Packages keeps the amd64 Filename for the same package.

      For comparison, upstream Ubuntu lists arch=all packages only in binary-amd64, with an _all.deb Filename.

      Repro

      R=https://<proget>; FEED=<feed>
      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
      

      We also tried publishing the original arch=all .deb as a local package (PUT /debian/<feed>/upload/noble/main). ProGet stores it as arch=all, and the next download at the amd64 path overwrites it with the connector copy.

      Expected

      When an arch=all package is listed in binary-amd64, its Filename should point to the cached arch=all copy (.../all/..._all.deb). Alternatively, the amd64 path should resolve to the cached arch=all package instead of fetching it again.

      Impact

      About 21% of noble-updates/main/binary-amd64 (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. PG-3402, PG-3342 and PG-3417 looked related, but 2026.14 behaves the same.

      Thanks!

      posted in Support
      T
      ThitLonGiaCay