New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kontact/flatpak installation fails #4
Comments
I just tried installing it again from scratch and it worked. I wonder if maybe your installation is somewhat corrupted due to the multiple network failures - try completely uninstalling Kontact and the runtimes and installing them again.
This looks like a problem with your gpg-agent or whatever you have set up for GPG. |
About the GPG error I found this issue to already be reported here: flatpak/flatpak#1450 I have a minimum DEBIAN installed, to which I added the (minimal) kde-plasma-desktop, plasma-nm and kdepim. I actually do not know what is handling the GPG stuff in this installation, but understood that the GPG error did NOT appear during the first attempts of using flatpak. Initially it was dealing with installing the org.kde.kontact and there throwing the error about some "Non-prefixed filename org.freedesktop.Akonadi.Control.service in app org.kde.kontact", and subsequently aborting the Kontact installation. The PGP error problem appeared only later on. To me it appears that there are two unrelated problems and both hit me this morning. Unfortunately I can now not continue with tests. I removed and re-added the "flathub" repo in flatpak, purged flatpak, rebooted, installed flatpak and added the repo to it, rebooted, but due to the now immediately appearing GPG error I cannot succeed with any flatpak install repo package anymore. I might have some tiny bit of more information at this point: |
The GPG error was a different one. They fixed it upstream. Back to the Kontact flatpak installation, it unfortunately fails. Here is the most verbose output which I found to generate, run on a fresh, clean, empty install of flatpak itself: XA: Using cached summary for remote flathub (flatpak install:1969): flatpak-WARNING **: Non-prefixed filename org.freedesktop.Akonadi.Control.service in app org.kde.kontact, removing. |
Looks like this is an issue with Flatpak itself (e.g. flathub/org.gpodder.gpodder#5) - it should be fixed in more recent versions of Flatpak (you mentioned Debian stable, right? They probably have a pretty old Flatpak). According to https://flatpak.org/setup/Debian/ there's a backports repo for Jessie that should have a newer Flatpak - could you try that? |
I will report back, but most likely not today anymore - I have to learn about applying backports and then test it again. |
Installation works in Debian 9 "Stretch" (stable) if using the flatpak version from the Backports repository (Stretch-backports), which at the moment is version 1.0.1. It does NOT work using the version 0.8.9 from the stable repository! As "snap" in the background updates itself to the newest version if called (this at least is what I heard, speaking about the snap software itself, not only the then installed snap apps), I did not expect "flatpak" to be inferior in this regard and therefore initially did not even consider to upgrade flatpak to the version in the backports repository. Well, I learned something today. THANK YOU VERY MUCH FOR YOUR PATIENT HELP! AND THANK YOU EVEN MORE FOR HAVING PACKAGED THE UP-TO-DATE KONTACT VERSION AS A FLATPAK! |
No problem, I'm glad it got resolved. I may provide snaps if I ever find out how to make them :-) |
(Before having found this github page, I filed already a bug report on the KDE Bugtracking System as Bug 399331.)
Installation of this flatpak package does not really work by now. In the following you will see that a first installation attempt failed because of a server side error (Bad Gateway) and only some of the necessary flatpak parts became installed. But in a second attempt, when the server answered correctly and the missing flatpak part should have been installed, it failed with a KDE Kontact flatpak package related error message. In a third attempt, another odd error message was thrown, before in a fourth attempt the second (KDE KOntact related) error was on again. I have had to give up after a 5th try, which throwed another odd error message.
Hope this feedback helps to get the flatpak offer polished:
On Debian 9 (Stretch, stable, amd64):
apt install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.kde.kontact
Required runtime for org.kde.kontact/x86_64/stable (org.kde.Platform/x86_64/5.11) is not installed, searching...
Found in remote flathub, do you want to install it? [y/n]: y
Installing: org.kde.Platform/x86_64/5.11 from flathub
12 delta parts, 112 loose fetched; 315878 KiB transferred in 57 seconds
Installing: org.freedesktop.Platform.ffmpeg/x86_64/1.6 from flathub
1 delta parts, 3 loose fetched; 2650 KiB transferred in 1 seconds
Installing: org.kde.Platform.Locale/x86_64/5.11 from flathub
6 metadata, 1 content objects fetched; 15 KiB transferred in 1 seconds
Installing: org.kde.kontact/x86_64/stable from flathub
Receiving delta parts: 0/3 6.6 MB/s 6.6 MB/41.2 MB 5 seconds remaining
error: While pulling app/org.kde.kontact/x86_64/stable from remote flathub: Server returned status 502: Bad Gateway
flatpak install flathub org.kde.kontact
Updating: org.kde.Platform/x86_64/5.11 from flathub
No updates.
Updating: org.freedesktop.Platform.ffmpeg/x86_64/1.6 from flathub
No updates.
Updating: org.kde.Platform.Locale/x86_64/5.11 from flathub
No updates.
Installing: org.kde.kontact/x86_64/stable from flathub
1 delta parts, 1 loose fetched; 1736 KiB transferred in 1 seconds
(flatpak install:21273): flatpak-WARNING **: Non-prefixed filename org.freedesktop.Akonadi.Control.service in app org.kde.kontact, removing.
error: No such file or directory
flatpak install flathub org.kde.kontact
Updating: org.kde.Platform/x86_64/5.11 from flathub
No updates.
Updating: org.freedesktop.Platform.ffmpeg/x86_64/1.6 from flathub
No updates.
Updating: org.kde.Platform.Locale/x86_64/5.11 from flathub
No updates.
Installing: org.kde.kontact/x86_64/stable from flathub
2 metadata, 0 content objects fetched; 569 B transferred in 0 seconds
error: While pulling app/org.kde.kontact/x86_64/stable from remote flathub: Update is older then current version
flatpak install flathub org.kde.kontact
Updating: org.kde.Platform/x86_64/5.11 from flathub
No updates.
Updating: org.freedesktop.Platform.ffmpeg/x86_64/1.6 from flathub
No updates.
Updating: org.kde.Platform.Locale/x86_64/5.11 from flathub
No updates.
Installing: org.kde.kontact/x86_64/stable from flathub
1 metadata, 0 content objects fetched; 569 B transferred in 0 seconds
(flatpak install:21514): flatpak-WARNING **: Non-prefixed filename org.freedesktop.Akonadi.Control.service in app org.kde.kontact, removing.
error: No such file or directory
flatpak install flathub org.kde.kontact
error: GPG signatures found, but none are in trusted keyring
The text was updated successfully, but these errors were encountered: