diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f872a90..5bfd601a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Arch - not stopping the upgrade process if a transaction error happens - search not displaying installed packages that are no longer available on the databases ( e.g: indicator-application ) + - wrong upgrade substatus in some scenarios - wrong dialog titles - AppImage - not detecting some updates ( e.g: RPCS3 ) diff --git a/bauh/gems/arch/output.py b/bauh/gems/arch/output.py index 38b9b16f..d51766ee 100644 --- a/bauh/gems/arch/output.py +++ b/bauh/gems/arch/output.py @@ -46,8 +46,6 @@ class TransactionStatusHandler(Thread): self.watcher.change_substatus('{}[{}/{}] {} {}'.format(perc, self.downloading, self.npkgs, self.i18n['downloading'].capitalize(), output.split(' ')[1].strip())) elif output.startswith('upgrading'): - self.downloading = self.npkgs # to avoid wrong numbers the packages are cached - if self.get_performed() < self.npkgs: perc = self.gen_percentage() self.upgrading += 1 @@ -56,10 +54,8 @@ class TransactionStatusHandler(Thread): if performed <= self.npkgs: self.watcher.change_substatus('{}[{}/{}] {} {}'.format(perc, self.upgrading, self.npkgs, - self.i18n['manage_window.status.upgrading'].capitalize(), output.split(' ')[1].strip())) + self.i18n['manage_window.status.upgrading'].capitalize(), output.split(' ')[1].strip())) elif output.startswith('installing'): - self.downloading = self.npkgs # to avoid wrong numbers the packages are cached - if self.get_performed() < self.npkgs: perc = self.gen_percentage() self.installing += 1