Closed flotpg closed 9 months ago
Having the same issue on v. 1.17.8. Win 11 22H2. Winget v1.6.2771 After the log I can verify that OhMyPosh was updated. No OnSuccess notification gets triggered since it seems to think it failed.
##################################################
# CHECK FOR APP UPDATES - 2023-10-30
##################################################
07:01:22 - Running in System context
07:01:22 - Notification Level: SuccessOnly. Notification Language: Svenska
07:01:22 - Checking internet connection...
07:01:23 - Connected !
07:01:31 - Winget Version: v1.6.2771
07:01:31 - WAU current version: 1.17.8
07:01:31 - WAU AutoUpdate is Disabled.
07:01:31 - WAU uses External Lists from: C:\ProgramData\Winget-AutoUpdate-Configurator
07:01:31 - Newer List downloaded/copied to local path: C:\ProgramData\Winget-AutoUpdate
07:01:31 - WAU uses External Mods from: C:\ProgramData\Winget-AutoUpdate-Configurator\mods
07:01:31 - Mods are up to date.
07:01:31 - WAU uses Black List config
07:01:32 - Checking application updates on Winget Repository...
07:01:34 - An unusual thing happened (maybe all apps are upgraded):
-
\
███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 1024 KB / 8.25 MB
███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 2.00 MB / 8.25 MB
██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 3.00 MB / 8.25 MB
██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 4.00 MB / 8.25 MB
██████████████████▒▒▒▒▒▒▒▒▒▒▒▒ 5.00 MB / 8.25 MB
█████████████████████▒▒▒▒▒▒▒▒▒ 6.00 MB / 8.25 MB
█████████████████████████▒▒▒▒▒ 7.00 MB / 8.25 MB
█████████████████████████████▒ 8.00 MB / 8.25 MB
██████████████████████████████ 8.25 MB / 8.25 MB
-
No installed package found matching input criteria.
07:01:34 - No new update.
07:01:37 - User logged on, get a list of installed Winget apps in System context...
07:01:43 - Starting WAU in User context
##################################################
# CHECK FOR APP UPDATES - 2023-10-30
##################################################
07:01:52 - Running in User context
07:01:53 - Notification Level: SuccessOnly. Notification Language: Svenska
07:01:53 - Checking internet connection...
07:01:53 - Connected !
07:02:00 - Winget Version: v1.6.2771
07:02:00 - WAU current version: 1.17.8
07:02:00 - WAU uses Black List config
07:02:00 - Checking application updates on Winget Repository...
-> Available update : Microsoft Teams. Current version : 1.6.00.22378. Available version : 23257.2618.2432.4374.
-> Available update : Oh My Posh version 18.15.0. Current version : 18.15.0. Available version : 18.17.0.
-> Available update : Teams Machine-Wide Installer. Current version : 1.5.0.30767. Available version : 23257.2618.2432.4374.
07:02:05 - Microsoft Teams : Skipped upgrade because it is in the excluded app list
07:02:06 - Updating Oh My Posh version 18.15.0 from 18.15.0 to 18.17.0...
07:02:06 - ########## WINGET UPGRADE PROCESS STARTS FOR APPLICATION ID 'JanDeDobbeleer.OhMyPosh' ##########
07:02:06 - -> Running: Winget upgrade --id JanDeDobbeleer.OhMyPosh --accept-package-agreements --accept-source-agreements -h
-
\
|
/
-
\
-
\
|
/
Found Oh My Posh [JanDeDobbeleer.OhMyPosh] Version 18.17.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.
Downloading https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v18.17.0/install-amd64.exe
-
\
|
/
-
\
|
/
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 1024 KB / 6.22 MB
██████████████████████████████ 6.22 MB / 6.22 MB
Successfully verified installer hash
Starting package install...
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
Successfully installed
07:02:47 - -> An upgrade for Oh My Posh version 18.15.0 failed, now trying an install instead...
07:02:47 - -> Running: Winget install --id JanDeDobbeleer.OhMyPosh --accept-package-agreements --accept-source-agreements --force -h
-
Found Oh My Posh [JanDeDobbeleer.OhMyPosh] Version 18.17.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.
Downloading https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v18.17.0/install-amd64.exe
-
\
|
/
-
\
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 1024 KB / 6.22 MB
██████████████████████████████ 6.22 MB / 6.22 MB
Successfully verified installer hash
Starting package install...
-
\
|
Successfully installed
07:02:54 - ########## WINGET UPGRADE PROCESS FINISHED FOR APPLICATION ID 'JanDeDobbeleer.OhMyPosh' ##########
07:02:54 - Oh My Posh version 18.15.0 update failed.
07:02:54 - Teams Machine-Wide Installer : Skipped upgrade because it is in the excluded app list
07:02:54 - No new update.
07:02:54 - End of process!
I also saw some strange behaviour with TeamViewer Host updates. It first tries to update the currently install MSI but fails and then installs via the setup.exe over the current install which results in:
Can I prevent the install retry via different setup?
This issue is stale because it has been open for 30 days with no activity.
Can we provide anything else to help fixing this?
Hey. Not all apps can be updated with Winget yet. Sadly this issue is with winget and how Teamviewer packages their applications. You should avoid the app using the white-/blacklist.
Same goes for Teams: Use the Teams updater or switch to the new Teams App.
regarding ohmyposh this seems strange. I use it aswell but updating works without any issues. But I will check on the upstream project so see if an update might help out here.
thanks a lot. Can I prevent the install retry via different installer?
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.
The problem
Hi Hauke,
I noticed this issue on the machines I'm testing this nice solution.
I get the notification that the update has failed but in reality it worked. The updates.log says "erfolgreich installiert" and then claims the update failed. Is this due some regional settings / issues?
This is just an example and it looks to me, that it always says "... update failed" when the previous message was similar to "Die Installation war erfolgreich" or in german.
What version of WAU has the issue?
1.17.6-2
What version of Windows are you using (ex. Windows 11 22H2)?
Windows 11 22H2
What version of winget are you using?
v1.6.2771
Log information