UniGetUI icon indicating copy to clipboard operation
UniGetUI copied to clipboard

scoop.fatal in the update section

Open ppvnf opened this issue 2 years ago • 6 comments

I'm using the latest version of WingetUI and Windows 10 x64 21h2 and I'm getting a bunch of scoop.fatal packages in the update section. There's also scoop.git and scoop.to. I can see the actual updates if I scroll down. Out of 37 updates availables only 3 are real packages. screenshot

ppvnf avatar Jul 19 '22 01:07 ppvnf

What happens if you run scoop status in a cmd window?

marticliment avatar Jul 19 '22 08:07 marticliment

It seems scoop is not being properly detected by WingetUI. I did a few tests. I can update and uninstall scoop apps through WingetUI but if I try to install a new one nothing happens (I can still install through CMD tho). Winget works perfectly. screenshot 2 nd1

ppvnf avatar Jul 19 '22 11:07 ppvnf

if you run "scoop status in cmd what happens?"

marticliment avatar Jul 19 '22 15:07 marticliment

cmd, not powershell

marticliment avatar Jul 19 '22 15:07 marticliment

Captura de tela 2022-07-19 122757

ppvnf avatar Jul 19 '22 15:07 ppvnf

weird... I'll take a look

marticliment avatar Jul 20 '22 15:07 marticliment

Does WingetUI 1.3 work now?

marticliment avatar Sep 06 '22 07:09 marticliment

Does WingetUI 1.3 work now?

Partially. I successfully used WingetUI 1.3 to install Google Chrome from scoop, which I couldn t do previously through WingetUI 1.2. I can t, however, uninstall scoop apps using WingetUI 1.3. I could uninstall using 1.2 though. Besides that there are still dummy packages in the update section and scoop isn`t properly detected as installed.

ppvnf avatar Sep 06 '22 11:09 ppvnf

Capture 2 Screenshot 2022-09-06 072954 Screenshot 2022-09-06 073239 Screenshot 2022-09-06 073331

ppvnf avatar Sep 06 '22 11:09 ppvnf

When uninstalling, are you using the "remove app data" context menu option or are you simply double-clicking?

marticliment avatar Sep 06 '22 18:09 marticliment

When uninstalling, are you using the "remove app data" context menu option or are you simply double-clicking?

I was double-clicking. I just tried the context menu option and it works!

ppvnf avatar Sep 06 '22 18:09 ppvnf

ah, that was not expected...

Amnyway, i'll take a look

marticliment avatar Sep 06 '22 18:09 marticliment

ah, that was not expected...

Amnyway, i'll take a look

I had this idea after reading another issue. I tried running WingetUI as administrator and all issues were solved! By the way, instead of always right-clicking to run as administrator you can do this automatically. I would say my issue is mostly fixed, but I guess having to run as administrator is not ideal.

"Ok I think i've identified the problem. If I start wingetUI from the start menu by searching for it, it shows scoop not found and unknown.

But if I right click on the start menu icon, click open file location and then run wingetui from the shorcut in windows explorer, It runs fine and detects scoop.

Really weird, but I was able to reproduce it multiple times."

Originally posted by @rp1231 in https://github.com/martinet101/WingetUI/issues/104#issuecomment-1238384644

ppvnf avatar Sep 06 '22 18:09 ppvnf

I guess having to run as administrator is not ideal

It is definitely not

marticliment avatar Sep 06 '22 19:09 marticliment

Could you try uninstalling WingetUI from scoop and then installing from WingetUI or manually?

marticliment avatar Sep 06 '22 19:09 marticliment

Could you try uninstalling WingetUI from scoop and then installing from WingetUI or manually?

Same result. The problems are fixed only by running as administrator

ppvnf avatar Sep 06 '22 19:09 ppvnf

This issue should have been fixed (for users who are still experiencing it) and will be available in WingetUI 1.4

marticliment avatar Sep 28 '22 16:09 marticliment

This issue should have been fixed (for users who are still experiencing it) and will be available in WingetUI 1.4

Awesome!

ppvnf avatar Sep 28 '22 16:09 ppvnf

I've tried 1.4 without admin privilages and scoop still isn't recognized and fake updates still appear =(. log.txt

ppvnf avatar Oct 01 '22 19:10 ppvnf

LMAO Building WingetUI wasn't totally successful, but I accidentally fixed this issue on https://github.com/martinet101/WingetUI/issues/163#issuecomment-1264737794 I will left this open so you can decide if this "fix" can be applied to other users Maybe it was because of git config --global --add safe.directory...

ppvnf avatar Oct 02 '22 22:10 ppvnf

Git should mark by default scoop dirs as safe, i guess this is more a scoop issue...

marticliment avatar Oct 03 '22 10:10 marticliment

Git should mark by default scoop dirs as safe, i guess this is more a scoop issue...

I believe so

ppvnf avatar Oct 03 '22 10:10 ppvnf