Skip to content

[Bug]: cleanup on dotnet-sdk is creating a error. #2042

@themagicalmammal

Description

@themagicalmammal

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

dotnet-sdk

Expected/Current Behaviour

PS> scoop cleanup dotnet-sdk
Removing dotnet-sdk: 8.0.401

Steps to Reproduce

PS> scoop cleanup dotnet-sdk

Removing dotnet-sdk: 8.0.401Remove-Item: C:\Users\DipanNanda\scoop\apps\scoop\current\libexec\scoop-cleanup.ps1:50
Line |
  50 |          Remove-Item $dir -ErrorAction Stop -Recurse -Force
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Access to the path 'C:\Users\DipanNanda\scoop\apps\dotnet-sdk\8.0.401\host\fxr\8.0.8\hostfxr.dll' is denied.

Possible Solution

No idea.

Scoop and Buckets Version

PS> scoop --version
Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
6354019e5 (HEAD -> master, origin/master, origin/HEAD) mill: Update to version 0.12.3

'extras' bucket:
6b94cdc1b (HEAD -> master, origin/master, origin/HEAD) webcam-on-off@1.4: Fix hash (Closes #14462)

'versions' bucket:
a8a5c33d3 (HEAD -> master, origin/master, origin/HEAD) vscode-insiders: Update to version 1.96.0-1732511152533

'nerd-fonts' bucket:
d9a38eb0 (HEAD -> master, origin/master, origin/HEAD) Font-Awesome: Update to version 6.7.1

'nonportable' bucket:
cc6b0c57 (HEAD -> master, origin/master, origin/HEAD) 10x-np: Update to version 1.0.241

'java' bucket:
8ef2a9a5 (HEAD -> master, origin/master, origin/HEAD) temurin22-jre: Update to version 22.0.2-9

'okibcn_ScoopMaster' bucket:
65ab920181 (HEAD -> master, origin/master, origin/HEAD) Update timestamp 2024-09-18T23:52:50Z

'scoop-lemon' bucket:
428935fcc (HEAD -> master, origin/master, origin/HEAD) chore: update hosted package

'Scoop-spotify' bucket:
780fcdc (HEAD -> master, origin/master, origin/HEAD) spotify-latest: Update to version 1.2.51.345.gcc39d911

Scoop Config

PS> scoop config

last_update         startmenu_folder scoop_branch scoop_repo
-----------         ---------------- ------------ ----------
25/11/2024 11:11:23 Scoop Apps       master       https://github.com/ScoopInstaller/Scoop

PowerShell Version

PS>  $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.5.0-rc.1
PSEdition                      Core
GitCommitId                    7.5.0-rc.1
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions