-
Notifications
You must be signed in to change notification settings - Fork 181
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
Notice when installing from packages.freedom.press #394
Comments
I saw this on my system because I had the Open questions for me:
|
Does the package actually work on non-amd64 architectures? I would assume the container is 64-bit and doesn't work on a i386 system. Also wondering about arm64 systems, those are starting to get more popular on Linux these days... If it doesn't work on all architectures, we should switch the package to |
Thanks for the input @legoktm. You're right, the container is 64-bit, so it wouldn't work on an i386 system. As for arm64 Linux systems, users can build Dangerzone for them (we already do so for MacOS), but that would be a bespoke solution, not something we support. For this reason, we already specify that this package is available only on |
That is the architectures we provide the repository for, but the package itself is marked as being compatible with all architectures:
(also the "all" in the filename gives it away...) Presumably there's a setting for stdeb to set the package to |
Nope, it's hardcoded to check if there are extension modules, and if so, set Maybe if we end up doing something like #323 (comment) we can sed the correct value into place? |
@legoktm Oh, I stand corrected, thanks for pointing that out. So, what you're saying is that we need to get our hands dirty if we want to change the architecture for the package created by Also, since it's a package config issue, I assume that this means that the notice was always was there. If that's the case, then this issue is not a regression, which is good to know. |
A user kindly pointed out that we can restrict this repo to just amd64 packages, by adding
I tested it in a 32-bit Debian container, and the warning message is no longer displayed: Before:
After:
|
A potential issue with this fix though is that if a user is in a 32-bit system, they may erroneously install Dangerzone, which should not be available there. I think the fix that @legoktm suggested is better in the long run, but we haven't managed to work on it yet. |
Running
sudo apt update
on Ubuntu 20.04 currently displays the following notice with our recommended packaging configuration:The text was updated successfully, but these errors were encountered: