winutil icon indicating copy to clipboard operation
winutil copied to clipboard

Cannot install any packages

Open ubrider opened this issue 2 years ago • 32 comments

Describe the bug "winget failed to install"

To Reproduce Try install package

Expected behavior

Screenshots image_2024-02-07_122919365

Additional context

ubrider avatar Feb 07 '24 11:02 ubrider

I am having the same problem with a fresh install of Win 11 Pro

This is the message on the console: Checking if Winget is Installed... Winget v1.6.3482

  • Winget up-to-date Winget Already Installed =========================================== -- Winget failed to install --- ===========================================

M3Rocket avatar Feb 07 '24 12:02 M3Rocket

Same here!

joniboni03 avatar Feb 07 '24 12:02 joniboni03

Same problem here- Fresh Install Windows 11 Pro

Hujgo avatar Feb 07 '24 13:02 Hujgo

Same here. This issue needs a lot more attention

Yuuh15 avatar Feb 07 '24 13:02 Yuuh15

Same problem here.

Though it was due to my recent "installation" of AtlasOs (https://atlasos.net/) over my current win11...

Winget was reinstalled with winutil previously.

if you need more debug info please let me know. :-) Tshuuuuussss

pirend avatar Feb 07 '24 15:02 pirend

this should now work on fresh win11 installs with broken winget commit f39deab55595aafb73665ea5510ddda569b036a7

ChrisTitusTech avatar Feb 07 '24 17:02 ChrisTitusTech

Unfortunately, it still doesn't work.

Checking if Winget is Installed... Winget v1.6.3482

  • Winget up-to-date Winget Already Installed =========================================== -- Winget failed to install --- ===========================================

JorgaWetzel avatar Feb 07 '24 18:02 JorgaWetzel

still doesn't work., Same problem here- Fresh Install Windows 11 Pro

ffonsecaluis avatar Feb 07 '24 18:02 ffonsecaluis

Even github is weird, I tried to clone the repo based on the main branch and it states that the version is from 2024.02.03 powershell_2O9hmX32cy Edit: It seems that by directly downloading a zip of the repo this doesn't happen, but the problem persists: powershell_M8PT0BnGlF powershell_QDw3UCltTY

Yuuh15 avatar Feb 07 '24 19:02 Yuuh15

oof i'm not alone, i forgot to mention it doesn't work on my fresh install of win 11 with latest updates AND Win 10 latest updates too. On my Win10 it worked just days ago and then errors for both.

ubrider avatar Feb 07 '24 21:02 ubrider

I also had this problem on two successive installs of a Win11 23H2 ISO. The handy "install winget" button in winutil resolved it, but obviously this is something that should work out of the box.

theriverlethe avatar Feb 07 '24 22:02 theriverlethe

Screenshot 2024-02-07 183122 Same problems, tried to reinstall winget in config but it did not work. Can't install packages.

TheVoork avatar Feb 07 '24 23:02 TheVoork

Same problems here as well on windows 11

tekshteint avatar Feb 07 '24 23:02 tekshteint

Edition Windows 11 Home Version 23H2 Installed on ‎2/‎7/‎2024 OS build 22631.3085 Experience Windows Feature Experience Pack 1000.22684.1000.0

image

image

ISO was cleaned using this tools MicroWin utility

Also same issue using the "install selected" button, but no issue with the "upgrade all" and "get installed" functions. I have tried to use the reinstall winget option and it re installs winget as shown in the attached log but unlike some people this did not fix the issue. choco.summary.log chocolatey.log

S-Pika avatar Feb 07 '24 23:02 S-Pika

Screenshot 2024-02-07 183122 Same problems, tried to reinstall winget in config but it did not work. Can't install packages.

Have you tested it after seeing this error? It looks like chocolatey worked but winget could be throwing a bad error. Winget is working fine on my system but I don't remember seeing this error.

theriverlethe avatar Feb 07 '24 23:02 theriverlethe

reverted to past patch since people were having issues with winget commit c842584cfe2b2368bff57dba281d6715793a682f

ChrisTitusTech avatar Feb 08 '24 00:02 ChrisTitusTech

reverted to past patch since people were having issues with winget commit c842584cfe2b2368bff57dba281d6715793a682f

Thanks Chris

bca009 avatar Feb 08 '24 00:02 bca009

I fixed my problem :) I deactivated Windows defender real-time protection in the security dashboard and it did the trick. :P

TheVoork avatar Feb 08 '24 00:02 TheVoork

Not working yet.

lmartine2000 avatar Feb 08 '24 01:02 lmartine2000

Not working yet.

What's not working yet? Be specific.

theriverlethe avatar Feb 08 '24 01:02 theriverlethe