-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Bug] I can't update any apps using pwsh 7 #6211
Comments
Cannot reproduce. Do you have different profiles between Windows PowerShell and PowerShell Core? If so, check them. |
Hi @HUMORCE Yes, I use the same profile, but when my main profile is loaded in Windows Powershell, it gives some errors. I did a test here, I removed my profile and after that it started working again using Powershell Core, so I imagine that something in my profile caused a bug in the scoop, I will be testing to see what could have caused it, thanks for the tip. |
Got it, I had set an alias with the name "update" in my profile, after removing the alias the scoop started working again, I just wonder if this behavior is expected. |
Reproduction:
|
Reproduction: create a function on powershell profile: function Update-Profile {
. $PROFILE
}
Set-Alias update Update-Profile |
Bug Report
Current Behavior
After running the scoop update * command, the output informs which apps need updating but the execution ends without updating any. If I try to update an app individually, the same behavior occurs. Using Windows Powershell, it works perfectly.
Additional context/output
The problem started to occur after updating to pwsh 7.4.6, but rolling back to previous versions did not solve the problem.
System details
Windows version: 11
OS architecture: 64bit
PowerShell version: 7.4.6
Scoop Configuration
The text was updated successfully, but these errors were encountered: