Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Klutz
Level 1
Level 1
Posts: 9
Joined: Fri Dec 11, 2015 11:25 am

Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Post by Klutz »

I hope this is the correct thread to post this, but I have a problem with the "Flatpak" section in the new Program Manager: It's empty.

(I tried to install flatpaks in 18.2, but never got anywhere due to errors such as "Invalid crypto engine" "Unable to complete signature verification". I don't know if that has anything to do with my current problem. I purged flatpak completely before I upgraded to 18.3.)

This is what my Flatpak page looks like:

Image
(Except for the black bar. I't just in the image, not the real window. Dunno why that happened.)

When I start it from the terminal, this is the output:

Code: Select all

$ mintinstall
load_cache took 330.564 ms
add_categories took 9.805 ms
build_matched_packages took 0.123 ms
The Flatpak remote flathub could not be scanned: g-io-error-quark: GPG: Unable to complete signature verification: GPGME: Invalid crypto engine (0)
add_packages took 1509.072 ms
process_matching_packages took 1.604 ms
add_reviews took 907.619 ms
Downloading new reviews
update_reviews took 1285.887 ms
add_flatpaks took 2693.059 ms
__init__ took 3106.776 ms
Overwriting reviews file in (home dir)/.cache/mintinstall/reviews.list
update_reviews took 510.413 ms
I'm not sure what logs or other info would be relevant to post.

(Otherwise, Mint is just becoming more and more awespme, so hefty cheers to Clem and all contributors!)
Last edited by Klutz on Tue Nov 28, 2017 12:46 pm, edited 1 time in total.
User avatar
xenopeek
Level 25
Level 25
Posts: 25221
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Post by xenopeek »

Close Software Manager and open the Terminal from your menu and try running the following command:

Code: Select all

flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo
Unless it gives an error, it will have been successful. After doing this start Software Manager again and check the Flatpak category.
Image
almo
Level 1
Level 1
Posts: 4
Joined: Thu Nov 30, 2017 1:28 pm

Re: Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Post by almo »

I have the same problem,I used the command
flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo
but still the flatpak category empty
User avatar
gld59
Level 2
Level 2
Posts: 61
Joined: Thu Nov 30, 2017 11:05 pm
Location: Australia

Re: Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Post by gld59 »

Are the people having problems using 32- or 64-bit Mint?

I've installed both (MATE) versions on different machines - the 64-bit shows available Flatpak apps, but the 32-bit doesn't. Using the terminal on the 32-bit machine I was able to see that Flatpak itself and the Flathub repo were installed, and I installed an app (which started up ok). Mintinstall *still* didn't show anything in that category, so if my experience is replicated by others perhaps the problem is with 32-bit Mintinstall.
almo
Level 1
Level 1
Posts: 4
Joined: Thu Nov 30, 2017 1:28 pm

Re: Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Post by almo »

I am using Cinnamon 32-bit
Klutz
Level 1
Level 1
Posts: 9
Joined: Fri Dec 11, 2015 11:25 am

Re: Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Post by Klutz »

The repo was already installed here. The command flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo just gives me error: Remote flathub already exists.

I suspect the problem may not be flatpak itself, but Gnome's crypto/key thingy. I've googled loads of pages that mention the error, but none of them have a solution.

I'm using the 64bit version, btw.
User avatar
xenopeek
Level 25
Level 25
Posts: 25221
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Post by xenopeek »

If you get "error: Remote flathub already exists" please try removing it first with flatpak remote-delete flathub and then add it back with flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo

For the others, please try these commands and share any output you get here:
flatpak update
and:
flatpak remote-ls flathub
Image
Klutz
Level 1
Level 1
Posts: 9
Joined: Fri Dec 11, 2015 11:25 am

Re: Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Post by Klutz »

None of this works (and I'd already tried all of it):
flatpak remote-delete flathub

flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo
error: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code0: GPG: Unable to import keys: GPGME: Invalid crypto engine


flatpak update
Looking for updates...
Error updating remote metadata for 'flathub': GPG: Unable to complete signature verification: GPGME: Invalid crypto engine


flatpak remote-ls flathub
error: GPG: Unable to complete signature verification: GPGME: Invalid crypto engine


It very much seems like Gnome is the culprit here, not flatpak. I've also tried to purge and then reinstall some of the Gnome stuff I thought might have something to do with this, but to no avail.
almo
Level 1
Level 1
Posts: 4
Joined: Thu Nov 30, 2017 1:28 pm

Re: Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Post by almo »

Code: Select all

~ $ flatpak remote-delete flathub
~ $ flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo
~ $ flatpak update
Looking for updates...
~ $ flatpak remote-ls flathub
Ref                                       
ca._0ldsk00l.Nestopia                     
ca.desrt.dconf-editor                     
ch.x29a.playitslowly                      
com.bixense.PasswordCalculator            
com.frac_tion.teleport                    
com.github.JannikHv.Gydl                  
com.github.babluboy.bookworm              
com.github.bajoja.indicator-kdeconnect    
com.github.dahenson.agenda                
com.github.geigi.cozy                     
com.github.gkarsay.parlatype              
com.github.needleandthread.vocal          
com.github.ojubaorg.Othman                
com.github.philip_scott.notes-up          
com.github.philip_scott.spice-up          
com.github.quaternion                     
com.github.rssguard                       
com.github.wwmm.pulseeffects              
com.googleplaymusicdesktopplayer.GPMDP    
com.grangerhub.Tremulous                  
com.play0ad.zeroad                        
com.scoutshonour.Digital                  
com.snes9x.Snes9x                         
com.spotify.Client                        
com.teeworlds.Teeworlds                   
com.transmissionbt.Transmission           
com.tux4kids.tuxmath                      
com.tux4kids.tuxtype                      
com.uploadedlobster.peek                  
com.vinszent.GnomeTwitch                  
de.haeckerfelix.gradio                    
de.manuel_kehl.go-for-it                  
fr.free.Homebank                          
io.atom.electron.BaseApp                  
io.elementary.code                        
io.github.Cockatrice.cockatrice           
io.github.EndlessSky.endless-sky          
io.github.Freedoom-Phase-1                
io.github.Freedoom-Phase-2                
io.github.GnomeMpv                        
io.github.Hexchat                         
io.github.Pithos                          
io.github.cloose.CuteMarkEd               
io.gitlab.osslugaru.Lugaru                
io.mgba.mGBA                              
io.thp.numptyphysics                      
net.blockout.BlockOutII                   
net.mediaarea.MediaInfo                   
net.minetest.Minetest                     
net.olofson.KoboDeluxe                    
net.openra.OpenRA                         
net.pcsx2.PCSX2                           
net.sourceforge.ExtremeTuxRacer           
net.sourceforge.Klavaro                   
net.sourceforge.Ri-li                     
net.sourceforge.TuxFootball               
net.sourceforge.atanks                    
net.sourceforge.btanks                    
net.sourceforge.chromium-bsu              
net.sourceforge.mars-game                 
net.sourceforge.projectM                  
net.sourceforge.torcs                     
net.supertuxkart.SuperTuxKart             
nl.openoffice.bluefish                    
org.armagetronad.ArmagetronAdvanced       
org.audacityteam.Audacity                 
org.baedert.corebird                      
org.blender.Blender                       
org.darktable.Darktable                   
org.debian.TuxPuck                        
org.fedoraproject.MediaWriter             
org.filezillaproject.Filezilla            
org.freeciv.Freeciv                       
org.freedesktop.BasePlatform              
org.freedesktop.BaseSdk                   
org.freedesktop.Bustle                    
org.freedesktop.GlxInfo                   
org.freedesktop.Platform                  
org.freedesktop.Platform.GL.default       
org.freedesktop.Platform.GL.nvidia-304-134
org.freedesktop.Platform.GL.nvidia-304-135
org.freedesktop.Platform.GL.nvidia-340-101
org.freedesktop.Platform.GL.nvidia-340-102
org.freedesktop.Platform.GL.nvidia-340-104
org.freedesktop.Platform.GL.nvidia-367-57 
org.freedesktop.Platform.GL.nvidia-370-28 
org.freedesktop.Platform.GL.nvidia-375-26 
org.freedesktop.Platform.GL.nvidia-375-39 
org.freedesktop.Platform.GL.nvidia-375-66 
org.freedesktop.Platform.GL.nvidia-375-82 
org.freedesktop.Platform.GL.nvidia-378-13 
org.freedesktop.Platform.GL.nvidia-381-09 
org.freedesktop.Platform.GL.nvidia-381-22 
org.freedesktop.Platform.GL.nvidia-384-47 
org.freedesktop.Platform.GL.nvidia-384-59 
org.freedesktop.Platform.GL.nvidia-384-69 
org.freedesktop.Platform.GL.nvidia-384-90 
org.freedesktop.Platform.GL.nvidia-384-98 
org.freedesktop.Platform.GL.nvidia-387-12 
org.freedesktop.Platform.GL.nvidia-387-22 
org.freedesktop.Platform.GL.nvidia-387-34 
org.freedesktop.Platform.Icontheme.Adwaita
org.freedesktop.Platform.Icontheme.Paper  
org.freedesktop.Platform.VAAPI.Intel      
org.freedesktop.Sdk                       
org.freedesktop.Sdk.Docs                  
org.freedesktop.Sdk.Extension.gfortran-62 
org.freedesktop.Sdk.Extension.mono5       
org.freedesktop.Sdk.Extension.openjdk9    
org.freedesktop.Sdk.Extension.rust-stable 
org.frozen_bubble.frozen-bubble           
org.geogebra.GeoGebra                     
org.gimp.GIMP                             
org.gna.Warmux                            
org.gnode.NixView                         
org.gnome.Books                           
org.gnome.Builder                         
org.gnome.Calculator                      
org.gnome.Calendar                        
org.gnome.Characters                      
org.gnome.Devhelp                         
org.gnome.Dictionary                      
org.gnome.Documents                       
org.gnome.Eolie                           
org.gnome.Epiphany                        
org.gnome.Evince                          
org.gnome.FeedReader                      
org.gnome.Fractal                         
org.gnome.Games                           
org.gnome.Geary                           
org.gnome.Glade                           
org.gnome.Hitori                          
org.gnome.Lollypop                        
org.gnome.Maps                            
org.gnome.Nautilus                        
org.gnome.Photos                          
org.gnome.Platform                        
org.gnome.Polari                          
org.gnome.Recipes                         
org.gnome.Rhythmbox3                      
org.gnome.Sdk                             
org.gnome.Sdk.Docs                        
org.gnome.Todo                            
org.gnome.Totem                           
org.gnome.Weather                         
org.gnome.bijiben                         
org.gnome.clocks                          
org.gnome.eog                             
org.gnome.frogr                           
org.gnome.gbrainy                         
org.gnome.gedit                           
org.gnome.gitg                            
org.gnome.iagno                           
org.gnucash.GnuCash                       
org.godotengine.Godot                     
org.gottcode.FocusWriter                  
org.gtk.Gtk3theme.Adapta                  
org.gtk.Gtk3theme.Adapta-Eta              
org.gtk.Gtk3theme.Adapta-Nokto            
org.gtk.Gtk3theme.Adapta-Nokto-Eta        
org.gtk.Gtk3theme.Ambiance                
org.gtk.Gtk3theme.Arc                     
org.gtk.Gtk3theme.Arc-Dark                
org.gtk.Gtk3theme.Arc-Dark-solid          
org.gtk.Gtk3theme.Arc-Darker              
org.gtk.Gtk3theme.Arc-Darker-solid        
org.gtk.Gtk3theme.Arc-solid               
org.gtk.Gtk3theme.Breeze                  
org.gtk.Gtk3theme.Breeze-Dark             
org.gtk.Gtk3theme.Greybird                
org.gtk.Gtk3theme.Pop                     
org.gtk.Gtk3theme.Pop-light               
org.inkscape.Inkscape                     
org.kde.Platform                          
org.kde.Sdk                               
org.kde.Sdk.Docs                          
org.libreoffice.LibreOffice               
org.libretro.RetroArch                    
org.megaglest.MegaGlest                   
org.musicbrainz.Picard                    
org.mypaint.MyPaint                       
org.nextcloud.Nextcloud                   
org.openmw.OpenMW                         
org.ppsspp.PPSSPP                         
org.quassel_irc.QuasselClient             
org.quetoo.Quetoo                         
org.seul.pingus                           
org.subsurface_divelog.Subsurface         
org.supertuxproject.SuperTux              
org.telegram.desktop                      
org.tordini.flavio.Minitube               
org.tuxfamily.XMoto                       
org.tuxpaint.Tuxpaint                     
org.videolan.VLC                          
org.wesnoth.Wesnoth                       
org.xiphos.Xiphos                         
work.openpaper.Paperwork                  
ws.openarena.OpenArena                    
~ $ 
Still no flathub in the flatpak category
User avatar
clem
Level 12
Level 12
Posts: 4205
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Re: Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Post by clem »

@almo, can you run mintinstall from the terminal, click on the flatpak button and paste the output?
Image
User avatar
gld59
Level 2
Level 2
Posts: 61
Joined: Thu Nov 30, 2017 11:05 pm
Location: Australia

Re: Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Post by gld59 »

My problem seems to match almo's, so I'll put mine here.

Code: Select all

 ~ $ mintinstall
load_cache took 1356.561 ms
add_categories took 309.124 ms
build_matched_packages took 0.451 ms
add_packages took 12770.022 ms
process_matching_packages took 6.412 ms
add_reviews took 2634.987 ms
Downloading new reviews
__init__ took 18409.895 ms
update_reviews took 12317.808 ms
add_flatpaks took 17045.159 ms
Overwriting reviews file in /home/gld59/.cache/mintinstall/reviews.list
update_reviews took 2878.449 ms
show_category took 6.048 ms

Sorry, Klutz - almo and I have hijacked your thread. :(
almo
Level 1
Level 1
Posts: 4
Joined: Thu Nov 30, 2017 1:28 pm

Re: Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Post by almo »

Code: Select all

~ $ mintinstall
load_cache took 549.775 ms
add_categories took 31.814 ms
build_matched_packages took 0.310 ms
add_packages took 3332.985 ms
process_matching_packages took 2.941 ms
First run detected, initial set of reviews used
add_reviews took 566.919 ms
Downloading new reviews
__init__ took 5016.291 ms
update_reviews took 1287.249 ms
add_flatpaks took 8861.967 ms
Overwriting reviews file in /home/alaa/.cache/mintinstall/reviews.list
update_reviews took 1263.994 ms
after one click on the flatpak button :

Code: Select all

~ $ mintinstall
load_cache took 549.775 ms
add_categories took 31.814 ms
build_matched_packages took 0.310 ms
add_packages took 3332.985 ms
process_matching_packages took 2.941 ms
First run detected, initial set of reviews used
add_reviews took 566.919 ms
Downloading new reviews
__init__ took 5016.291 ms
update_reviews took 1287.249 ms
add_flatpaks took 8861.967 ms
Overwriting reviews file in /home/alaa/.cache/mintinstall/reviews.list
update_reviews took 1263.994 ms
show_category took 7.983 ms
User avatar
clem
Level 12
Level 12
Posts: 4205
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Re: Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Post by clem »

Hi,

Version 7.8.9 is out. It fixes the empty flatpak category on 32-bit.

We still don't have a fix for people experiencing "GPGME: Invalid crypto engine" errors, though we believe the issue is with libostree (a Flatpak dependency).
Image
Klutz
Level 1
Level 1
Posts: 9
Joined: Fri Dec 11, 2015 11:25 am

Re: Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Post by Klutz »

We still don't have a fix for people experiencing "GPGME: Invalid crypto engine" errors, though we believe the issue is with libostree (a Flatpak dependency).
I've actually solved that problem by updating (i.e. compiling and installing newer versions) of the relevant Gnome keyring/crypto libraries.

I'll post a howto when I get the time. I'm still getting the error message The Flatpak remote flathub could not be scanned: OstreeGpgError:
GPG signatures found, but none are in trusted keyring (2)
though. It doesn't say what packages cause the problem, so the error message isn't helpful at all.

I've been able to install some Flatpak apps, but not all of them, it seems. I'm really stumped as how to import the necessary keys and make them "trusted". The Gnome docs are horrible, and the little Flatpack documentation there is seems to be aimed at developers; while I did find some pertinent search results, the actual Flatpack pages are non-existant, ie. 404's.

In short, as I suspected the original problem was caused by Gnome, neither Flatpack nor Mint. The remaining hurdle is due to sloppy/user unfriendly programming by the Flatpack and Gnome teams.
Perette
Level 1
Level 1
Posts: 10
Joined: Thu Jan 18, 2018 4:43 pm

Re: Linux Mint 18.3 Sylvia Cinnamon - Flatpak problem

Post by Perette »

This problem appeared recently for me. 18.3 / x86_64. I've tried remove-and-readd the flatpak repository, but no joy.
gnome-keyring version is 3.18.3-0ubuntu2

Update (5 February 2018): I installed today's new patches and it's working again. Thanks to whoever fixed it.

Code: Select all

 $ mintinstall
Detected system architecture: 'x86_64' (using 'x86_64')
load_cache took 371.297 ms
add_categories took 2.215 ms
build_matched_packages took 0.135 ms
The Flatpak remote flathub could not be scanned: OstreeGpgError: GPG signatures found, but none are in trusted keyring (2)
add_packages took 1131.523 ms
process_matching_packages took 1.253 ms
add_reviews took 123.620 ms
Downloading new reviews
__init__ took 1754.748 ms
update_reviews took 353.879 ms
add_flatpaks took 2042.196 ms
show_category took 9.877 ms
Post Reply

Return to “Software & Applications”