winutil icon indicating copy to clipboard operation
winutil copied to clipboard

Chocolatey not installing

Open Maitschl opened this issue 3 years ago • 10 comments

Describe the bug Chocolatey will not install. Unable to install software afterwards.

To Reproduce Steps to reproduce the behavior:

  1. Launch powershell as admin
  2. get the error Expected behavior
  3. Launch powershell as admin
  4. install choco
  5. install software and enjoy

Additional context Im on a debloated Win 10 iso. I used the "lite" preset with NTLITE.

Maitschl avatar Nov 26 '22 10:11 Maitschl

can you provide a screenshoot of the errors you are getting?

DeveloperDurp avatar Nov 26 '22 12:11 DeveloperDurp

sure

image

Maitschl avatar Nov 26 '22 12:11 Maitschl

Have you tried rebooting? I think something in windows hasn't updated yet.

DeveloperDurp avatar Nov 26 '22 12:11 DeveloperDurp

yes i tried to reboot and also everything is up2date. its on my local machine and on the vm too.

Maitschl avatar Nov 26 '22 12:11 Maitschl

Interesting, can you try running a winget install manually?

IE something like this

winget install brave.brave

DeveloperDurp avatar Nov 26 '22 12:11 DeveloperDurp

yeah this is working after i accept the terms of transaction.

Maitschl avatar Nov 26 '22 13:11 Maitschl

Interesting, can you try installing something through winutil one more time? Something you have not installed yet.

DeveloperDurp avatar Nov 26 '22 13:11 DeveloperDurp

Okay.. i reinstalled right now Windows 10 Edu and made a new iso with ntlite. Again i used the lite Templates and now i get the same message but im now able to Install some things. I would like to use chrome but after the download nothing happens.. its a bit strange and maybe only related to winget?

Maitschl avatar Nov 26 '22 14:11 Maitschl

Yeah, that's one of the reasons for the idea to implement other cli tools as winget can be unstable at times. Sometimes you have to run the install a couple times to get it to work in my experience.

DeveloperDurp avatar Nov 26 '22 14:11 DeveloperDurp

I have the same issue.

I have installed several apps via winget and CTT tool Upgraded apps that were out of date Tried all 3 different methods of running the script as on GitHUB I got it to work by going to https://christitus.com/win, copying the script into Powershell ISE and clicking run

This has consistently worked, as I removed chocolatey and repeated all steps as previously. The only one that consistently works is copying the script into Powershell ISE and clicking run. I am not sure why it does this.

Is there any way I can help troubleshoot further?

EDIT:

I should also specify it's not exactly the same as I am not on a debloated windows.

I tried on a fresh Windows 10 Pro and Windows 11 Pro after all updated were installed, and used winget at least once to get past the EULA

UnderlingWizzo avatar Nov 27 '22 15:11 UnderlingWizzo

I am able to replicate the issue on a fresh Win11 install. I will update with what I find

DeveloperDurp avatar Nov 27 '22 22:11 DeveloperDurp