I am using Linux with flatpak 1.14.10-1~deb12u1 and when I try to view the updates without installing by using the command flatpak update --dry-run, I get the result error: Unknown option --dry-run.
Is this comand correct if not how should viewing updates without installing be performed?
C
CodedOre
#2
There exist arguments to not download or deploy an update, using the --no-pull and --no-deploy arguments.
However, you can also just run flatpak update. Before downloading any update, it will show you a prompt confirming the update. If you deny then by pressing n, you essentially viewed the update without running it.
Also, if you want to use the information in an program, you should probably take a look at libflatpak.
Performing that command shows the following.
flatpak remote-ls --updates
Name Application ID Version Branch Arch
vokoscreenNG com.github.vkohaupt.vokoscreenNG 4.4.5 stable x86_64
This app is already at version 4.4.5. if I perform flatpak update it does not show that item as being available for update.
That app did have an update today (to ostree commit 9bb3af5bca92b06d28194d6c3708976fb3eb8e389d801e4f6afc0fe4831fd8f1). Checking flatpak info APP_ID, do you have that commit yet?
you can’t look at the version and know if it’s new, you have to look at the commit hash. as that’s the only part, that tracks packaging updates too.
Y
George L. Yermulnik
#8
Is there an option to exclude masked apps from flatpak remote-ls --updates output without scripting a wrapper on top of flatpak remote-ls --updates and flatpak mask outputs?