Closed jredrejo closed 2 years ago
This seems specific to 22.10, as we have performed critical workflows testing on 22.04 LTS, where Kolibri installs and runs without any issues whatsoever.
For cross-reference: https://github.com/iiab/iiab/issues/3343#issuecomment-1232043584
jose@jose-VirtualBox:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.10
DISTRIB_CODENAME=kinetic
DISTRIB_DESCRIPTION="Ubuntu Kinetic Kudu (development branch)"
jose@jose-VirtualBox:~$ dpkg -l |grep markdown
jose@jose-VirtualBox:~$ dpkg -l|grep samba
ii libldb2:amd64 2:2.5.2+samba4.16.4-2ubuntu1 amd64 LDAP-like embedded database - shared library
ii samba-libs:amd64 2:4.16.4+dfsg-2ubuntu1 amd64 Samba core libraries
jose@jose-VirtualBox:~$ dpkg -l kolibri
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-=====================-============-=======================================
ii kolibri 0.15.7~beta1-0ubuntu1 all The offline app for universal education
@holta commented on Thu Aug 18 2022
Here's the error message just in case someone wants to keep an eye on Ubuntu 22.10's Oct 20th upcoming release:
CLARIF: This is the Ansible output when https://internet-in-a-box.org tries to install Kolibri 0.15.6 onto the latest daily build of Ubuntu Server 22.10
The actual "6 lines of code" to
apt install kolibri
from PPA are here:https://github.com/iiab/iiab/blob/9ea5d3ff41837b38a12ca5fe2a8349ae61e31563/roles/kolibri/tasks/install.yml#L48-L115
@holta commented on Thu Aug 18 2022
Also FYI Kolibri is storing its apt signing key in a way that Debian and Ubuntu no longer support — see this
apt update
output which explains:@holta commented on Thu Aug 18 2022
ASIDE — To recover the Ubuntu 22.10 machine to a more pristine state (so as to remove the above-mentioned
apt update
warning) I did the following: (just FYI)@rtibbles commented on Thu Aug 18 2022
Note that this is the same issue as this error: https://github.com/learningequality/kolibri/issues/9583
It seems that the Python
markdown
library has changed how it encodes its version information which breaks certain versions of Django REST Framework.Is the Python
markdown
package installed by default on Ubuntu 22.10, or has this been installed from somewhere else?@holta commented on Thu Aug 18 2022
Apparently not. Regardless whether apt package
markdown
and/orpython3-markdown
is/are relevant?FWIW
python3-markdown
appears to have been installed by samba apt packages on this particular Ubuntu 22.10 ("everything-but-the-kitchen-sink") Internet-in-a-Box testing machine:@rtibbles does that help?
(Do you need anything else before this machine is wiped?)
@jredrejo commented on Thu Aug 18 2022
How does samba depend on python3-markdown? that's ridiculous. I see at https://packages.ubuntu.com/kinetic/samba that's a recommendation, so it can be uninstalled. We'll set a conflict between kolibri package and python3-markdown >= 3.4 to avoid this problem. Thanks for the report!
@holta commented on Thu Aug 18 2022
No idea why samba packages drag in
python3-markdown
Curious indeed (-: