TheRandomLabs / scoop-nonportable

A Scoop bucket for nonportable applications.
The Unlicense
136 stars 40 forks source link

Error when install `virtualbox-np` #374

Open snowman opened 1 year ago

snowman commented 1 year ago
$ scoop install virtualbox-np
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Installing 'virtualbox-np' (7.0.6) [64bit] from nonportable bucket
Loading VirtualBox-7.0.6-155176-Win.exe from cache.
Checking hash of VirtualBox-7.0.6-155176-Win.exe ... ok.
Running installer script...
Remove-Item : Cannot find path 'C:\Users\Public\Desktop\Oracle VM
VirtualBox.lnk' because it does not exist.
At line:3 char:1
+ Remove-Item "$env:PUBLIC\Desktop\Oracle VM VirtualBox.lnk"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Public... VirtualB
   ox.lnk:String) [Remove-Item], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.R
   emoveItemCommand

Remove-Item : Cannot find path 'C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\Oracle VM VirtualBox' because it does not exist.
At line:4 char:1
+ Remove-Item -Recurse "$([Environment]::GetFolderPath('commonstartmenu ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\ProgramData\...e VM Virt
   ualBox:String) [Remove-Item], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.R
   emoveItemCommand

Linking ~\scoop\apps\virtualbox-np\current => ~\scoop\apps\virtualbox-np\7.0.6
Creating shim for 'VBoxBalloonCtrl'.
Creating shim for 'VBoxBugReport'.
Creating shim for 'VBoxDTrace'.
Creating shim for 'VBoxExtPackHelperApp'.
Creating shim for 'VBoxHeadless'.
Creating shim for 'vbox-img'.
Creating shim for 'VBoxManage'.
Creating shim for 'VBoxNetDHCP'.
Creating shim for 'VBoxNetNAT'.
Creating shim for 'VBoxSDL'.
Can't shim 'VBoxSDL.exe': File doesn't exist.
jcwillox commented 1 year ago

You may have better luck switching your nonportable bucket to this one https://github.com/ScoopInstaller/Nonportable. I believe this repository is no longer maintained https://github.com/TheRandomLabs/scoop-nonportable/issues/361.

scoop bucket rm nonportable
scoop bucket add nonportable https://github.com/ScoopInstaller/Nonportable

But the manifest over there also seems to be broken at the moment https://github.com/ScoopInstaller/Nonportable/issues/92.