Opened 8 months ago
Last modified 6 months ago
#23570 needinfo defect
Xubuntu jammy -- Error apt update
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Ubuntu package | Version: | |
Keywords: | Cc: | stoecker |
Description (last modified by )
apt update N: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'https://josm.openstreetmap.de/apt jammy InRelease' doesn't support architecture 'i386'
uname -a Linux name.fritz.box 6.5.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Attachments (0)
Change History (6)
comment:1 by , 8 months ago
Description: | modified (diff) |
---|---|
Owner: | changed from | to
Status: | new → needinfo |
comment:2 by , 8 months ago
Component: | Core → Ubuntu package |
---|
comment:3 by , 8 months ago
Cc: | added |
---|---|
Description: | modified (diff) |
Linux name.fritz.box 6.5.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
The kernel is a 64bit version. Why are you trying to install a 32bit version package? If it is a mixed architecture system you can try to add arch=amd64
as option to the line in the sources.list e.g.:
deb [arch=amd64 signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt jammy universe
Overall, this looks like a Ubuntu bug but we might just add the option to our instructions.
@team: Which architectures are we supporting with our Ubuntu packages?
comment:4 by , 8 months ago
I think we have primarily been supporting the architectures the base OS supports.
Realistically, we could probably migrate to using all
as the architecture (like what ant does).
comment:5 by , 8 months ago
The packages itself are for all systems. But the Debian repo format still expects a matching repo (unlike for yum repos where noarch really means no arch), so only these:
Codename: alldist Architectures: i386 amd64 armhf arm64 source -- Codename: bionic Architectures: i386 amd64 source -- Codename: focal Architectures: i386 amd64 source -- Codename: jammy Architectures: amd64 armhf arm64 source -- Codename: lunar Architectures: amd64 armhf arm64 source -- Codename: mantic Architectures: amd64 armhf arm64 source -- Codename: noble Architectures: amd64 armhf arm64 source
comment:6 by , 6 months ago
Well, I could add the supported architectures to the sources.list in the instructions but I rather prefer that i386
is added for all Ubuntu versions even if the OS does not support it.
Well, considering Ubuntu doesn't support i386 as the boot architecture post 18.04, I'm kind of wondering why your system was trying to get an i386 Java package.
If you must use i386 packages, please change
jammy
toalldist
.With that said, I think this is a user configuration error. Or maybe you just upgraded from 18.04 to 22.04 or something.
Can you try going through the Ubuntu repository setup process for JOSM again?