Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages appearing out of date after command line upgrade #983

Open
4 tasks done
mwisnicki opened this issue Feb 11, 2023 · 1 comment
Open
4 tasks done

Packages appearing out of date after command line upgrade #983

mwisnicki opened this issue Feb 11, 2023 · 1 comment
Labels
0 - Backlog Issue is accepted, but is not ready to be worked on or not in current sprint Bug Issues where something has happened which was not expected or intended
Milestone

Comments

@mwisnicki
Copy link

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.

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

  • Operating System: Windows 11
  • Windows PowerShell version:
  • Chocolatey CLI Version: 1.2.1
  • Chocolatey Licensed Extension version:
  • Chocolatey License type:
  • Terminal/Emulator:

Installed Packages

N/A

Output Log

Not a CLI problem

Additional Context

No response

@mwisnicki mwisnicki added the Bug Issues where something has happened which was not expected or intended label Feb 11, 2023
@pauby
Copy link
Member

pauby commented Jun 28, 2023

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

@pauby pauby added the 0 - Backlog Issue is accepted, but is not ready to be worked on or not in current sprint label Jun 28, 2023
@pauby pauby added this to the 2.2.0 milestone Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - Backlog Issue is accepted, but is not ready to be worked on or not in current sprint Bug Issues where something has happened which was not expected or intended
Projects
None yet
Development

No branches or pull requests

2 participants