-
-
Notifications
You must be signed in to change notification settings - Fork 394
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
[QUESTION] how to "exclude" update specific flatpak #2834
Comments
no, there is no such command. you can update individual apps, though |
why do you feel you need to exclude an app from updates? |
I don't know if this is the OP's use case but I suppose if you downgrade something to workaround a recent regression, you wouldn't want your downgrade to be undone. |
Another way to approach this would be to 'freeze' a software(package) from updating. This way you can just do it once instead of having to use --exclude every time you use the update command. |
I had wondered before if a feature similar to The use case for this can be if the latest version of an app has a regression and you want to "hold" the package at a specific version until it is fixed. Eg imagine the latest version of a video chat app is broken for you, but the previous version works. One can rollback to the previous version so that I can continue doing meetings. But i do not want automatic or manual updates to update the app until i have confirmed that the issue has been fixed or I have time to do so. 0 - http://manpages.ubuntu.com/manpages/bionic/man8/apt-mark.8.html |
because of this |
This might mean Flathub(or any one else) might need to store multiple versions of a package. Is it already like that? If so, how many previous versions of a software would(should) be available? |
Yes, some history is kept, which you can see with |
I recently came across a use case for this myself. |
Yeah, i don't think excluding manually is right. Something like freezing/holding seems much more workable. It would work with all the tooling that updates, like ui updaters, etc. |
I believe there are valid use cases for both options:
|
It seems that the first case is already possible (although not with a great experience) with the current system, as you can manually cut and paste update the specific other things you need. So, is doesn't seem as important. |
Same thing one can say about |
The way i look at it is, Hold/freeze is just an automated version of excluding manually. Still excluding manually at 'flatpak update --exclude {list of apps} should be an option. What Hold/freeze, hopefully, does is to save that preference so that you can just set that preference once and the rest of the time you can just use 'flatpak update'. And that should automatically check for that preference of exclusions and avoid updating them. It might look something like 'flatpak update --freeze {list of apps}' |
I think the |
Yeah I think we can close this. |
Linux distribution and version
Fedora 30
Flatpak version
Flatpak 1.2.4
Description of the problem
there is command like "flatpak update --exclude = packagename"
Steps to reproduce
The text was updated successfully, but these errors were encountered: