> I've installed Octave through the Linux Mint's software Manager.
> When I try to launch Octave from a terminal it returns an error:
> $ flatpak run org.octave.Octave
> ldconfig: Can't create temporary cache file
> Permission denied
> error: ldconfig failed, exit status 256
> When I run with sudo
> $ sudo flatpak run org.octave.Ocatve
> error: app/org.octave.Ocatve/x86_64/master not installed
> Octave Info:
> Version 5.1.0
> OS info:
> OS: Linux Mint 19.2 (Tara)
> Kernel: 4.15.0-66-generic
Just a few questions from my side (I run that Flatpak on openSUSE 15.1,
1. Does this happen for other flatpaks as well?
2. What is the output for "flatpak list"?
3. Did you try to remove and reinstall that flatpak?
"flatpak remove org.octave.Octave"
4. Did you observe any abnormalities during the installation process?
5. What is your "flatpak --version"?
On 10/31/19 11:11 AM, Eduardo Mapurunga wrote:
>> Just a few questions from my side (I run that Flatpak on openSUSE 15.1,
>> 1. Does this happen for other flatpaks as well?
> No, I have okular, zotero, and inkscape as flatpaks too. They are running
> perfectly. Apparently, this is the only flatpak that does not launch
>> 2. What is the output for "flatpak list"?
> $ flatpak list
> Ref Options
> com.elsevier.MendeleyDesktop/x86_64/stable system,current
> org.gimp.GIMP/x86_64/stable system,current
> org.inkscape.Inkscape/x86_64/stable system,current
> org.kde.okular/x86_64/stable system,current
> org.octave.Octave/x86_64/stable system,current
> org.signal.Signal/x86_64/stable system,current
> org.zotero.Zotero/x86_64/stable system,current
> org.freedesktop.Platform.GL.default/x86_64/19.08 system,runtime
> org.freedesktop.Platform.VAAPI.Intel/x86_64/18.08 system,runtime
> org.freedesktop.Platform.VAAPI.Intel/x86_64/19.08 system,runtime
> org.freedesktop.Platform.html5-codecs/x86_64/18.08 system,runtime
> org.freedesktop.Platform/x86_64/18.08 system,runtime
> org.freedesktop.Platform/x86_64/19.08 system,runtime
> org.gnome.Platform/x86_64/3.32 system,runtime
> org.gnome.Platform/x86_64/3.34 system,runtime
> org.gtk.Gtk3theme.Mint-Y-Dark-Aqua/x86_64/3.22 system,runtime
> org.gtk.Gtk3theme.Mint-Y/x86_64/3.22 system,runtime
> org.kde.Platform/x86_64/5.12 system,runtime
> org.kde.Platform/x86_64/5.13 system,runtime
> org.kde.Sdk/x86_64/5.12 system,runtime
> org.kde.kigo.Locale/x86_64/stable system,runtime
>> 3. Did you try to remove and reinstall that flatpak?
>> "flatpak remove org.octave.Octave"
> Yes, I did. But I will give a try another time to see if this work. I've
> tried installing and uninstalling twice. One shot directly from the
> manager and the other from terminal.
>> 4. Did you observe any abnormalities during the installation process?
> The terminal output for : $flatpak install flathub org.octave.Octave
> Installing in system:
> org.octave.Octave/x86_64/stable flathub 246709717fa2
> permissions: ipc, network, pulseaudio, wayland, x11, dri
> file access: host, xdg-config/kdeglobals:ro, xdg-run/dconf,
> dbus access: com.canonical.AppMenu.Registrar, org.freedesktop.Flatpak
> Is this ok [y/n]: y
> Installing: org.octave.Octave/x86_64/stable from flathub
> [####################] 439 metadata, 5723 content objects fetched; 126114
> KiB tr
> Now at 246709717fa2.
>> 5. What is your "flatpak --version"?
> Flatpak 1.0.8
Thank you for your detailed answer. I have a sneaking suspicion. In
your previous mail you listed the error:
Eduardo Mapurunga wrote:
>> When I run with sudo
>> $ sudo flatpak run org.octave.Ocatve
>> error: app/org.octave.Ocatve/x86_64/master not installed
But you are installing:
>> org.octave.Octave/x86_64/stable from flathub
Maybe try "flatpak run --branch=stable org.octave.Octave"?
Otherwise, I also read about silent errors that make you seem to have
installed all correctly, but actually it is not:
>Thank you for your detailed answer. I have a sneaking suspicion. In
>your previous mail you listed the error:
>Eduardo Mapurunga wrote:
>>> When I run with sudo
>>> $ sudo flatpak run org.octave.Ocatve
>>> error: app/org.octave.Ocatve/x86_64/master not installed
>But you are installing:
>>> org.octave.Octave/x86_64/stable from flathub
>Maybe try "flatpak run --branch=stable org.octave.Octave"?
This option only worked when summoned with sudo. However, it did not open
the graphical interface, only command line octave. When invoked without
sudo, the same error occured:
$flatpak run --branch=stable org.octave.Octave
ldconfig: Can't create temporary cache file
error: ldconfig failed, exit status 256
sudo flatpak run --branch=stable org.octave.Octave
[sudo] password for edumapurunga:
GNU Octave, version 5.1.0
Copyright (C) 2019 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.
>That issue involves installing using the "--noninteractive" flag, which
>does not seem to be used by you.
Well, do you think it is worth installing with -v option? so it could give
us more information. It's strange, but at least the command line it is
working now, which may be a good sign for a correct installation process. I
don't know, could you give me more directions about this?
> Additionally, when I tried to run the app directly from the shortcut menu. A
> small dialog entitled : "Octave critical error " appeared. The following is
> the text from this dialog:
> The settings file
> does not exist and can not be created.
> Make sure you have read and write permissions to
> Octave GUI must be closed now
> As a result, I tried to give read and write permissions for the
> ./config/octave directory through:
> $sudo flatpak override org.octave.Octave
> Then verified the permissions using:
> $flatpak info --show-permissions org.octave.Octave/x86_64/stable
> [Session Bus Policy]
> The same problem continues and the dialog is still showing up every time I
> try to run octave.
Alright, but at least we have a partial success =) The GUI then should
start by running:
sudo flatpak run --branch=stable org.octave.Octave --gui
Now we are facing a bunch of problems related to the sudo starts, which
need to be addressed one by one in the given order:
1) Uninstall Octave flatpak
2) Remove the folder "/home/edumapurunga/.config/octave/", which now
probably belongs to root and should cleanly be recreated the next time.
3a) Remove any folders
which as normal user you do not have permission to
3b) Maybe consider a clean system reboot
4) Install Octave flatpak and start is WITHOUT SUDO privileges