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

can't add repo on ubuntu 19.04 #123

Closed superbonaci closed 4 years ago

superbonaci commented 5 years ago
root@user:~# sudo add-apt-repository ppa:nathan-renniewaldock/flux
 GUI for f.lux
https://justgetflux.com/

Bugs/feature requests should be directed to: https://github.com/xflux-gui/xflux-gui
I do not develop this, only provide a PPA.
 More info: https://launchpad.net/~nathan-renniewaldock/+archive/ubuntu/flux
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Hit:1 http://archive.ubuntu.com/ubuntu disco InRelease
Get:2 http://archive.ubuntu.com/ubuntu disco-updates InRelease [97,5 kB]                                                                                                                 
Hit:3 https://dl.winehq.org/wine-builds/ubuntu disco InRelease                                                                                                                              
Hit:4 http://ppa.launchpad.net/lutris-team/lutris/ubuntu disco InRelease                                                                                                                    
Get:5 http://security.ubuntu.com/ubuntu disco-security InRelease [97,5 kB]                                                                                                                  
Ign:6 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                
Hit:7 https://deb.opera.com/opera-stable stable InRelease                                                                                                                                   
Get:8 http://archive.ubuntu.com/ubuntu disco-backports InRelease [88,8 kB]                                                                                                               
Ign:9 http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu disco InRelease                                                        
Hit:10 http://dl.google.com/linux/chrome/deb stable Release                                                                      
Hit:11 http://archive.canonical.com/ubuntu disco InRelease                                                                       
Err:12 http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu disco Release
  404  Not Found [IP: xx.xxx.xx.xx 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu disco Release' does not have a Release file.
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.
abejaranoh commented 5 years ago

There is no folder for disco http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu/dists/

victortosts commented 5 years ago

+1 :upside_down_face:

VitaliyKuznetsov commented 5 years ago

You can make a file in /etc/apt/sources.list.d/ (for example you can name it nathan-renniewaldock-ubuntu-flux-disco.list) and add inside a text: deb http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu bionic main deb-src http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu bionic main This is work really fine for my cosmic (18.10) install but i cant recommend solve problem by that way. Maybe manual install will be better solution

jclaveau commented 5 years ago

sudo nano /etc/apt/sources.list.d/nathan-renniewaldock-ubuntu-flux-disco.list

Adding trusted option fixes the unsecure issue

deb [trusted=yes] http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu disco main

But then apt update gives

http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu/dists/disco/main/binary-amd64/Packages 404 Not Found [IP : 91.189.95.83 80]

And manual install produces

fluxgui Traceback (most recent call last): File "/usr/local/bin/fluxgui", line 17, in from fluxgui.fluxapp import main File "/usr/local/lib/python3.7/dist-packages/fluxgui/fluxapp.py", line 8, in gi.require_version('AppIndicator3', '0.1') File "/usr/lib/python3/dist-packages/gi/init.py", line 129, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace AppIndicator3 not available

abejaranoh commented 5 years ago

well... there is no folder with the packages for Disco. and the latest upate is from 2017

ntc2 commented 5 years ago

The PPA is maintained by @NHellFire . Perhaps he can help?

superbonaci commented 5 years ago

Can't you add a repo within github?

abejaranoh commented 5 years ago

can I set a ppa too? is there any guide?

superbonaci commented 5 years ago

I'm now on ubuntu 19.04

abejaranoh commented 5 years ago

Folders with packages for bionic (18.04), disco (19.04), eoan (19.10) are on the ppa... please test

NHellFire commented 5 years ago

Launchpad had an issue with not accepting my uploads, it's since been fixed and there should be (reasonably) up-to-date packages for all supported Ubuntu releases.

abejaranoh commented 5 years ago

i dont get it... i just tested it on ubuntu 19.04 and it works.

mwilson-cb commented 4 years ago

Added, tested, and working for me on 19.10.

Minabsapi commented 4 years ago

I confirm it works on Ubuntu 19.04 as well now.

Domminique commented 4 years ago

Had the same while installing Docker on my Ubuntu focal workstation, I solved it by removing the ppa causing the error

sudo add-apt-repository -r ppa:nathan-renniewaldock/flux

superbonaci commented 4 years ago

@Domminique thanks that's it. Luckily when I upgraded from 19.10 to 20.04 all additional repos get disabled, so didn't experience the issue anymore.