It'd be quite trivial to set the enabled state of the button based on
the number of upgradeable packages available.
However, while it is quite easy to see which packages have a higher
version available, it cannot be known if the package can actually be
upgraded until it is actually attempted to mark the package for upgrade,
since that is when dependency resolution is done.
How I've handled this for the Muon package manager is to set the enabled
state for the upgrade action solely based on the number of upgraded
packages, but it also checks after attempting to mark the packages as
upgraded to see if any packages were actually marked. If not, it gives a
little explanatory message telling why, in some cases, packages may not
be upgradeable, be it due to a data package common to all Ubuntu-
supported architectures, archive skew, or plain broken packages.
It shouldn't be too difficult to somebody familiar with GTK+. (But alas,
I don't really know GTK+, being a Qt man myself)
** Changed in: synaptic (Ubuntu)
Status: Confirmed => Triaged
--
"Mark all Upgrades" should be grayed out if there are no upgrades
https://bugs.launchpad.net/bugs/186449
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs