Romanitho / Winget-AutoUpdate

WAU daily updates apps as system and notify connected users. (Allowlist and Blocklist support)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Updater won't install some updates!

Animo78 opened this issue · comments

The problem

The updater won't install some updates and gives an error in the notification center.

  • Windows Terminal
  • Microsoft Windows Desktop Runtime 7.0.14 (x64)

What version of WAU has the issue?

1.18.3

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

23H2 Build 22631.2715

What version of winget are you using?

1.6.3133

Log information

###########################################################
#     CHECK FOR APP UPDATES (User context) - 11/25/2023
###########################################################

23:27:18 - Notification Level: Full. Notification Language: English
23:27:18 - Checking internet connection...
23:27:18 - Connected !
23:27:19 - Winget Version: v1.6.3133
23:27:19 - WAU current version: 1.18.3
23:27:19 - WAU uses Black List config
23:27:19 - Checking application updates on Winget Repository...
-> Available update : Windows Terminal. Current version : 1.18.2822.0. Available version : 1.18.3181.0.
23:27:20 - Updating Windows Terminal from 1.18.2822.0 to 1.18.3181.0...
23:27:23 - ##########   WINGET UPGRADE PROCESS STARTS FOR APPLICATION ID 'Microsoft.WindowsTerminal'   ##########
23:27:23 - -> Running: Winget upgrade --id Microsoft.WindowsTerminal -e --accept-package-agreements --accept-source-agreements -s winget -h

Found Windows Terminal [Microsoft.WindowsTerminal] Version 1.18.3181.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
  - Packages
Installing dependencies:
(1/1) Found Microsoft.UI.Xaml [Microsoft.UI.Xaml.2.8] Version 8.2306.22001.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...

  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2%
  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2%
  ████████████████████████████▒▒  95%
Installer failed with exit code: 0x80070002 : The system cannot find the file specified.

23:27:27 - -> An upgrade for Windows Terminal failed, now trying an install instead...
23:27:27 - -> Running: Winget install --id Microsoft.WindowsTerminal -e --accept-package-agreements --accept-source-agreements -s winget -h --force
Found Windows Terminal [Microsoft.WindowsTerminal] Version 1.18.3181.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.

This package requires the following dependencies:
  - Packages
Installing dependencies:
(1/1) Found Microsoft.UI.Xaml [Microsoft.UI.Xaml.2.8] Version 8.2306.22001.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...

  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2%
  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2%
  ████████████████████████████▒▒  95%
Installer failed with exit code: 0x80070002 : The system cannot find the file specified.

23:27:29 - ##########   WINGET UPGRADE PROCESS FINISHED FOR APPLICATION ID 'Microsoft.WindowsTerminal'   ##########
23:27:29 - Windows Terminal update failed.
23:27:32 - No new update.
23:27:32 - End of process!
 
###########################################################
#     CHECK FOR APP UPDATES (System context with ServiceUI) - 11/25/2023
###########################################################

23:29:23 - Notification Level: Full. Notification Language: English
23:29:23 - Checking internet connection...
23:29:23 - Connected !
23:29:24 - Winget Version: v1.6.3133
23:29:24 - WAU current version: 1.18.3
23:29:24 - WAU AutoUpdate is Enabled.
23:29:24 - WAU is up to date.
23:29:24 - WAU uses Black List config
23:29:24 - Checking application updates on Winget Repository...

Additional information

I uninstalled the failed runtime and reinstalled it by downloading windowsdesktop-runtime-7.0.14-win-x64.exe from the Microsoft site, rebooted and WAU still wanted to install it from the previous version to the new one.
With Windows Terminal it keeps saying I already got the latest version.

I had a second runtime which failed but after some basic troubleshooting it disappeared.
To be honest I have no clue what fixed it.

I just saw there was a preview update for winget, so I updated to: v1.7.3172-preview
Makes no difference.

Regarding Windows Terminal, it's Microsoft.UI.Xaml.2.8 that fails installing (it's a mandatory dependency).
You can test in a console as user and run: winget install Microsoft.UI.Xaml.2.8
Same result:
image
Not a fault of WAU.
https://github.com/microsoft/winget-pkgs/blob/master/manifests/m/Microsoft/WindowsTerminal/1.18.3181.0/Microsoft.WindowsTerminal.installer.yaml

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

This issue was closed because it has been inactive for 14 days since being marked as stale.