thank you for the workaround

On Tuesday, October 7, 2025 at 8:32:57 PM UTC-4 matthew wall wrote:

> 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/c4c7f655-6ca9-4242-9504-f7f5cc15b974n%40googlegroups.com.

Reply via email to