Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from
Closed

Conversation

alexrp
Copy link

@alexrp alexrp commented Jun 5, 2024

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: zulip/zulip#30310

@alexrp
Copy link
Author

alexrp commented Jun 5, 2024

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 alexrp closed this Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants