marticliment / UniGetUI

UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
https://www.marticliment.com/unigetui/
MIT License
10.32k stars 338 forks source link

Scoop installed but not working. #433

Closed brimwats closed 1 year ago

brimwats commented 1 year ago

I followed the instructions here https://github.com/martinet101/WingetUI/issues/104 and noted the bits that talked about how it was resolved in 1.4. So I installed 1.5 and it was still not detecting scoop and including these weird packages image

i tried to reinstall scoop via winget 1.5 installation but it did not work. I went into settings and I tried it there and get

This script will install Scoop and the dependencies required by WingetUI.
Press any key to continue . . .
Installing scoop...                                                                                                     Initializing...                                                                                                         Downloading...                                                                                                          Extracting...                                                                                                           Creating shim...
Scoop was installed successfully!
Type 'scoop help' for instructions.
Installing git...
scoop : The term 'scoop' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ scoop install git
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (scoop:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Done!
Press any key to continue . . .
brimwats commented 1 year ago

I created a textfile called DisableScoop in .wingetui and restarted and the packages were gone. I tried installing scoop from settings again and

This script will install Scoop and the dependencies required by WingetUI.
Press any key to continue . . .
Installing scoop...                                                                                                     Initializing...                                                                                                         Downloading...                                                                                                          Extracting...                                                                                                           Creating shim...
Scoop was installed successfully!
Type 'scoop help' for instructions.
Installing git...
scoop : The term 'scoop' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ scoop install git
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (scoop:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Done!
Press any key to continue . . .
brimwats commented 1 year ago

I then did this

     I got rid of the scoop error by running
     [irm get.scoop.sh | iex](url)

     but I still can't click any options in About WingetUI

Originally posted by @JonathanPitre in https://github.com/martinet101/WingetUI/issues/138#issuecomment-1263715526

but now

PS C:\Windows\System32> scoop help
scoop: The term 'scoop' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS C:\Windows\System32> irm get.scoop.sh | iex
Initializing...
Downloading...
Extracting...
Creating shim...
Scoop was installed successfully!
Type 'scoop help' for instructions.
PS C:\Windows\System32> scoop .\hal.dll
scoop: The term 'scoop' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS C:\Windows\System32> scoop help
scoop: The term 'scoop' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS C:\Windows\System32>
brimwats commented 1 year ago

Scoop is in both my system and user environ variables

marticliment commented 1 year ago

Then, please try:

  1. restart your system
  2. Run the "install scoop" opton afain after restarting. This willl have forced an environment variable reload
brimwats commented 1 year ago

Then, please try:

  1. restart your system
  2. Run the "install scoop" opton afain after restarting. This willl have forced an environment variable reload

https://github.com/martinet101/WingetUI/issues/433#issuecomment-1323393915

This script will install Scoop and the dependencies required by WingetUI. Press any key to continue . . . Installing scoop... Initializing... Scoop is already installed. Run 'scoop update' to get the latest version. Abort. Installing git... Get-ChildItem : Cannot find path 'C:\Users\bri\scoop\shims\buckets' because it does not exist. At C:\Users\bri\scoop\apps\scoop\current\lib\buckets.ps1:61 char:21

Get-ChildItem : Cannot find path 'C:\Users\bri\scoop\shims\buckets' because it does not exist. At C:\Users\bri\scoop\apps\scoop\current\lib\buckets.ps1:61 char:21

Couldn't find manifest for 'git'. Done!

marticliment commented 1 year ago

You seem to have a broken scoop installation. Could you please reset scoop (deleting the scoop folder placed in your user directory)

brimwats commented 1 year ago

this finally worked. thanks for all the help!

elliotl1l commented 3 months ago

I also encountered this problem (version 3.0.1), what worked for me is to run wingetui as administrator.