PendingInstall
and PendingRemoval
apps not installed or removed during upgrades
#16
Labels
PendingInstall
and PendingRemoval
apps not installed or removed during upgrades
#16
Those apps are totally skipped, generating inconsistencies. For example, a simple
sudo apk upgrade
installed and removed some packages after the system was in theory completely up-to-date according to the UI.That is happening because currently apps are not marked for an upgrade unless state is
Upgradable
orDowngradable
.When adding this functionality, to produce the correct results in the UI,
PendingInstall
apps should be marked asGS_APP_STATE_AVAILABLE
andPendingRemove
apps asGS_APP_STATE_UNAVAILABLE
.EDIT: In alpine running edge it is common that
PendingRemove
is due to a program not being needed anymore due to depends and the logical process would be for apps to be marked before the removal asGS_APP_STATE_INSTALLED
. I sent a patch upstream that just got merged, so we would have to patch GS 41 if want to implement this functionality before GS42The text was updated successfully, but these errors were encountered: