xflux-gui / fluxgui

Better lighting for Linux. Open source GUI for xflux

Home Page:https://justgetflux.com/linux.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ubuntu] - can't add repo on ubuntu 20.04 (Focal Fossa)

rajattrt opened this issue · comments

Console error -

(p36) rajat@rajat:/usr/local/lib/python3.6$ sudo add-apt-repository ppa:nathan-renniewaldock/flux
[sudo] password for rajat: 
 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://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease                                                                               
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                         
Hit:3 http://packages.microsoft.com/repos/vscode stable InRelease                                                                                    
Hit:4 http://in.archive.ubuntu.com/ubuntu focal InRelease                                                                      
Hit:5 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease                                        
Get:6 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]                                
Hit:7 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease           
Ign:8 http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu focal InRelease
Err:9 http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu focal Release                 
  404  Not Found [IP: 2001:67c:1560:8008::15 80]
Get:10 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24.3 kB]  
Get:11 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [55.4 kB]
Reading package lists... Done                
E: The repository 'http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu focal 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.

OS info -

(p36) rajat@rajat:/usr/local/lib/python3.6$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

there is no package for focal yet. you can as workaround: change the line on your sources.list from "focal" to "bionic". that might work

there is no package for focal yet. you can as workaround: change the line on your sources.list from "focal" to "bionic". that might work

This worked for me. Thanks! Someone should put these instructions in the readme file

there is no package for focal yet. you can as workaround: change the line on your sources.list from "focal" to "bionic". that might work

For me it didn't work, I am getting the following error after updating to bionic:

shipra@localhost:/etc/apt/sources.list.d$ sudo apt-get update
Hit:1 http://in.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease                                            
Get:3 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]                                       
Hit:4 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease                                          
Hit:5 http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu bionic InRelease                             
Hit:6 http://security.ubuntu.com/ubuntu focal-security InRelease    
Hit:7 http://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_20.04  InRelease
Err:3 http://dl.google.com/linux/chrome/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
Get:8 http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu bionic/main Sources [748 B]
Reading package lists... Done   
W: GPG error: http://dl.google.com/linux/chrome/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
E: The repository 'http://dl.google.com/linux/chrome/deb stable InRelease' is not signed.
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.

Hi Shipra,

be aware that the line causing the error is the one for "chrome" and not the one for fluxgui. So you can go on with the install

In case someone doesn't know how to find the file to be edited and what to change:

  • Edit this file with sudo: sudo vim /etc/apt/sources.list.d/nathan-renniewaldock-ubuntu-flux-groovy.list
  • Change where it says groovy for bionic
  • Try installing the app again with: sudo apt-get install fluxgui

Thanks for the tip @abejaranoh

@abejaranoh Should I add this modification to README.md?

@abejaranoh Should I add this modification to README.md?

yes please

@abejaranoh Should I add this modification to README.md?

yes please

Added the PR #146

The PPA hasn't been updated since 2019 -- and it's not maintained by me -- so I don't think this is going to happen: https://launchpad.net/~nathan-renniewaldock/+archive/ubuntu/flux