-
Notifications
You must be signed in to change notification settings - Fork 884
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
choco list --local-only --all-versions --include-programs should note against multiple versions #24
Comments
I can reproduce this issue by typing: "choco list -li". The only "workaround" I could find is to completely uninstall using Revo Uninstaller, and reinstall with chocolatey. This is because sometimes packages that should be uninstalled are still there. One more thing to add, apps like skype and the VS runtimes, or any software that has a different name than the package name will show up in the not managed part. |
@SyrianBallaS what version of choco are you using? |
0.9.9.12 |
That's an interesting observation - the package name has nothing to do with the tracking of the actual software. Follow the link: Note the registry snapshot file: https://gist.github.com/choco-bot/b309ca01ed32fcbb4e22f5c80b3728ef#file-1-registrysnapshot-xml Name doesn't matter. |
We talk more about tracking installed software and uninstalls, but it's probably best laid out in how AutoUninstaller works - https://chocolatey.org/docs/commands-uninstall |
I'd suggest turning it on with |
I'm actually quite interested in this project and wish to contribute. I love the efficiency of Linux but it's moderately tedious to work with. I find the simplicity of Windows w/ the efficiency of Linux quite fascinating. Would be better to clone the repository directly or fork it over? I'm not quite sure how to make branches on projects not in my profile. |
The problem you are describing is when there is no snapshot discovered when installing software, which happens if the registry does not change on install. It's harder for Chocolatey to track pre-existing software, especially if the uninstaller registry does not change. |
we are getting better at MSI change tracking next version. |
For contributing - you would want to fork so you have a remote repository you can push to to provide Pull Requests. We have a pretty good write up in CONTRIBUTING.md in the base of the repo - https://github.com/chocolatey/choco/blob/master/CONTRIBUTING.md It has some very detailed expectations related to git and commits. I would definitely read that through. 👍 |
The following hangs on my machine: PS C:\WINDOWS\system32> choco.exe list --localy-only --all-versions --include-programs
Chocolatey v0.10.7 Edit: After awhile, it returned the following weird error for --local-only flag! [NuGet] Could not connect to the feed specified at 'https://chocolatey.org/api/v2/'. Please verify that the package source (located in the Package Manager Settings) is valid and ensure your network connectivity.
0 packages found.
Did you know Pro / Business automatically syncs with Programs and
Features? Learn more about Package Synchronizer at
https://chocolatey.org/compare |
@jzabroski You're getting hit by the problem with the chocolatey.org caching controller. I just did a search for packages on the page - 1st time showed results 2nd time showed 0 packages. This is a chocolatey.org problem. You should inform the powers that be in the Chocolatey Google Groups or on the Chocolatey Gitter channel (best). https://groups.google.com/forum/#!forum/chocolatey |
@bcurran3 I think you're literally not seeing what I'm seeing. Why on God's green earth is --local-only doing an HTTP call?? |
Looks like upgrading to v0.10.11 fixed the problem for me... I'll try to dig into why --local-only is so insane and see if it still is insane on v0.10.11 |
@jzabroski - You typo-ed.
"localy" will give you the error you pasted as it's not a valid switch and (seemingly ignored?) goes out to https://chocolatey.org/api/v2/ to get a list of all packages in community repository feed (which is currently having caching problems). When you retried after your upgrade, you didn't do the typo and all worked as supposed and your expectations. :) |
One thing I noticed with was when I ran the I can't remember exactly the output the first time through, I think it included just the base chocolatey packages, dotnet, and WSL related packages.
|
I am unable to reproduce this with a build from the latest develop. I installed multiple versions of
But when I ran |
As this has not been able to be reproduced with the current version of Chocolatey, and side by side installs are deprecated, this issue can be closed. #2787 |
Currently the output for all versions shows up correctly, but it doesn't use all versions to detect against the registry managed programs that choco has installed for all versions of a package.
should be
The text was updated successfully, but these errors were encountered: