You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how to reproduce. Maybe this happens when failing previous uninstalls.
Here are examples:
PS C:\> choco uninstall vagrant
Chocolatey v0.9.9.2
Uninstalling the following packages:
vagrant
Which version of vagrant would you like to uninstall?
1) None [Default - Press Enter]
2) 1.5.4
Another example:
PS C:\> choco uninstall virtualbox
Chocolatey v0.9.9.2
Uninstalling the following packages:
virtualbox
Which version of virtualbox would you like to uninstall?
1) None [Default - Press Enter]
2) 4.3.12
Here is an example of the previous attempt to install all versions of a package. Might be related.
PS C:\> choco uninstall vagrant
Chocolatey v0.9.9.2
Uninstalling the following packages:
vagrant
Which version of vagrant would you like to uninstall?
1) None [Default - Press Enter]
2) 1.5.4
3) 1.6.3
4) 1.6.5
5) All versions
5
You selected to remove all versions of vagrant
vagrant not uninstalled. An error occurred during uninstall:
Could not find a part of the path 'C:\ProgramData\chocolatey\lib\vagrant.1.5.4\vagrant.1.5.4.nupkg'.
This is try 1/3. Retrying after 300 milliseconds.
Error converted to warning:
Cannot create a file when that file already exists.
This is try 2/3. Retrying after 400 milliseconds.
Error converted to warning:
Cannot create a file when that file already exists.
Maximum tries of 3 reached. Throwing error.
Move failed with message:
Cannot create a file when that file already exists.
Attempting backup move method.
vagrant v1.6.3
vagrant has been successfully uninstalled.
This is try 1/3. Retrying after 300 milliseconds.
Error converted to warning:
Cannot create a file when that file already exists.
This is try 2/3. Retrying after 400 milliseconds.
Error converted to warning:
Cannot create a file when that file already exists.
Maximum tries of 3 reached. Throwing error.
Move failed with message:
Cannot create a file when that file already exists.
Attempting backup move method.
vagrant v1.6.5
Skipping auto uninstaller - AutoUninstaller feature is not enabled.
Skipping auto uninstaller - AutoUninstaller feature is not enabled.
vagrant has been successfully uninstalled.
Chocolatey uninstalled 2/3 packages. 1 packages failed.
See the log for details.
Failures
- vagrant
* stable: (22 commits)
(GH-121) Making Uninstall-ChocolateyZipPackage more robust when
deleting files that were copied during installation of the Zip package
(doc) update changelog/nuspec
(GH-238) ApiKey source matching intuitive
(maint) formatting
(GH-240) Set CredentialProvider for NuGet
(GH-240) ChocolateyNugetCredentialProvider
(GH-240) Add default sources to machine sources
(maint) Only warn subcommand list if not empty
(GH-171) Use RedirectedHttpClient
(GH-240) pass credentials at runtime
(GH-240)(config) Add machine sources
(doc) how to quote values
(GH-230) Export all functions and aliases imported
(GH-230) Fix Issues with Generate/Remove BinFile
(GH-185) Remove console prompt default choices
(GH-186) Uninstall - no prompt for one version
(GH-182) Ask before printing ps1 scripts
(GH-187) Show log file path in messages.
(maint) formatting
(GH-169) Do not resolve disabled sources
...
Conflicts:
src/chocolatey/infrastructure.app/commands/ChocolateySourceCommand.cs
src/chocolatey/infrastructure.app/runners/GenericRunner.cs
I'm not sure how to reproduce. Maybe this happens when failing previous uninstalls.
Here are examples:
Another example:
Here is an example of the previous attempt to install all versions of a package. Might be related.
For more details: https://groups.google.com/forum/#!topic/chocolatey/UVncL7PxXRg
(Moved from chocolatey-archive/chocolatey#694)
The text was updated successfully, but these errors were encountered: