Skip to content
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

Upgrade flatpak package to something >= 1.8.2 #122

Open
jjardon opened this issue Jan 23, 2022 · 2 comments
Open

Upgrade flatpak package to something >= 1.8.2 #122

jjardon opened this issue Jan 23, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jjardon
Copy link
Contributor

jjardon commented Jan 23, 2022

Describe the bug
flatpak version in the system (1.6.5) is too old to install some flatpaks (others work fine)
Current Debian and Ubuntu has already the up-to-date versions

To Reproduce

$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
$ flatpak install org.chromium.Chromium
error: Failed to install org.chromium.Chromium: app/org.chromium.Chromium/aarch64/stable needs a later flatpak version (1.8.2)

Expected behavior
Chromiuin flatpak should be possible to install

Desktop (please complete the following information):

  • OS: JingOS 1.2.0
@jjardon jjardon changed the title Upgrade flatpak package to somrhing >= 1.8.2 Upgrade flatpak package to something >= 1.8.2 Jan 23, 2022
@jjardon
Copy link
Contributor Author

jjardon commented Jan 23, 2022

ok, I tried to workaround the issue installing the flatpak from the ubuntu PPA: https://launchpad.net/~flatpak/+archive/ubuntu/stable

But I got another problem when trying to add it:

sudo add-apt-repository ppa:flatpak/stable      
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 108, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 118, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 613, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 91, in get_sources
    raise NoDistroTemplateException(
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Jingos/focal

I think above is because #84

After temporarily changing the ID in /etc/os-release from jingos to ubuntu everything worked as expected:

$ flatpak --version 
Flatpak 1.12.4
$ flatpak install org.chromium.Chromium
...
$ flatpak run org.chromium.Chromium
...

Now I'm enjoying running chromium from a flatpak (which has also the advantage of being a more recent version (97.0.4692.99) than the one that comes with the device (93.0.4577.63)):
Screenshot_20220123_225854

@PaultheFish PaultheFish added the bug Something isn't working label Jan 24, 2022
@songlijuan666
Copy link
Collaborator

问题已经反馈开发,我们内部分析一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants