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.42k stars 338 forks source link

[BUG] Cannot prevent auto update to v3.1.0 and 3.1.0 does not work #2436

Closed wiz2003 closed 3 days ago

wiz2003 commented 3 days ago

Please confirm these before moving forward

UniGetUI Version

3.0.2

Windows version, edition, and architecture

Microsoft Windows 11 Pro X64 10.0.22631 Build 22631

Describe your issue

Unigetui 3.1.0 does not work because of a powershell error - Wingetui 3.0.2 works fine. So, uninstall wingetui install wingetui disable network adaptors run wingetui disable auto update of wingetui in settings enable network wingetui always downloads unigetui v.1.0 upon start wingetui always runs the installer to update to v 3.1.0 upon exit. even if the prompt to update is cancelled, wingetui will not now load. If the update is run, the installer loops on ensuring wingetui is installed properly When the install is abandoned and the program started.... The program is useless as you always get the message Missing dependency UniGetui requires Winget Powershell moduleto operate, but it was not found.

It is not possible to resolve this issue..

I am forced to uninstall and cease using wingetui / unigetui

I have log files and screen shots wingetui 3.1.0 log 4.txt wingetui 3.1.0 log 3.txt error whenever unigetui 3 1 0 is started wingetui updates when updates disabled update to unigetui 3 1 0 loop wingetui 3.0.2 log 2.txt wingetui 3.0.2 log 1.txt of each stage

Steps to reproduce the issue

See issue description

UniGetUI Log

as attached

Package Managers Logs

Not relevant

Relevant information

No response

Screenshots and videos

as uploaded

marticliment commented 3 days ago

After disabling updates on Version 3.0.2, kill WingetUI from the task manager. It should not update anymore

wiz2003 commented 3 days ago

Thank you - tried that...... Does not make any difference

marticliment commented 3 days ago

Hello, please follow this guide in order to downgrade WingetUI

almeath commented 3 days ago

Same thing happening for me on Windows 11 23H2 (KB5039212). Everything was working fine as WinGetUI but after the upgrade to UniGetUI I am stuck in a constant loop, as described above. It tells me I have a missing dependency - so I click the option to install it, then restart the app, only for the process to begin again. I definitely have the module installed, and even did so manually under PowerShell 7 just to make sure it was not an error with my system or something related to Windows PowerShell. The app is now useless for me because it will not detect any package upgrades and I cannot get past this "missing dependency" issue.

Screenshot 2024-07-06 051344

Screenshot 2024-07-06 051318

almeath commented 3 days ago

It if helps, when I click the option to "Install WinGet PowerShell Module" it defaults to trying to install it under Windows Powershell (5) which then fails with this error:

Install-Module : The term 'Install-Module' 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:4
+ & {Install-Module -Name Microsoft.WinGet.Client -Force -Confirm:$fals ...
+    ~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Install-Module:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

So that is why I manually installed the module under PowerShell 7 in administrator mode, only to have UniGetUI continually display the messages in my post above.

marticliment commented 3 days ago

Try to install the module on PowerShell 5.1

marticliment commented 3 days ago

Hello,

To all users facing issues with version 3.1.0, please try the new 3.1.1 beta, which aims to fix this issues.

UniGetUI 3.1.1-beta0 release: https://github.com/marticliment/UniGetUI/releases/tag/3.1.1-beta0 Direct installer URL: https://github.com/marticliment/UniGetUI/releases/download/3.1.1-beta0/UniGetUI.Installer.exe

Excuse me for the inconveniences.

almeath commented 3 days ago

Try to install the module on PowerShell 5.1

That is what I did. I have 5.1 installed under Windows 11, and I tried installing manually under that and also separately under PowerShell 7. In either case, UniGetUI is not recognizing I have installed the module, and keeps prompting for it.

almeath commented 3 days ago

Hello,

To all users facing issues with version 3.1.0, please try the new 3.1.1 beta, which aims to fix this issues.

UniGetUI 3.1.1-beta0 release: https://github.com/marticliment/UniGetUI/releases/tag/3.1.1-beta0 Direct installer URL: https://github.com/marticliment/UniGetUI/releases/download/3.1.1-beta0/UniGetUI.Installer.exe

Excuse me for the inconveniences.

Unfortunately, the Beta release suffers from the same issue.

They only thing that works for me at this stage, is downgrading back to WinGetUI 3.0.2 - everything went back to normal after that and my package updates are showing up again. I would think that this proves the helper module is installed properly. UniGetUI does mot recognize it.

marticliment commented 2 days ago

On the beta, please go to Settings -> WinGet -> enable Use legacy bundled winget

wiz2003 commented 2 days ago

Will try that shortly...