[Bug 2137303] Re: PROPOSAL: "apt modernize-sources" add "Architectures: amd64" to .sources repo file
David Kalnischkies
2137303 at bugs.launchpad.net
Thu Jan 1 20:26:55 UTC 2026
If they only used amd64, they would not have i386 also enabled – they
use it probably only for a specific subset of packages, but apt can't
really know that. If we were talking about e.g. a wine-related
repository this proposed modernization would certainly break things
(although wine64 is supposed to run 32bit stuff without wine32 in
newer/future versions). So this can't be done and is hence an invalid
bug/suggestion.
Anyway, the repo could declare in its Release file "Architectures:
amd64 i386" indicating that it indeed supports i386 – which doesn't mean
that it provides packages for it, it doesn't even need a Packages file –
but it says that if you have i386 enabled on your system it isn't going
to explode if you install packages from this repo (due to semi-hidden
Multi-Arch mismatches or such stuff). So, support in the sense of "We
tested this. It should not create problems. If it does, we will fix it."
Clearly they haven't, or they would have seen the warning themselves and
had looked for a solution. You are hence using a configuration that is
not tested nor supported by this repo and could cause a myriad of
problems nobody will help you with. A warning seems like a good idea in
this case. (Adding Architecture: in the sources file stops the warning,
too, but does nothing about the problem – apt just assumes that its
gonna be fine because the user knows what they are doing hopefully)
** Changed in: apt (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2137303
Title:
PROPOSAL: "apt modernize-sources" add "Architectures: amd64" to
.sources repo file
Status in apt package in Ubuntu:
Invalid
Bug description:
PROPOSAL: "apt modernize-sources" add "Architectures: amd64" to .sources repository file
most (K)UBUNTU (or deb based Linux) users are running x64 Linux, this will only use/search for x64 packages
To prevent this Waring: (mariadb example)
"Notice: Skipping access to the file 'main/binary-i386/Packages' specified in the configuration
because the package repository 'https://mirror.mariadb.org/repo/12.rolling/ubuntu plucky InRelease'
does not support the 'i386' architecture"
Example:
X-Repolib-Name: MariaDB
Types: deb
URIs: https://mirror.mariadb.org/repo/12.rolling/ubuntu/
Suites: plucky
Enabled: yes
Components: main
Architectures: amd64
Signed-By: /etc/apt/trusted.gpg.d/MariaDB_Signing_Key.asc
--
thank you
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: apt 3.1.12
ProcVersionSignature: Ubuntu 6.18.0-8.8-generic 6.18.0
Uname: Linux 6.18.0-8-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Wed Dec 31 10:46:59 2025
InstallationDate: Installed on 2025-12-29 (2 days ago)
InstallationMedia: Kubuntu 26.04 LTS "Resolute Raccoon" - Daily amd64 (20251228)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2137303/+subscriptions
More information about the foundations-bugs
mailing list