Installation problems on Mint/Ubuntu 20
Dear Kwant Community,
I was trying to install Kwant on Linux Mint 20, and I think the result would be very similar on Ubuntu 20 as well, although I haven't tested that. I followed the instructions at https://kwant-project.org/install.
$ sudo apt-add-repository -s ppa:kwant-project/ppa
apt-add-repository: error: no such option: -s
$ sudo apt-add-repository ppa:kwant-project/ppa
Cannot add PPA: ''This PPA does not support focal''.
I couldn't add the PPA, so I tried to compile from source:
$ sudo nano /etc/apt/sources.list
# Line added: deb-src http://downloads.kwant-project.org/debian/ stretch-backports main
$ sudo apt-key adv --keyserver pool.sks-keyservers.net --recv-key C3F147F5980F3535
$ sudo apt-get update
$ sudo apt-get build-dep tinyarray kwant
...
The following packages have unmet dependencies.
builddeps:kwant : Depends: python3-tinyarray (>= 1.2) but it is not installable
So I tried to do it separately, first only with tinyarray:
$ sudo apt-get build-dep tinyarray
...
================================ 2 failed, 16 passed, 118 warnings in 0.60 seconds ================================
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd /home/babber/Downloads/temp/tinyarray-1.2.1/.pybuild/cpython3_3.8_tinyarray/build; python3.8 -m pytest ../../../test_tinyarray.py
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 --test-pytest --test-args=../../../test_tinyarray.py returned exit code 13
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 13
make[1]: Leaving directory '/home/babber/Downloads/temp/tinyarray-1.2.1'
make: *** [debian/rules:7: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
E: Build command ‘cd tinyarray-1.2.1 && dpkg-buildpackage -b -uc’ failed.
As you see, no luck this way either.
Could anybody, please, help on how to proceed?
How to build from source with all these errors?
Or otherwise when will we have support for the latest Ubuntu and Mint?
Many thanks in advance!