flathub/com.google.AndroidStudio

Failed to pull from repo :

Closed this issue · 1 comments

It threw the below error while installing AndroidStudio on Ubuntu 20.04 LTS

Linux  5.4.0-42-generic #46-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
$flatpak install com.google.AndroidStudio 
Looking for matches…
Remotes found with refs similar to ‘com.google.AndroidStudio’:

   1) ‘flathub’ (system)
   2) ‘flathub’ (user)

Which do you want to use (0 to abort)? [0-2]: 1

com.google.AndroidStudio permissions:
    ipc                   network               pulseaudio      ssh-auth      wayland      x11      devices      multiarch
    file access [1]       dbus access [2]

    [1] host, xdg-run/keyring
    [2] org.freedesktop.Flatpak, org.freedesktop.Notifications, org.freedesktop.secrets


        ID                                Branch          Op          Remote           Download
 1. [✗] com.google.AndroidStudio          stable          i           flathub          907.6 MB / 928.5 MB

Error: Error pulling from repo: GPG verification enabled, but no signatures found (use gpg-verify=false in remote config to disable)
error: Failed to install com.google.AndroidStudio: Error pulling from repo: GPG verification enabled, but no signatures found (use gpg-verify=false in remote config to disable)

The issue got fixed by running below commands.

$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
$ flatpak install flathub com.google.AndroidStudio
Looking for matches…
Remote ‘flathub’ found in multiple installations:

   1) system
   2) user

Which do you want to use (0 to abort)? [0-2]: 1

com.google.AndroidStudio permissions:
    ipc                   network               pulseaudio      ssh-auth      wayland      x11      devices      multiarch
    file access [1]       dbus access [2]

    [1] host, xdg-run/keyring
    [2] org.freedesktop.Flatpak, org.freedesktop.Notifications, org.freedesktop.secrets


        ID                                        Branch           Op           Remote            Download
 1. [✓] com.google.AndroidStudio.Locale           stable           u            flathub             1.0 kB / 3.3 MB
 2. [✓] com.google.AndroidStudio                  stable           i            flathub           927.1 MB / 928.5 MB

Changes complete.