andy, thank you for posting the workaround for this.
apparently the 'apt modernize-sources' function was released before ready for prime time. there is a bug about apt not including architecture (or other attributes) when modernizing: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1094709 if you prefer to *not* risk modernization of your sources from .list to .sources, then you can make apt shut up about it: https://daniel-lange.com/archives/192-Make-apt-shut-up-about-modernize-sources-in-Trixie.html for those curious about what DEB822 is and why: https://repolib.readthedocs.io/en/latest/deb822-format.html fwiw, the weewx apt repo explicitly states (in its Release file) that all architectures are supported. m > On Oct 7, 2025, at 13:12, Andrew Bauer (Andy) <[email protected]> wrote: > > When upgrading to Debian Trixie, one of the final steps is to call apt > modernize-sources. > This will convert all your debian source files under /etc/apt/sources.list.d > to the new DEB822 format. This includes the weewx source file. > > This will create a new weewx.sources file and rename the old sources file to > weewx.list.bak. > > After doing so, you may see the following message when calling apt update: > > Notice: Skipping acquire of configured file 'main/binary-amd64/Packages' as > repository 'https://weewx.com/apt/python3 buster InRelease' doesn't support > architecture 'amd64' > > To make that go away, append Architectures: all to weewx.sources like so: > > Types: deb > URIs: https://weewx.com/apt/python3/ > Suites: buster > Components: main > Signed-By: /etc/apt/trusted.gpg.d/weewx.gpg > Architectures: all > > That is it. > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/weewx-user/b06de49a-2b98-448c-901f-3568fa961198n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/A6705650-5BF4-40DB-9ED1-42B126C23955%40gmail.com.
