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

Problem with repository on Ubuntu 20.04 #1466

Closed
dawidol opened this issue May 2, 2021 · 11 comments
Closed

Problem with repository on Ubuntu 20.04 #1466

dawidol opened this issue May 2, 2021 · 11 comments

Comments

@dawidol
Copy link

dawidol commented May 2, 2021

Hi OONI Team.

I am trying to install ooni-cli on my Raspberry Pi 4b with Ubuntu 20.04. I am following the official instructions but i got this error:

Err:4 https://dl.bintray.com/ooni/ooniprobe-debian unstable InRelease
403 Forbidden [IP: 34.213.218.48 443]
Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Reading package lists... Done
E: Failed to fetch https://dl.bintray.com/ooni/ooniprobe-debian/dists/unstable/InRelease 403 Forbidden [IP: 34.213.218.48 443]
E: The repository 'https://dl.bintray.com/ooni/ooniprobe-debian unstable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Do you have any other repository?

Thanks for all your work

@bassosimone
Copy link
Contributor

Hi @dawidol!

Thank you for reporting this issue to us! 🙂

Bintray has been discontinued, and we're working to create another Debian repository in ooni/probe-cli#314.

I am confident we should complete this task in the next 1-2 days.

Thank you for your patience. Cheers!

@bassosimone
Copy link
Contributor

bassosimone commented May 3, 2021

We solved the technical issues and merged the related pull request (ooni/probe-cli#314). What now remains to do is to update the instructions explaining how to install OONI Probe on Debian. I suppose we should also notify users who have already installed the previous version and are stuck with the previous repository. We should discuss which is the best way to do that.

@dawidol
Copy link
Author

dawidol commented May 3, 2021

Hi
Thank your for the quick reply i will be waiting for the new instructions, any idea on when is going to be?

@bassosimone
Copy link
Contributor

bassosimone commented May 4, 2021

So, these are the new instructions (copied from the relevant ooni.org PR: ooni/ooni.org#863)

  1. sudo apt-key adv --verbose --keyserver hkp://keyserver.ubuntu.com --recv-keys 'B5A08F01796E7F521861B449372D1FF271F2DD50'

  2. echo "deb http://deb.ooni.org/ unstable main" | sudo tee /etc/apt/sources.list.d/ooniprobe.list

  3. sudo apt-get update

  4. sudo apt-get install ooniprobe-cli

Would you mind testing them? Thank you!

@dawidol
Copy link
Author

dawidol commented May 4, 2021

Hello.
Well i got this error now

N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'http://deb.ooni.org unstable InRelease' doesn't support architecture 'arm64'

I guess it is because i am using Ubuntu 20.04 on a Raspberry Pi 4. Since we want to run daily test on several test, we want to do it with cron on a computer available 24/7. Any other suggestion/idea that may work?

Thanks again.

bassosimone added a commit to ooni/probe-cli that referenced this issue May 5, 2021
In ooni/probe#1466, a user is asking
about arm64 builds for Debian. We already had some code for that
in #311. Let us adapt the
code to the `./make` script to have arm64 builds.
bassosimone added a commit to ooni/probe-cli that referenced this issue May 5, 2021
The previous composition strategy was such that it was difficult
to compose functions returning a value.

This new composition strategy is better because it allows us to
return values, which is definitely going to help us.

Part of ooni/probe#1466.
bassosimone added a commit to ooni/probe-cli that referenced this issue May 5, 2021
The previous composition strategy was such that it was difficult
to compose functions returning a value.

This new composition strategy is better because it allows us to
return values, which is definitely going to help us.

Part of ooni/probe#1466.
bassosimone added a commit to ooni/probe-cli that referenced this issue May 5, 2021
The previous fix allowed us to return values directly from
implementations of Engine. Here we take advantage of this
possibility by immediately refactoring how backticks work.

Part of ooni/probe#1466.
bassosimone added a commit to ooni/probe-cli that referenced this issue May 5, 2021
The previous fix allowed us to return values directly from
implementations of Engine. Here we take advantage of this
possibility by immediately refactoring how backticks work.

Part of ooni/probe#1466.
bassosimone added a commit to ooni/probe-cli that referenced this issue May 5, 2021
Further simplifies working with the environment.

Part of ooni/probe#1466.
bassosimone added a commit to ooni/probe-cli that referenced this issue May 5, 2021
Further simplifies working with the environment.

Part of ooni/probe#1466.
bassosimone added a commit to ooni/probe-cli that referenced this issue May 5, 2021
After all the refactoring done so far, we can run checks directly
inside of `make`, because we have auto-cleanup, temporary environments
and we don't need wrapper scripts anymore.

Part of ooni/probe#1466.
bassosimone added a commit to ooni/probe-cli that referenced this issue May 5, 2021
After all the refactoring done so far, we can run checks directly
inside of `make`, because we have auto-cleanup, temporary environments
and we don't need wrapper scripts anymore.

Part of ooni/probe#1466.
bassosimone added a commit to ooni/probe-cli that referenced this issue May 5, 2021
In ooni/probe#1466, a user is asking
about arm64 builds for Debian. We already had some code for that
in #311. Let us adapt the
code to the `./make` script to have arm64 builds.
bassosimone added a commit to ooni/probe-cli that referenced this issue May 5, 2021
In ooni/probe#1466, a user is asking
about arm64 builds for Debian. We already had some code for that
in #311. Let us adapt the
code to the `./make` script to have arm64 builds.

While there, also adapt the code for darwin and windows.
bassosimone added a commit to ooni/probe-cli that referenced this issue May 5, 2021
Just consistency. There was no clear semantic regarding why
sometimes I was using __name and sometimes _name.

So prefer _name everywhere.

Occurred to me while working on ooni/probe#1466.
@bassosimone
Copy link
Contributor

bassosimone commented May 7, 2021

It should be working now! I've just installed ooniprobe-cli 3.10.0-beta.1~834 on debian/arm64. (This is the build that generated this package: https://github.com/ooni/probe-cli/pull/337/checks?check_run_id=2524891027.)

bassosimone added a commit to ooni/probe-cli that referenced this issue May 7, 2021
We're still working on ooni/probe#1466. The idea here is to teach the GH action for Linux to publish the debian package for arm64. When this is done, we can cleanup legacy build scripts and GH actions, because there is no remaining use case for them: we now build everything using the `./make` tool.
bassosimone added a commit to ooni/probe-cli that referenced this issue May 7, 2021
bassosimone added a commit to ooni/probe-cli that referenced this issue May 7, 2021
bassosimone added a commit to ooni/probe-cli that referenced this issue May 7, 2021
bassosimone added a commit to ooni/probe-cli that referenced this issue May 7, 2021
@bassosimone
Copy link
Contributor

@dawidol, I am going to close this issue. Please, let us know if you have other issues with using OONI on arm64. Cheers!

@bassosimone
Copy link
Contributor

As far as project management/self-tracking is concerned: I have also started additional work to package for armv7 and 386, while I was touching this part of the codebase. This effort, though, should continue in #1334.

@dawidol
Copy link
Author

dawidol commented May 7, 2021

Hi @bassosimone thanks you for your work and support, everything is working now, testing from latin america, now.

Thanks again.

ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
The previous composition strategy was such that it was difficult
to compose functions returning a value.

This new composition strategy is better because it allows us to
return values, which is definitely going to help us.

Part of ooni/probe#1466.
ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
The previous fix allowed us to return values directly from
implementations of Engine. Here we take advantage of this
possibility by immediately refactoring how backticks work.

Part of ooni/probe#1466.
ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
Further simplifies working with the environment.

Part of ooni/probe#1466.
ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
After all the refactoring done so far, we can run checks directly
inside of `make`, because we have auto-cleanup, temporary environments
and we don't need wrapper scripts anymore.

Part of ooni/probe#1466.
ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
In ooni/probe#1466, a user is asking
about arm64 builds for Debian. We already had some code for that
in ooni#311. Let us adapt the
code to the `./make` script to have arm64 builds.

While there, also adapt the code for darwin and windows.
ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
Just consistency. There was no clear semantic regarding why
sometimes I was using __name and sometimes _name.

So prefer _name everywhere.

Occurred to me while working on ooni/probe#1466.
ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
* doc(make): add not about qemu-user-static

While still investigating ooni/probe#1466

* feat(make): sign more generated binaries

While there, fix an annoying bug where the context manager
was suppressing exceptions that occurred.

Work part of ooni/probe#1466.
ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
1. reduce the number of periodic builds

2. just build as part of the release process in most cases

3. shorttests duplicates coverage

Preliminary changes as part of ooni/probe#1466
ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
…quently (ooni#333)

Like in the previous PR, here we make macos and windows builds only run when we're preparing a release. While there, migrate the code to use the `./make` script. Tested in ooni#331.

Reference issue is ooni/probe#1466
ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
…oni#334)

While there, flush `print`s in `./make` to have more understandable logging.

Also part of ooni/probe#1466
ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
This PR	groups misc cleanup and changes from ooni#331.

* CLI/linux/build: add documentation

* debian/.gitignore: ignore generated files

* debian/TODO: unnecessary at this point

* debian/ooniprobe-cli.service: remove commented out lines

* debian/rules: remove unnecessary actions

* make: reindent and fix spelling

* smoketest.sh: don't run in verbose mode

Part of ooni/probe#1466
ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
Part of ooni/probe#1466. We're building both `arm64` and `amd64`. We are still not publishing `arm64` packages, which is what is asked in the original issue, but we're really close to doing that.
ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
We're still working on ooni/probe#1466. The idea here is to teach the GH action for Linux to publish the debian package for arm64. When this is done, we can cleanup legacy build scripts and GH actions, because there is no remaining use case for them: we now build everything using the `./make` tool.
ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants