volitank / nala

Nala is a front-end for libapt-pkg.
GNU General Public License v3.0
1.33k stars 49 forks source link

Add flatpak support to Nala #20

Open chris122380 opened 9 months ago

chris122380 commented 9 months ago

It would be nice to add flatpak support to Nala. This way both APT and flatpak apps could be installed and updated from one app (From Nala).

dominix commented 6 months ago

Nice but really not sure it is a so good idea. Mainly because flatpak and deb packages do not share the same architecture regarding repository, dependencies or upgrade model, they are different tool, and in the variety of packages sources there is a too large possibility to mix package sources for a single tool to rule then all. I guess it would be better to develop a new project, kind of nala-for-flappak or nala-for-snap or nala-for-appimage or even nala-for-nix , and there is so much more.(brew, pkgsrc, ...)

leogott commented 4 weeks ago

Use Case for this: A casual user would have a mix of applications installed. Some via flatpak and some from the apt repos. If nothing else, it would be interesting to know when an application they use, which is installed via apt/nala is several mayor versions behind the latest release, and a newer flatpak is available. (as is the case with Déjà Dup on 22.04 LTS (versions 42.9 vs 45.2). The opposite may be true for unmaintained flatpaks)

Nala wouldn't need to wrap flatpak install to be of use.

volitank commented 2 weeks ago

This has been asked several times. I am not against the idea completely, although it would be a lot of work considering that they do not share anything in common with debs.

If this does get implemented it will be after Python Nala is replaced by the Rust Rewrite, which will still be some time.