-
Notifications
You must be signed in to change notification settings - Fork 907
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
During upgrade, removal of old choco.exe does not use absolute path on Linux #2369
Labels
Milestone
Comments
This appears to be caused by the front slash being trimmed off: |
TheCakeIsNaOH
added a commit
to TheCakeIsNaOH/choco
that referenced
this issue
Sep 18, 2021
Prevents the absolute path to the current assembly from being converted to a relative path by the removal of the first forward slash. Applicable to non-windows platforms, leaves Windows alone. Co-Authored-By: Kim J. Nordmo <1474648+AdmiringWorm@users.noreply.github.com>
gep13
pushed a commit
to TheCakeIsNaOH/choco
that referenced
this issue
Sep 19, 2021
Prevents the absolute path to the current assembly from being converted to a relative path by the removal of the first forward slash. Applicable to non-windows platforms, leaves Windows alone. Co-Authored-By: Kim J. Nordmo <1474648+AdmiringWorm@users.noreply.github.com>
gep13
pushed a commit
that referenced
this issue
Sep 21, 2021
Prevents the absolute path to the current assembly from being converted to a relative path by the removal of the first forward slash. Applicable to non-windows platforms, leaves Windows alone. Co-Authored-By: Kim J. Nordmo <1474648+AdmiringWorm@users.noreply.github.com>
TheCakeIsNaOH
added a commit
to TheCakeIsNaOH/choco
that referenced
this issue
Sep 22, 2021
Prevents the absolute path to the current assembly from being converted to a relative path by the removal of the first forward slash. Applicable to non-windows platforms, leaves Windows alone. Co-Authored-By: Kim J. Nordmo <1474648+AdmiringWorm@users.noreply.github.com>
gep13
changed the title
Removing old chocolatey exe does not use absolute path on Linux
During upgrade removal of old choco.exe does not use absolute path on Linux
Jan 17, 2022
pauby
changed the title
During upgrade removal of old choco.exe does not use absolute path on Linux
During upgrade, removal of old choco.exe does not use absolute path on Linux
Jan 17, 2022
tapika
pushed a commit
to tapika/swupd
that referenced
this issue
Jan 30, 2022
Prevents the absolute path to the current assembly from being converted to a relative path by the removal of the first forward slash. Applicable to non-windows platforms, leaves Windows alone. Co-Authored-By: Kim J. Nordmo <1474648+AdmiringWorm@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What You Are Seeing?
On Linux Mono, the removal of old chocolatey binaries does not use an absolute path:
Attempting to delete file "opt/chocolatey/chocolatey.dll.old".
On Windows, an absolute path is used:
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
What is Expected?
It should be:
Attempting to delete file "/opt/chocolatey/chocolatey.dll.old".
How Did You Get This To Happen? (Steps to Reproduce)
choco --debug --verbose
inside the containerOutput Log
Full Log Output
The text was updated successfully, but these errors were encountered: