Hi Federico,
Update 2. I noticed that there is a /root/.var directory so created
$HOME/.var, still no luck. I then tried flatpack list as myself and had
errors for the following directories. The permissions were 750, I
changed them to 755:
/var/lib/flatpak/app
/var/lib/flatpak/app/org.frescobaldi.Frescobaldi
/var/lib/flatpak/app/org.frescobaldi.Frescobaldi/x86_64
/var/lib/flatpak/runtime
/var/lib/flatpak/runtime/*
/var/lib/flatpak/runtime/org.kde.Platform/x86_64
I could then run flatpak list, but the only output was a blank line.
When I tried to run Frescibaldi I then saw "error:
app/org.frescobaldi.Frescobaldi/x86_64/stable not installed" which of
course was not tue. I set the permissions to 755 and then got "error:
Error opening file
/var/lib/flatpak/app/org.frescobaldi.Frescobaldi/x86_64/stable/54532dddeb5db92fc66c20b9ca4147e9d76b366587e8d5d573ea2d8dd74fa8f5/metadata:
Permission denied"
The long hex directory must be a temporary and doesn't exist.
Following the Troubleshooting section of the flatpak docs link you gave
me, I ran:
# flatpak repair
Verifying flathub:runtime/org.kde.Platform.Locale/x86_64/5.15...
Verifying
flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/20.08...
Verifying flathub:runtime/org.kde.KStyle.Adwaita/x86_64/5.15...
Verifying
flathub:runtime/org.frescobaldi.Frescobaldi.Locale/x86_64/stable...
Verifying flathub:appstream2/x86_64...
Verifying flathub:runtime/org.kde.Platform/x86_64/5.15...
Verifying flathub:app/org.frescobaldi.Frescobaldi/x86_64/stable...
Verifying flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.0...
Verifying
flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08...
Pruning objects
# flatpak permission-reset org.frescobaldi.Frescobaldi
but I'm still getting a repeat of the last error message.
Regards,
Martin
On 06/11/2020 13:49, J Martin Rushton wrote:
Hi Federico,
Update. When checking nothing had changed overnight (ie after a
reboot), I accidentally ran it as root again. This time it didn't jam
and I could create a new piece from the template, compile it and play it
under MIDI, and then change a note and recompile and play. All seems
fine, so I think that it must be either a permissions problem (which I
though flatpak avoided), or else there is some initialisation in the
root account that is not in my account.
Regards,
Martin
On 06/11/2020 12:02, J Martin Rushton wrote:
Hi Federico,
Inline
On 05/11/2020 22:47, Federico Bruni wrote:
Hi Martin
Perhaps you added the flathub repository as root using the --user
switch? (wrong)
I didn't use --user
Can you paste the output of this command both as root and as normal
user?
flatpak remotes
$ flatpak remotes
Name Options
flathub system
# flatpak remotes
Name Options
flathub system
I have this as normal user:
$ flatpak remotes
Name Options
flathub system
flathub-beta user
Did you read this page?
https://docs.flatpak.org/en/latest/using-flatpak.html#system-versus-user
No, I just followed links:
https://flathub.org/apps/details/org.frescobaldi.Frescobaldi
-> https://flatpak.org/setup/
-> https://flatpak.org/setup/CentOS/
You shouldn't be root to install any flatpak application.
That's what I thought, but I get permission errors. I tried the
installation three times: as root, as me and as root again.
I can't remember if adding the repository at system level requires
root privileges.
Apparently so.
In a nutshell, if you add a repository using the --user switch, any
application installed from that repository will be installed at user
level and available only to that user; otherwise the default is
system level.
I did the installation by cut-and-paste:
flatpak install flathub org.frescobaldi.Frescobaldi
It installed a load of other system-type things as well:
# flatpak list
Ref Options
org.frescobaldi.Frescobaldi/x86_64/stable system,current
org.freedesktop.Platform.GL.default/x86_64/20.08 system,runtime
org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08 system,runtime
org.freedesktop.Platform.openh264/x86_64/2.0 system,runtime
org.kde.KStyle.Adwaita/x86_64/5.15 system,runtime
org.kde.Platform/x86_64/5.15 system,runtime
One thing I did notice, the Quick Setup page says: "Flatpak is
installed by default on CentOS 7, when using GNOME" and I don't run
gnome. I use Mate on C7 systems, but gnome is available from the
login page so all resources should be there.
Many thans and kind regards,
Martin
Il giorno gio 5 nov 2020 alle 21:47, J Martin Rushton
<martinrushto...@btinternet.com> ha scritto:
Hi Federico,
I welcome this since I've been having problems with Frescobaldi
under both CentOS 7 and 8 for a while.
I followed the setup guide on the host CentOS8 machine and
downloaded the flathub repository file. First problem: I had to be
root to install it - I thought flatpak was meant to be at user level?
I then installed Frescobaldi (using cut-and-paste). If I tried to
run it as a user I got the message: "error:
app/org.frescobaldi.Frescobaldi/x86_64/master not installed". As a
test I tried running it as root (I know, bad practice) and the
window opened, but then hung and would not die.
Any suggestions?
Regards,
Martin
On 05/11/2020 20:48, Federico Bruni wrote:
Hi folks
I'm happy to announce that Frescobaldi is now available for Linux
users also as flatpak on Flathub:
https://flathub.org/apps/details/org.frescobaldi.Frescobaldi
Advantages:
- LilyPond is bundled, so it's a very simple installation.
- All runtime dependencies are included.
- Sandbox.
Bugs:
- Doumentation browser is not working.
There's something wrong in the way I built PyQtWebEngine...
Current stable installed size is 287 MB. (not including the KDE
runtime)
Current beta release shipping lilypond 2.21.80 is 245 MB (no need
to include python2).
Installing the stable version should be straightforward.
If you want to install the beta version (which currently has only
the "stable RC" of lilypond), run these commands:
flatpak remote-add --user flathub-beta
https://flathub.org/beta-repo/flathub-beta.flatpakrepo
flatpak install --user flathub-beta org.frescobaldi.Frescobaldi
Cheers
Federico
--
J Martin Rushton MBCS
--
J Martin Rushton MBCS