I want to upgrade all of that, except Crystal. If I upgrade Crystal then Invidious will stop working. But I have no way of selecting to skip that package. I can do that for Applications tho. So why not implement the same feature for packages in order for admins to better manage their system in such cases as mine?
You should be able to achieve that in command line with apt. You better have to understand how the package system of Debian works to avoid breaking your server.
Yes I know you can achieve that via the command line, but since the Applications upgrade allows for individual apps upgrade, maybe it would be a good idea to have that for packages too. I use Webmin to upgrade Debian packages and it allows for such a thing. Which is super useful.
Then you knew you have a way to skip a package upgrade.
I don’t think it would be so useful for the vast majority of users. They shouldn’t have to deal with this kind of issue (dependency problem in this case). That’s a bit the idea behind the Ynh project.
If we consider your specific situation, the Invidious Ynh app manually installed the version 0.36.1 of the crystal .deb package. Thus I don’t get from which apt repo the system sees an update. Could you return the output of this command, please ?
Meh it’s not that trivial I believe, because in the general case, some packages may depend on other packages, so you can’t just pick an arbitrary list of packages to upgrade while forbidding other packages to be upgraded
Anyway … for you specific issue, I guess a simple workaround should be to flag the package as held:
apt-mark hold crystal
then it won’t get upgraded (even though it’s displayed as upgradable)