Antonio, Thanks for this.
On Thu, Jan 12, 2023 at 02:03:59PM -0300, Antonio Terceiro wrote: > Package: apt-cacher > Version: 1.7.28.1 > Severity: normal > Tags: patch > > Dear Maintainer, > > I was creating a cross build environment for riscv64, and my downloads > failed because apt-cacher did not recognize it. I then discovered that > apt-cacher has a hardcoded list of supported architectures. > > The attached patch reads the list of most common supported architectures > from dpkg directly, so that you don't need to add architectures by hand > every time one comes around. Yes, I have tried this approach in the past but rejected it. My concern was that it includes many theoretically possible, but practically not available architectures. Maybe that is overly cautious. Mark