Debian Trixie and the new DEB822 source format affects weewx

83 views
Skip to first unread message

Andrew Bauer (Andy)

unread,
Oct 7, 2025, 1:12:44 PM (9 days ago) Oct 7
to weewx-user
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.

matthew wall

unread,
Oct 7, 2025, 8:32:57 PM (8 days ago) Oct 7
to weewx...@googlegroups.com
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
> --
> 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 weewx-user+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/weewx-user/b06de49a-2b98-448c-901f-3568fa961198n%40googlegroups.com.

Jamie Stephens

unread,
Oct 14, 2025, 2:47:21 PM (2 days ago) Oct 14
to weewx-user
thank you for the workaround
Reply all
Reply to author
Forward
0 new messages