chocolatey / ChocolateyGUI

A delicious GUI for Chocolatey
https://docs.chocolatey.org/en-us/chocolatey-gui/
Apache License 2.0
1.66k stars 253 forks source link

chocolateygui does not present all updates seen in "choco outdated" #733

Open gustavohenac opened 4 years ago

gustavohenac commented 4 years ago

When I type 'choco outdated' on cmd, the console has more updates than chocolateygui. In the past occurr sometimes. Example: today when running choco outdated it presented an update for atom and firefox. For chocolateygui only warned that the firefox needs to be updated.

Thanks.

m-rm commented 4 years ago

I have the same problem. choco outdated shows:

Chocolatey v0.10.15
Outdated Packages
 Output is package name | current version | available version | pinned?

androidstudio|3.5.3.0|3.6.1.0|false
tortoisegit|2.9.0.0|2.10.0.0|false

but ChocolateyGUI 0.16.0 shows nothing.

Sam13 commented 4 years ago

Same problem here, noticed that on different machines. choco outdated lists more packages which are out of date than visible as outdated in the GUI. Using ChocolateyGUI v0.17.2 and Chocolatey v0.10.15

Sam13 commented 4 years ago

Found out while debugging that choco console shows updates for side by side packages - choco GUI doesn't

gep13 commented 4 years ago

@Sam13 it would help if you can provide a full set of steps to reproduce for the issue that you are seeing. Exactly what steps have you taken to get to where you are?

Sam13 commented 4 years ago

@gep13 I just launched the debugger when the output of choco outdated and list of upgradable packages in choco GUI differs. A current example is the package vscode which was installed with the command choco install -y vscode some time ago. image

In the class PackageViewModel I created a conditional breakpoint in the getter of the CanUpdate property. This shows that the flag IsSideBySide is true which prevents the possible update: vs-code-not-update-in-choco-gui

I did not manage how to determine more details about the side by side status in the command line to dig into that further...