How do we want to provide our Flatpak apps? #651
meisenzahl
started this conversation in
Ideas
Replies: 1 comment
-
Thanks for that writing! As I'm not really into this, just a stupid question: Would it be possible to provide a local mirror of the Flatpak repo that contains the apps that need to be installed during offline installation? And after installation the repo source would be switched to the remote flatpak repo in case of availability of internet connectivity? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since elementary/appcenter#1943, we have been using AppCenter to install Operating System Updates as Offline Updates. As we install the following flatpak apps via deb packaging, some problems arise:
Due to the fact that now only via AppCenter the packages are downloaded and then installed after a reboot without an existing internet connection, the installation of the packages that try to install Flatpak Apps fails.
Currently, the installation of these packages fails because we are adding our Flatpak repository https://flatpak.elementary.io/repo.flatpakrepo if not already available. @tintou has suggested that we centralize this via a single package so that it is only run once when creating the OS image.
The installation of a single Flatpak app is done as follows:
Since we use
|| true
for this, the installation will not abort even if an error occurs. However, the installation of a Flatpak app can never be successful during an offline update due to the lack of an internet connection.We have so far chosen to install our Flatpak apps via deb so that we can also bundle them via meta packages like elementary-desktop. Also, the current approach has the advantage that we can port packages from native to Flatpak even during the lifetime of an OS release.
The goal of this discussion is to find a solution so that we can hopefully take advantage of as many benefits as possible of the current solution, but also be able to do offline updates and offline upgrades.
Beta Was this translation helpful? Give feedback.
All reactions