Romanitho/Winget-AutoUpdate

[Bug]: WAU says RetroShare update is failed, despite it isn't

soredake opened this issue · 4 comments

The problem

WAU says RetroShare update is failed, despite it isn't.

What version of WAU has the issue?

1.19.2

What version of Windows are you using (ex. Windows 11 22H2)?

Windows 11 23H2

What version of winget are you using?

v1.8.532-preview

Log information

11:43:19 - ##########   WINGET UPGRADE PROCESS STARTS FOR APPLICATION ID 'Retroshare.Retroshare'   ##########
11:43:19 - -> Running: Winget upgrade --id Retroshare.Retroshare -e --accept-package-agreements --accept-source-agreements -s winget -h


  ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 9.66 MB
  ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2.00 MB / 9.66 MB
  █████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3.00 MB / 9.66 MB
  ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4.00 MB / 9.66 MB
  ███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  5.00 MB / 9.66 MB
  ██████████████████▒▒▒▒▒▒▒▒▒▒▒▒  6.00 MB / 9.66 MB
  █████████████████████▒▒▒▒▒▒▒▒▒  7.00 MB / 9.66 MB
  ████████████████████████▒▒▒▒▒▒  8.00 MB / 9.66 MB
  ███████████████████████████▒▒▒  9.00 MB / 9.66 MB
  ██████████████████████████████  9.66 MB / 9.66 MB

Found RetroShare [Retroshare.Retroshare] Version 0.6.7.2
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/RetroShare/RetroShare/releases/download/v0.6.7.2/RetroShare-0.6.7a-4-ga1fdce2e5-20231126-Qt-5.15.2-x64-setup.exe



  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 30.7 MB
  ████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  9.00 MB / 30.7 MB
  ███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  15.7 MB / 30.7 MB
  ████████████████████▒▒▒▒▒▒▒▒▒▒  20.7 MB / 30.7 MB
  ███████████████████████████▒▒▒  27.7 MB / 30.7 MB
  ██████████████████████████████  30.7 MB / 30.7 MB
Successfully verified installer hash
Starting package install...

Successfully installed
11:43:53 - -> An upgrade for RetroShare failed, now trying an install instead... (1/2)
11:43:53 - -> Running: Winget install --id Retroshare.Retroshare -e --accept-package-agreements --accept-source-agreements -s winget -h --force


  ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 9.66 MB
  ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2.00 MB / 9.66 MB
  █████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3.00 MB / 9.66 MB
  ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4.00 MB / 9.66 MB
  ███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  5.00 MB / 9.66 MB
  ██████████████████▒▒▒▒▒▒▒▒▒▒▒▒  6.00 MB / 9.66 MB
  █████████████████████▒▒▒▒▒▒▒▒▒  7.00 MB / 9.66 MB
  ████████████████████████▒▒▒▒▒▒  8.00 MB / 9.66 MB
  ███████████████████████████▒▒▒  9.00 MB / 9.66 MB
  ██████████████████████████████  9.66 MB / 9.66 MB
Found RetroShare [Retroshare.Retroshare] Version 0.6.7.2
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/RetroShare/RetroShare/releases/download/v0.6.7.2/RetroShare-0.6.7a-4-ga1fdce2e5-20231126-Qt-5.15.2-x64-setup.exe



  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 30.7 MB
  ████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4.72 MB / 30.7 MB
  ████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  8.72 MB / 30.7 MB
  ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  12.7 MB / 30.7 MB
  ████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒  16.7 MB / 30.7 MB
  ████████████████████▒▒▒▒▒▒▒▒▒▒  20.7 MB / 30.7 MB
  ████████████████████████▒▒▒▒▒▒  24.7 MB / 30.7 MB
  ████████████████████████████▒▒  28.7 MB / 30.7 MB
  ██████████████████████████████  30.7 MB / 30.7 MB
Successfully verified installer hash
Starting package install...

Successfully installed
11:44:14 - -> An upgrade for RetroShare failed, now trying an install instead... (2/2)
11:44:14 - -> Running: Winget install --id Retroshare.Retroshare -e --accept-package-agreements --accept-source-agreements -s winget -h --force


  ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 9.66 MB
  ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2.00 MB / 9.66 MB
  █████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3.00 MB / 9.66 MB
  ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4.00 MB / 9.66 MB
  ███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  5.00 MB / 9.66 MB
  ██████████████████▒▒▒▒▒▒▒▒▒▒▒▒  6.00 MB / 9.66 MB
  █████████████████████▒▒▒▒▒▒▒▒▒  7.00 MB / 9.66 MB
  ████████████████████████▒▒▒▒▒▒  8.00 MB / 9.66 MB
  ███████████████████████████▒▒▒  9.00 MB / 9.66 MB
  ██████████████████████████████  9.66 MB / 9.66 MB
Found RetroShare [Retroshare.Retroshare] Version 0.6.7.2
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/RetroShare/RetroShare/releases/download/v0.6.7.2/RetroShare-0.6.7a-4-ga1fdce2e5-20231126-Qt-5.15.2-x64-setup.exe



  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 30.7 MB
  ████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  5.00 MB / 30.7 MB
  ████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  9.00 MB / 30.7 MB
  ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  13.0 MB / 30.7 MB
  ████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒  17.0 MB / 30.7 MB
  ████████████████████▒▒▒▒▒▒▒▒▒▒  21.0 MB / 30.7 MB
  ████████████████████████▒▒▒▒▒▒  25.0 MB / 30.7 MB
  ████████████████████████████▒▒  28.7 MB / 30.7 MB
  ██████████████████████████████  30.7 MB / 30.7 MB
Successfully verified installer hash
Starting package install...

Successfully installed
11:44:36 - ##########   WINGET UPGRADE PROCESS FINISHED FOR APPLICATION ID 'Retroshare.Retroshare'   ##########
11:44:36 - RetroShare update failed.


### Additional information

_No response_

Same problem but inversed, WAU thinks update is installed, in reality no update is found.

11:48:52 - ##########   WINGET UPGRADE PROCESS STARTS FOR APPLICATION ID 'Microsoft.XNARedist'   ##########
11:48:52 - -> Running: Winget upgrade --id Microsoft.XNARedist -e --accept-package-agreements --accept-source-agreements -s winget -h
No available upgrade found.
No newer package versions are available from the configured sources.
11:49:16 - ##########   WINGET UPGRADE PROCESS FINISHED FOR APPLICATION ID 'Microsoft.XNARedist'   ##########
11:49:16 - Microsoft XNA Framework Redistributable 3.1 updated to 4.0.30901.0 !

Same problem but inversed, WAU thinks update is installed, in reality no update is found.

what if between executions winget drops the 2nd source and lives with msstore alone?
I vote for adding dumping of winget source list to the same logfile when such event is triggered.

This issue is stale because it has been open for 30 days with no activity.

I've uninstalled retroshare.