zulip-desktop icon indicating copy to clipboard operation
zulip-desktop copied to clipboard

Use arch=amd64 in APT sources to avoid warnings on multiarch systems.

Open alexrp opened this issue 1 year ago • 1 comments

I do development for various architectures, so I have my Ubuntu system set up to use multiarch. Since Zulip does not specify an architecture in its APT sources, I get this during apt update:

N: Skipping acquire of configured file 'main/binary-ppc64el/Packages' as repository 'https://download.zulip.com/desktop/apt stable InRelease' doesn't support architecture 'ppc64el'
N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'https://download.zulip.com/desktop/apt stable InRelease' doesn't support architecture 'armhf'
N: Skipping acquire of configured file 'main/binary-s390x/Packages' as repository 'https://download.zulip.com/desktop/apt stable InRelease' doesn't support architecture 's390x'
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://download.zulip.com/desktop/apt stable InRelease' doesn't support architecture 'arm64'
N: Skipping acquire of configured file 'main/binary-riscv64/Packages' as repository 'https://download.zulip.com/desktop/apt stable InRelease' doesn't support architecture 'riscv64'

The fix is simply to set [arch=amd64] so APT knows to only fetch packages for that architecture instead of all enabled architectures.

See also: https://github.com/zulip/zulip/pull/30310

alexrp avatar Jun 05 '24 04:06 alexrp

Just noting that, despite i386 being available in the repository, I excluded it since there doesn't seem to be an actual package produced for it, and so listing i386 in the sources could be misleading for users.

alexrp avatar Jun 05 '24 23:06 alexrp