Closed mio-19 closed 1 week ago
I had two powershell tabs opened. Here is the other tab. command.log
choco uninstalled more than audacity and keepass. Empty spaces on the desktop should be what choco uninstalled in this event.
Also happened with me Uninstalled openvpn and lost sumatrapdf and wiztree as well (Could've been more but these are what I discovered)
When installing software, Chocolatey CLI takes a snapshot of the file system and registry so it knows what to remove when uninstalling.
If, while installing a package, there are other installation going on in the background, then Chocolatey CLI will naturally see those as changing during the install, and naturally assume that those changes are part of the software installation. Upon uninstall, using the Chocolatey Automatic Uninstaller, it will likely remove the other software that was captured during the Chocolatey CLI package installation.
The two options are:
Based on experience I'm not going to try to reproduce this as I won't be able to. It's based on your environment at the time of the uninstallation.
Other packages are also installed by choco.
If you mean that you are running Chocolatey CLI in parallel (i.e. more than one instance of Chocolatey CLI is running at the same time) then this will cause the problem you are experiencing.
If that is not what you meant, can you expand on your comment, as I don't understand?
I might have run Choco CLI in parallel. I suggest Choco CLI to print a warning message when running in parallel
@mio-19 If you have run Chocolatey CLI multiple times, then this will be why you experienced this issue.
There are times when running Chocolatey CLI in parallel will have no effect.
I suggest Choco CLI to print a warning message when running in parallel
That would be a duplicate of #824.
I'll go ahead and close this just now.
Checklist
What You Are Seeing?
I run
choco uninstall jetbrainstoolbox
. A audacity logo poped out. After this I can't find audacity in my system anymore. Then KeepassWhat is Expected?
Uninstall the correct package.
How Did You Get This To Happen?
choco install --force jetbrainstoolbox
choco uninstall jetbrainstoolbox
System Details
Operating System: 10.0.22631.0
Windows PowerShell version: Name Value
PSVersion 5.1.22621.2506 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.22621.2506 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1
Chocolatey CLI Version: 2.2.2
Chocolatey Licensed Extension version:
Chocolatey License type: choco list chocolatey.extension --exact Chocolatey v2.2.2 3 validations performed. 2 success(es), 1 warning(s), and 0 error(s).
Validation Warnings:
0 packages installed.
Installed Packages
Output Log
Additional Context
No response