Problem installing Flatpak

Moderator: Forum moderators

Post Reply
DelianST
Posts: 2
Joined: Fri Mar 17, 2023 3:48 pm

Problem installing Flatpak

Post by DelianST »

Hello!
I am running Fossapup64 on a usb and I wanted to install a flatpak app. So I followed this tutorial viewtopic.php?t=647

But I ran into an error while trying to add the the flathub repo.

Code: Select all

root# flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

** (flatpak remote-add:7002): WARNING **: 17:54:40.560: Unable to register authentication agent: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files
error: Can't load uri https://flathub.org/repo/flathub.flatpakrepo: Unacceptable TLS certificate

I would appreciate any help! Thanks in advance!

DelianST
Posts: 2
Joined: Fri Mar 17, 2023 3:48 pm

Re: Problem installing Flatpak

Post by DelianST »

I managed to fix it by replacing https://flathub.org/repo/flathub.flatpakrepo to https://dl.flathub.org/repo/flathub.flatpakrepo
But when I am downloading flatpak apps I am getting this error:

Code: Select all

root# flatpak install flathub net.minetest.Minetest

** (flatpak install:13029): WARNING **: 10:13:21.380: Unable to register authentication agent: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files
Looking for matches…
Required runtime for net.minetest.Minetest/x86_64/stable (runtime/org.freedesktop.Platform/x86_64/22.08) found in remote flathub
Do you want to install it? [Y/n]:

I can still install flatpak apps and run them but I not sure how to fix the warning.

Post Reply

Return to “AppImages, Snaps and Flatpaks”