Skip to content

Commit

Permalink
Skip held-back packages during system update check (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
vjr authored Feb 6, 2025
1 parent 6632322 commit 1072d0e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Backends/SystemUpdate.vala
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ public class SettingsDaemon.Backends.SystemUpdate : Object {
bool security_updates = false;

foreach (var package in available_updates.get_array ()) {
if (package.get_info () == Pk.Info.BLOCKED) {
// Skip packages blocked typically due to phasing or being held back.
continue;
}
package_names += package.get_name ();
package_info += package.get_info ();

Expand Down

0 comments on commit 1072d0e

Please sign in to comment.