chocolatey / ChocolateyGUI

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

Packages appearing out of date after command line upgrade #983

Open mwisnicki opened 1 year ago

mwisnicki commented 1 year ago

Checklist

What You Are Seeing?

I did choco upgrade -y all and now Chocolatey GUI shows all these upgraded packages as out of date (shows old versions). I tried "Check for outdated packages (forced)" but it didn't help.

What is Expected?

Chocolatey GUI is in sync with choco outdated.

How Did You Get This To Happen?

  1. choco upgrade -y all as admin
  2. start Chocolatey Gui as admin

System Details

Installed Packages

N/A

Output Log

Not a CLI problem

Additional Context

No response

pauby commented 1 year ago

Chocolatey GUI uses a local cache of package information that it refreshes when performing certain actions (install, upgrade, uninstall for example). If you need to refresh is before that time, use the Check for outdated packages (forced) button in the top right-hand corner.

image

Note that I had run Chocolatey GUI, which created the local index, closed it, ran choco upgrade 7zip which upgraded to version 23.1.0, and then opened Chocolatey GUI again. You can see both packages are outdated.

After clicking the Check for outdated packages (forced) the package list shows the installed, updated, packages. By they are still marked as 'Out Of Date' which is incorrect.

image

Closing and re-opening Chocolatey GUI makes the 'Out Of Date' banner disappear.

image