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

Install Kolibri using PPA, which promises auto-upgrades (when you apt update?) #3327

Merged
merged 1 commit into from
Jul 30, 2022

Conversation

holta
Copy link
Member

@holta holta commented Jul 30, 2022

  1. This PR also lists 31 (not just 25) Kolibri languages for variable kolibri_language within those local_vars.yml files that are designed to be human-readable documentation. Building on;

  2. And preserves Kolibri's legacy .deb install method for both testing and emergency override purposes (if you manually specify kolibri_deb_url e.g. in roles/kolibri/defaults/main.yml) as discussed here:

  3. Unfortunately different PPA logic was necessitated on Debian-like OS's (codename: focal) — as compared to Ubuntu-like OS's. But both should work. As outlined in official guidelines: https://kolibri.readthedocs.io/en/latest/install/ubuntu-debian.html#install-from-ppa-repository

  4. This PR was tested on 64-bit RasPiOS Lite on Raspberry Pi 4.

Tangentially related is Kolibri 0.15.6's recent fix of peer-importing of channels e.g. from nearby IIAB machines with URL's like http://box/kolibri :

@holta holta added this to the 8.0 milestone Jul 30, 2022
@holta
Copy link
Member Author

holta commented Jul 30, 2022

  1. This PR was also tested on Ubuntu Server 22.04 on x86_64 (VM) :

    It was EXTREMELY SLOW the 1st time apt install kolibri ran (using codename: jammy), taking 4 min 47 sec (1st test). Then 13 sec (2nd test) and 13 sec (3rd test). All on a fast PC that is much faster than any Raspberry Pi!

    In comparison: this same apt install kolibri step (using codename: focal) took just 43 sec (1st test) and 53 sec (2nd test) and 50 sec (3rd test) when tested on 64-bit RasPiOS Lite on a Raspberry Pi 4.

It's almost as if the jammy version of Kolibri's installer had to be pulled out of cold storage (why almost 5min !?) from http://ppa.launchpad.net/learningequality/kolibri/ubuntu/dists/jammy/ ?

But I guess it's not worth worrying about — if this doesn't happen often (hopefully!)

@holta
Copy link
Member Author

holta commented Jul 30, 2022

So I'll go ahead and merge this:

Such that we can gather feedback from others, as to how long it takes them to install Kolibri onto Ubuntu-like OS's (hopefully not 5min each time!!?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant