xflux-gui / fluxgui

Better lighting for Linux. Open source GUI for xflux
https://justgetflux.com/linux.html
Other
2.81k stars 174 forks source link

APT Distribution issue #139

Closed k7faq closed 2 years ago

k7faq commented 4 years ago

pi@raspberrypi:~ $ sudo add-apt-repository ppa:nathan-renniewaldock/flux Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 95, in sp = SoftwareProperties(options=options) File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in init self.reload_sourceslist() File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources (self.id, self.codename)) aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/buster

uname -a Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux

etienne-chrp commented 3 years ago

You are not running a distribution from the Ubuntu family but from the Debian family (Raspbian), this is not following the same release cycle. Hence the distribution Raspbian/buster could not be found by add-apt-repository

I would suggest than you add manually the PPA repo as explained https://launchpad.net/~nathan-renniewaldock/+archive/ubuntu/flux

You might need to add sudo in order to run the following

echo "
deb http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu eoan main 
deb-src http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu eoan main
" > /etc/apt/sources.list.d/fluxgui.repo
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4cdb129629a4b41a
apt update
apt install fluxgui