Bug#1107869: apt: modernize-sources discards arch=

Ben Morris <[email protected]>
Newsgroups gmane.linux.debian.apt.devel
Message-ID <175006825191.4996.6209709514763813215.reportbug__6627.25841846026$1750068808$gmane$org@serenity.lan>
Package: apt
Version: 3.0.2
Severity: normal
User: [email protected]
Usertags: multiarch

Dear Maintainer,

apt modernize-sources has ignored [arch=amd64] from a couple of repos. Because I have a multiarch system, this results in apt update printing warnings every time:

> Notice: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://updates.signal.org/desktop/apt xenial InRelease' doesn't support architecture 'i386'

Adding "Architectures: amd64" to the end of the new sources file prevents this.



Ben Morris

-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- (/etc/apt/preferences.d/apt-listbugs present, but not submitted) --


-- (/etc/apt/preferences.d/forbidden.pref present, but not submitted) --


-- (/etc/apt/preferences.d/wtf.pref present, but not submitted) --


-- (no /etc/apt/sources.list present) --


-- (/etc/apt/sources.list.d/archive_uri-https_ppa_launchpadcontent_net_maveonair_helix-editor_ubuntu-trixie.list.bak present, but not submitted) --


-- (/etc/apt/sources.list.d/archive_uri-https_ppa_launchpadcontent_net_maveonair_helix-editor_ubuntu-trixie.sources present, but not submitted) --


-- (/etc/apt/sources.list.d/debian.sources present, but not submitted) --


-- (/etc/apt/sources.list.d/extrepo_debian_experimental.sources present, but not submitted) --


-- (/etc/apt/sources.list.d/extrepo_google_chrome.sources present, but not submitted) --


-- (/etc/apt/sources.list.d/google-chrome.list.bak present, but not submitted) --


-- (/etc/apt/sources.list.d/google-earth-pro.list.bak present, but not submitted) --


-- (/etc/apt/sources.list.d/google-earth-pro.sources present, but not submitted) --


-- (/etc/apt/sources.list.d/home:paul4us.list.bak present, but not submitted) --


-- (/etc/apt/sources.list.d/home:paul4us.sources present, but not submitted) --


-- /etc/apt/sources.list.d/signal-xenial.list.bak --

deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main

-- /etc/apt/sources.list.d/signal-xenial.sources --

Types: deb
URIs: https://updates.signal.org/desktop/apt/
Suites: xenial
Components: main 
Signed-By: /usr/share/keyrings/signal-desktop-keyring.gpg

-- System Information:
Debian Release: 13.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.32-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt depends on:
ii  adduser                 3.152
ii  base-passwd             3.6.7
ii  debian-archive-keyring  2025.1
ii  libapt-pkg7.0           3.0.2
ii  libc6                   2.41-8
ii  libgcc-s1               14.2.0-19
ii  libseccomp2             2.6.0-2
ii  libssl3t64              3.5.0-2
ii  libstdc++6              14.2.0-19
ii  libsystemd0             257.6-1
ii  sqv                     1.3.0-3

Versions of packages apt recommends:
ii  ca-certificates  20250419

Versions of packages apt suggests:
pn  apt-doc         <none>
ii  aptitude        0.8.13-7
ii  dpkg-dev        1.22.20
ii  gnupg           2.4.7-21
ii  powermgmt-base  1.38

-- no debconf information
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.