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
In the log (or when running with --debug) when running on Mono on Linux, it shows that choco is failing to remove the NuGet temp directories.
Not able to cleanup NuGet temp folders. Failure was Path to combine cannot be empty. Tried to combine null with ''. Method called from 'delete_directory'
What is Expected?
That the NuGet temp directories can be remove without issue.
How Did You Get This To Happen? (Steps to Reproduce)
Build and install choco on Linux
Run choco --verbose --debug
Output Log
Full Log Output
choco --debug --verbose
Chocolatey v0.11.2-29-g8fdd1486
Chocolatey is running on Linux v 5.10.0.0
Attempting to delete file "/opt/chocolatey/chocolatey.dll.old".
Attempting to delete file "/opt/chocolatey/choco.exe.old".
Command line: /opt/chocolatey/choco.exe --debug --verbose --allow-unofficial
Received arguments: --debug --verbose --allow-unofficial
RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
Sending message 'PreRunMessage' out if there are subscribers...
[Pending] Removing all pending packages that should not be considered installed...
Sending message 'PostRunMessage' out if there are subscribers...
Not able to cleanup NuGet temp folders. Failure was Path to combine cannot be empty. Tried to combine null with ''. Method called from 'delete_directory'
Exiting with 1
I have a fix for this issue on the way.
The text was updated successfully, but these errors were encountered:
…orms
Linux and MacOS do not normally have a "SystemDrive" environment
variable since they have everything under a single root of "/".
This switches to use "/" instead of "SystemDrive" on non-Windows
platforms. These two instances are the only ones I see in the C#
codebase. There are a couple of uses of "SystemDrive" in the PowerShell
helpers, but those are not run on non-Windows platforms.
…orms
Linux and MacOS do not normally have a "SystemDrive" environment
variable since they have everything under a single root of "/".
This switches to use "/" instead of "SystemDrive" on non-Windows
platforms. These two instances are the only ones I see in the C#
codebase. There are a couple of uses of "SystemDrive" in the PowerShell
helpers, but those are not run on non-Windows platforms.
…orms
Linux and MacOS do not normally have a "SystemDrive" environment
variable since they have everything under a single root of "/".
This switches to use "/" instead of "SystemDrive" on non-Windows
platforms. These two instances are the only ones I see in the C#
codebase. There are a couple of uses of "SystemDrive" in the PowerShell
helpers, but those are not run on non-Windows platforms.
What You Are Seeing?
In the log (or when running with
--debug
) when running on Mono on Linux, it shows that choco is failing to remove the NuGet temp directories.What is Expected?
That the NuGet temp directories can be remove without issue.
How Did You Get This To Happen? (Steps to Reproduce)
choco --verbose --debug
Output Log
Full Log Output
I have a fix for this issue on the way.
The text was updated successfully, but these errors were encountered: