shutter-project / shutter

Screenshot tool for Linux
https://shutter-project.org/
GNU General Public License v3.0
521 stars 34 forks source link

PPA repo lacks `Release` file #536

Closed vadi2 closed 1 year ago

vadi2 commented 1 year ago

On a brand new Ubuntu 22.04 LTS install, I am getting this when adding the Shutter PPA for the first time:

$ sudo add-apt-repository ppa:shutter/ppa
[sudo] password for vadi: 
Repository: 'deb https://ppa.launchpadcontent.net/shutter/ppa/ubuntu/ jammy main'
Description:
This is the official Shutter repository - it is recommended to use this to keep your Shutter easily updated for Ubuntu 20.04, 21.04 and 21.10 users (in Ubuntu 22.04 Shutter is already included in the official repositories). 

If you use the old unofficial repository with one of these Ubuntu versions, please remove it first with

$ sudo add-apt-repository -r ppa:linuxuprising/shutter

The PPA has been updated with the latest Shutter (which uses GTK3) for Ubuntu 20.04, 21.04 and 21.10.

To add the PPA and install Shutter, use:

$ sudo add-apt-repository ppa:shutter/ppa
$ sudo apt-get update #for Linux Mint only, this is done automatically on Ubuntu
$ sudo apt install shutter

You may also install the optional gnome-web-photo (which depends on some old libraries) from this PPA to capture full website screenshots with Shutter:

$ sudo apt install gnome-web-photo

To have a tray icon when using GNOME Shell with the Ubuntu AppIndicators extension, the PPA package installs "gir1.2-appindicator3-0.1" as a "recommended" package (not as a hard dependency, so it's not forced on every desktop environment). In case you're missing the tray icon, see if you have the "gir1.2-appindicator3-0.1" package installed:

$ sudo apt install gir1.2-appindicator3-0.1
More info: https://launchpad.net/~shutter/+archive/ubuntu/ppa
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Adding deb entry to /etc/apt/sources.list.d/shutter-ubuntu-ppa-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/shutter-ubuntu-ppa-jammy.list
Adding key to /etc/apt/trusted.gpg.d/shutter-ubuntu-ppa.gpg with fingerprint 5017D4931D0ACADE295B68ADFC6D7D9D009ED615
Hit:1 http://nl.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://nl.archive.ubuntu.com/ubuntu jammy-updates InRelease                                                    
Hit:3 http://nl.archive.ubuntu.com/ubuntu jammy-backports InRelease                                                                                                                        
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]                                                                                                                  
Hit:5 https://repo.steampowered.com/steam stable InRelease                                             
Ign:6 https://ppa.launchpadcontent.net/shutter/ppa/ubuntu jammy InRelease                        
Err:7 https://ppa.launchpadcontent.net/shutter/ppa/ubuntu jammy Release                     
  404  Not Found [IP: 185.125.190.52 443]
Reading package lists... Done      
E: The repository 'https://ppa.launchpadcontent.net/shutter/ppa/ubuntu jammy 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.
$
Photon89 commented 1 year ago

I think, the PPA hasn't been updated for jammy, because Shutter is already available from the official repos there. Do you want to use the PPA to get gnome-web-photo?

vadi2 commented 1 year ago

Ah, no, I forgot that it's officially available now. My bad.