diff --git a/src/manager_window.vala b/src/manager_window.vala index 96c322c..60fa28e 100644 --- a/src/manager_window.vala +++ b/src/manager_window.vala @@ -410,7 +410,7 @@ namespace Pamac { string reason; if (pkg.reason == PkgReason.EXPLICIT) reason = dgettext (null, "Explicitly installed"); - else if (pkg.reason == PkgReason.EXPLICIT) + else if (pkg.reason == PkgReason.DEPEND) reason = dgettext (null, "Installed as a dependency for another package"); else reason = dgettext (null, "Unknown"); diff --git a/src/transaction.vala b/src/transaction.vala index ae1a27d..25f141c 100644 --- a/src/transaction.vala +++ b/src/transaction.vala @@ -879,6 +879,8 @@ namespace Pamac { Gtk.main_iteration (); finished (false); } else { + clear_lists (); + finished (false); sysupgrade (0); } } else {