[Pamac 7.3.0] Checks for updates two times when launched with pamac-manager --updates
OS: Manjaro (Testing branch) DE: Cinnamon 4.0.1 Pamac: 7.3.0 (package: pamac)
==== Problem description
When we launch Pamac (GUI) with pamac-manager --updates (whether from my application menu with the "Software Update" launcher or from a terminal), Pamac checks if updates are available two times. It goes from 0% to 100%, then goes back to 0% and 100% again. By looking at the content of /tmp/pamac/dbs-[USER]/sync, I noticed that Pamac really downloads files twice when looking for updates with pamac-manager --updates.
It seems not to happen when asking to check for updates by clicking on "Updates" in Pamac GUI.
==== Two ways to reproduce, either:
- Use the "Software Update" launcher.
- Open a terminal and use the following command: pamac-manager --updates.
On my side, it doesn't appears to happen all the time, but it happens most of the time I tried to reproduce the bug.