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
13.38k stars 460 forks source link

[BUG/ISSUE] Properly update packages: use winget update command #549

Closed ppvnf closed 1 year ago

ppvnf commented 1 year ago

Before submitting the issue

Describe the bug

While possible to upgrade Microsoft.VCRedist.2013.x64 using Winget-CLI (which will correctly replace the old version with the newest one, WingetUI, however, installs the newest one while keeping the old one as well, resulting in both versions being installed a the same time. I believe the same problem happens with Microsoft.VCRedist.2013.x86

To Reproduce

Steps to reproduce the behaviour:

  1. Install old version of Microsoft.VCRedist.2013.x64 winget install Microsoft.VCRedist.2013.x64 -v 12.0.30501.0 (you may use WingetUI as well)
  2. On WingetUI, try to upgrade Microsoft.VCRedist.2013.x64 to the latest version
  3. Check if both the new version and the old one are installed (you may use winget list --name "Visual C++"):

209883021-ff50682e-1230-4979-90e9-fdc1ebddc386

Expected behaviour

WingetUI should behave like Winget-CLI (replace the old version with the newest one, instead of installing the newest one while keeping the old one as well)

The Log

``` C:\Users\User\AppData\Local\Programs\WingetUI\sudo\gsudo.exe C:\Users\User\AppData\Local\Programs\WingetUI\sudo 🟢 checkQueue Thread started! 🟢 Using cached lang file 🟡 Using bundled lang file (forced=True) It took 0.01558065414428711 to load all language files 🔵 Starting main application... Scanning for instances... Found lock file(s), reactivating... 🔵 Starting update check 🔵 Language file up-to-date b'v1.3.0' None updating winget 🟢 Downloaded latest metadata to local file 🔵 Loaded metadata from local file 🔵 Version URL: https://versions.marticliment.com/versions/wingetui.ver 🟢 Updates not found b"Current Scoop version:\nv0.3.1 - Released at 2022-11-15\n\n'main' bucket:\n74fa26281 twilio-cli: Update to version 5.3.1\n\n" None Reactivation signal ignored: RaiseWindow_[1672307500.5121424] {'wingetFound': True, 'scoopFound': True, 'sudoFound': True, 'wingetVersion': 'v1.3.0', 'scoopVersion': 'v0.3.1 - Released at 2022-11-15', 'sudoVersion': 'gsudo v2.0.4 (Branch.tags-v2.0.4.Sha.506efa024af0cef6e4b0cfec42e0c8c5d0b1472c)\r'} Reached main ui load milestone 🟢 Starting winget search, winget on C:\Users\User\AppData\Local\Programs\WingetUI\winget-cli\winget.exe... 🟢 Starting scoop search... 🟢 Discover tab loaded 🟢 Starting winget search, winget on C:\Users\User\AppData\Local\Programs\WingetUI\winget-cli\winget.exe... 🟢 Starting scoop search... 🟢 Upgrades tab loaded 🟢 Starting winget search, winget on C:\Users\User\AppData\Local\Programs\WingetUI\winget-cli\winget.exe... 🟢 Starting scoop search... 🟢 Discover tab loaded 🟢 Starting scoop search... 🟢 Settings tab loaded! 🟢 About tab loaded! 🟢 Main application loaded... 0 🟢 Winget uninstallable packages search finished 🟢 Searching for string "" 🟢 Scoop bucket search finished Name Id Version Available 🟢 Winget search finished 🟢 Searching for string "" 🟢 Scoop search finished 🟢 Searching for string "" 🟢 Searching for string "" 🟢 Total packages: 61 🟢 Scoop search finished 🟢 Searching for string "" <_io.BufferedReader name=4> None 🟡 package 优效文件助手 YouXia failed parsing, going for method 2... b'\xe4\xbc\x98\xe6\x95\x88\xe6\x96\x87\xe4\xbb\xb6\xe5\x8a\xa9\xe6\x89\x8b YouXiao.YXFile 2.2.12.12 Moniker:' 80 🟡 package 优效日历 YouX failed parsing, going for method 2... b'\xe4\xbc\x98\xe6\x95\x88\xe6\x97\xa5\xe5\x8e\x86 YouXiao.YXCalendar 2.2.12.20 Moniker:' 80 🟡 package 优酷 Yo failed parsing, going for method 2... b'\xe4\xbc\x98\xe9\x85\xb7 Youku.Youku 9.2.11.1005 Moniker:' 80 🟡 package 知云文献翻译 Yemiao failed parsing, going for method 2... b'\xe7\x9f\xa5\xe4\xba\x91\xe6\x96\x87\xe7\x8c\xae\xe7\xbf\xbb\xe8\xaf\x91 Yemiao.ZhiyunTranslator 7.7.2 Moniker:' 80 🟡 package 迅雷 Xu failed parsing, going for method 2... b'\xe8\xbf\x85\xe9\x9b\xb7 XunLei.xunlei 11.3.4.1850 Moniker:' 80 🟡 package 场辞 xi failed parsing, going for method 2... b'\xe5\x9c\xba\xe8\xbe\x9e xinpianchang.StudioTrans 1.2.4 Moniker:' 80 🟡 package 喜马拉雅直播助手 Ximalaya failed parsing, going for method 2... b'\xe5\x96\x9c\xe9\xa9\xac\xe6\x8b\x89\xe9\x9b\x85\xe7\x9b\xb4\xe6\x92\xad\xe5\x8a\xa9\xe6\x89\x8b Ximalaya.XimalayaLive 4.15.469 Moniker:' 80 🟡 package 喜马拉雅 Xima failed parsing, going for method 2... b'\xe5\x96\x9c\xe9\xa9\xac\xe6\x8b\x89\xe9\x9b\x85 Ximalaya.Ximalaya 3.3.0 Moniker:' 80 🟡 package 网易云音乐 xiaoz failed parsing, going for method 2... b'\xe7\xbd\x91\xe6\x98\x93\xe4\xba\x91\xe9\x9f\xb3\xe4\xb9\x90 xiaozhu188.electron-vue-cloud-music 1.2.3 Moniker:' 80 🟡 package 小米云服务 Xiaom failed parsing, going for method 2... b'\xe5\xb0\x8f\xe7\xb1\xb3\xe4\xba\x91\xe6\x9c\x8d\xe5\x8a\xa1 Xiaomi.XiaomiCloud 2.1.1 Moniker:' 80 🟡 package 小鹅通助手 Xiaoe failed parsing, going for method 2... b'\xe5\xb0\x8f\xe9\xb9\x85\xe9\x80\x9a\xe5\x8a\xa9\xe6\x89\x8b Xiaoe.Xiaoetong 1.10.13 Moniker:' 80 🟡 package 万兴数据管家 Wonder failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4\xe6\x95\xb0\xe6\x8d\xae\xe7\xae\xa1\xe5\xae\xb6 Wondershare.WXRecovery 3.5.14.8 Moniker:' 80 🟡 package 万兴优转 Wond failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4\xe4\xbc\x98\xe8\xbd\xac Wondershare.UniConverter.CN 14.0.4.30 Moniker:' 80 🟡 package 万兴易修 Wond failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4\xe6\x98\x93\xe4\xbf\xae Wondershare.Repairit.CN 3.0.0.6 Moniker:' 80 🟡 package 万兴恢复专家 Wonder failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4\xe6\x81\xa2\xe5\xa4\x8d\xe4\xb8\x93\xe5\xae\xb6 Wondershare.Recoverit.CN 6.5.2.5 Moniker:' 80 🟡 package 万兴PDF阅读器 Wonde failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4PDF\xe9\x98\x85\xe8\xaf\xbb\xe5\x99\xa8 Wondershare.PDFReader.CN 1.0.8 Moniker:' 80 🟡 package 万兴PDF Wo failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4PDF Wondershare.PDFelement.CN 9.3.2 Moniker:' 80 🟡 package 万兴喵影 Wond failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4\xe5\x96\xb5\xe5\xbd\xb1 Wondershare.Filmora.CN 6.2.4 Moniker:' 80 🟡 package 万兴录演 Wond failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4\xe5\xbd\x95\xe6\xbc\x94 Wondershare.DemoCreator.CN 6.2.4 Moniker:' 80 🟡 package 绘画助手 ULAB failed parsing, going for method 2... b'\xe7\xbb\x98\xe7\x94\xbb\xe5\x8a\xa9\xe6\x89\x8b ULAB.PaintAid 2.3.3.0 Moniker:' 80 🟡 package 全球学术快报 TTKN.C failed parsing, going for method 2... b'\xe5\x85\xa8\xe7\x90\x83\xe5\xad\xa6\xe6\x9c\xaf\xe5\xbf\xab\xe6\x8a\xa5 TTKN.CNKIExpress 0.1.21 Moniker:' 80 🟡 package 华宇拼音输入法 Thuniso failed parsing, going for method 2... b'\xe5\x8d\x8e\xe5\xae\x87\xe6\x8b\xbc\xe9\x9f\xb3\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 Thunisoft.HuayuPY 7.3.0.296 Moniker:' 80 🟡 package 迅雷影音 Thun failed parsing, going for method 2... b'\xe8\xbf\x85\xe9\x9b\xb7\xe5\xbd\xb1\xe9\x9f\xb3 Thunder.Xmp 6.2.3.590 Moniker:' 80 🟡 package 同花顺远航版 THS.TH failed parsing, going for method 2... b'\xe5\x90\x8c\xe8\x8a\xb1\xe9\xa1\xba\xe8\xbf\x9c\xe8\x88\xaa\xe7\x89\x88 THS.THS.Hevo 8.8.1.0 Moniker:' 80 🟡 package 全民K歌主播版 Tencen failed parsing, going for method 2... b'\xe5\x85\xa8\xe6\xb0\x91K\xe6\xad\x8c\xe4\xb8\xbb\xe6\x92\xad\xe7\x89\x88 Tencent.WeSingLiveAssistant 0.0.0.0 Moniker:' 80 🟡 package 全民K歌 Ten failed parsing, going for method 2... b'\xe5\x85\xa8\xe6\xb0\x91K\xe6\xad\x8c Tencent.WeSing 2.21.170.63 Moniker:' 80 🟡 package 微云同步助手 Tencen failed parsing, going for method 2... b'\xe5\xbe\xae\xe4\xba\x91\xe5\x90\x8c\xe6\xad\xa5\xe5\x8a\xa9\xe6\x89\x8b Tencent.WeiyunSync 3.0 Moniker:' 80 🟡 package 微信开发者工具 Tencent failed parsing, going for method 2... b'\xe5\xbe\xae\xe4\xbf\xa1\xe5\xbc\x80\xe5\x8f\x91\xe8\x80\x85\xe5\xb7\xa5\xe5\x85\xb7 Tencent.WeixinDevTools 1.06.2212011 Moniker:' 80 🟡 package 腾讯视频 Tenc failed parsing, going for method 2... b'\xe8\x85\xbe\xe8\xae\xaf\xe8\xa7\x86\xe9\xa2\x91 Tencent.TencentVideo 11.60.7110.0 Moniker:' 80 🟡 package 腾讯文档 Tenc failed parsing, going for method 2... b'\xe8\x85\xbe\xe8\xae\xaf\xe6\x96\x87\xe6\xa1\xa3 Tencent.TencentDocs 2.4.5 Moniker:' 80 🟡 package QQ五笔输入法 Tence failed parsing, going for method 2... b'QQ\xe4\xba\x94\xe7\xac\x94\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 Tencent.QQWubi 2.4 Moniker:' 80 🟡 package QQ影音 Te failed parsing, going for method 2... b'QQ\xe5\xbd\xb1\xe9\x9f\xb3 Tencent.QQPlayer 4.6.3.1104 Moniker:' 80 🟡 package QQ拼音输入法 Tence failed parsing, going for method 2... b'QQ\xe6\x8b\xbc\xe9\x9f\xb3\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 Tencent.QQPinyin 6.6 Moniker:' 80 🟡 package QQ音乐 Te failed parsing, going for method 2... b'QQ\xe9\x9f\xb3\xe4\xb9\x90 Tencent.QQMusic 19.06 Moniker:' 80 🟡 package QQ浏览器 Ten failed parsing, going for method 2... b'QQ\xe6\xb5\x8f\xe8\xa7\x88\xe5\x99\xa8 Tencent.QQBrowser 11.1.5155.400 Moniker:' 80 🟡 package QQ小程序开发者工具 Tencent. failed parsing, going for method 2... b'QQ\xe5\xb0\x8f\xe7\xa8\x8b\xe5\xba\x8f\xe5\xbc\x80\xe5\x8f\x91\xe8\x80\x85\xe5\xb7\xa5\xe5\x85\xb7 Tencent.qq-devtool 0.70.2209190 Moniker:' 80 🟡 package 腾讯QQ Te failed parsing, going for method 2... b'\xe8\x85\xbe\xe8\xae\xafQQ Tencent.QQ 9.7.1.28924 Moniker:' 80 🟡 package 腾讯企点 Tenc failed parsing, going for method 2... b'\xe8\x85\xbe\xe8\xae\xaf\xe4\xbc\x81\xe7\x82\xb9 Tencent.QiDian 5.5.0.19392 Moniker:' 80 🟡 package 腾讯课堂极速版 Tencent failed parsing, going for method 2... b'\xe8\x85\xbe\xe8\xae\xaf\xe8\xaf\xbe\xe5\xa0\x82\xe6\x9e\x81\xe9\x80\x9f\xe7\x89\x88 Tencent.EDULite 3.1.6.165 Moniker:' 80 🟡 package 腾讯课堂 Tenc failed parsing, going for method 2... b'\xe8\x85\xbe\xe8\xae\xaf\xe8\xaf\xbe\xe5\xa0\x82 Tencent.EDU 4.1.6.2 Moniker:' 80 🟡 package 腾讯桌面整理 Tencen failed parsing, going for method 2... b'\xe8\x85\xbe\xe8\xae\xaf\xe6\xa1\x8c\xe9\x9d\xa2\xe6\x95\xb4\xe7\x90\x86 Tencent.DeskGo 3.2.1445.127 Moniker:' 80 🟡 package 消极压制 TedZ failed parsing, going for method 2... b'\xe6\xb6\x88\xe6\x9e\x81\xe5\x8e\x8b\xe5\x88\xb6 TedZyzsdy.NegativeEncoder 5.0.6 Moniker:' 80 🟡 package 搜狐影音 Sohu failed parsing, going for method 2... b'\xe6\x90\x9c\xe7\x8b\x90\xe5\xbd\xb1\xe9\x9f\xb3 Sohu.SHPlayer 7.0.18.0 Moniker:' 80 🟡 package 搜狗五笔输入法 Sogou.S failed parsing, going for method 2... b'\xe6\x90\x9c\xe7\x8b\x97\xe4\xba\x94\xe7\xac\x94\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 Sogou.SogouWBInput 5.5.0.2582 Moniker:' 80 🟡 package 搜狗输入法 Sogou failed parsing, going for method 2... b'\xe6\x90\x9c\xe7\x8b\x97\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 Sogou.SogouInput 13.0.0.6801 Moniker:' 80 🟡 package OCR助手 Sm failed parsing, going for method 2... b'OCR\xe5\x8a\xa9\xe6\x89\x8b SmartOldFish.OCRTools 1.0.0.0 Moniker:' 80 🟢 Searching for string "" 🟡 package 旗鱼浏览器 Ruanm failed parsing, going for method 2... b'\xe6\x97\x97\xe9\xb1\xbc\xe6\xb5\x8f\xe8\xa7\x88\xe5\x99\xa8 Ruanmei.Qiyu 2.1.1.2 Moniker:' 80 🟡 package 小狼毫輸入法 Rime.W failed parsing, going for method 2... b'\xe5\xb0\x8f\xe7\x8b\xbc\xe6\xaf\xab\xe8\xbc\xb8\xe5\x85\xa5\xe6\xb3\x95 Rime.Weasel 0.14.3 Moniker:' 80 🟡 package 黑盒工坊 Qing failed parsing, going for method 2... b'\xe9\xbb\x91\xe7\x9b\x92\xe5\xb7\xa5\xe5\x9d\x8a Qingfeng.HeyboxWow 1.9.8 Moniker:' 80 🟡 Can't get custom interval time! (got value was '') 🟡 package 芦笋 Pr failed parsing, going for method 2... b'\xe8\x8a\xa6\xe7\xac\x8b Principle.Lusun 1.8.11 Moniker:' 80 🟡 package 舆情监控系统 poetri failed parsing, going for method 2... b'\xe8\x88\x86\xe6\x83\x85\xe7\x9b\x91\xe6\x8e\xa7\xe7\xb3\xbb\xe7\xbb\x9f poetries.yuqing-monitor-electron 0.0.1 Moniker:' 80 🟡 package 蒸汽平台 Perf failed parsing, going for method 2... b'\xe8\x92\xb8\xe6\xb1\xbd\xe5\xb9\xb3\xe5\x8f\xb0 PerfectWorld.SteamChina 2.10.91.91 Moniker:' 80 🟢 Total packages: 4 🟡 package 我的世界启动器 NetEase failed parsing, going for method 2... b'\xe6\x88\x91\xe7\x9a\x84\xe4\xb8\x96\xe7\x95\x8c\xe5\x90\xaf\xe5\x8a\xa8\xe5\x99\xa8 NetEase.MCLauncher 1.9.0.2363 Moniker:' 80 🟡 package 网易邮箱大师 NetEas failed parsing, going for method 2... b'\xe7\xbd\x91\xe6\x98\x93\xe9\x82\xae\xe7\xae\xb1\xe5\xa4\xa7\xe5\xb8\x88 NetEase.MailMaster 4.17.8.1009 Moniker:' 80 🟡 package 网易云音乐 NetEa failed parsing, going for method 2... b'\xe7\xbd\x91\xe6\x98\x93\xe4\xba\x91\xe9\x9f\xb3\xe4\xb9\x90 NetEase.CloudMusic 2.10.6.200601 Moniker:' 80 🟡 package 钉钉 na failed parsing, going for method 2... b'\xe9\x92\x89\xe9\x92\x89 nashaofu.dingtalk 2.1.22 Moniker:' 80 🟡 package 幕布 Mu failed parsing, going for method 2... b'\xe5\xb9\x95\xe5\xb8\x83 Mubu.Mubu 3.6.0 Moniker:' 80 🟡 package 電子佛典 MrMY failed parsing, going for method 2... b'\xe9\x9b\xbb\xe5\xad\x90\xe4\xbd\x9b\xe5\x85\xb8 MrMYHuang.cbetar2 19.2.0 Moniker:' 80 🟡 package 鼠鼠下载器 MoyuS failed parsing, going for method 2... b'\xe9\xbc\xa0\xe9\xbc\xa0\xe4\xb8\x8b\xe8\xbd\xbd\xe5\x99\xa8 MoyuScript.DoubleMouseDownloader 1.1.1 Moniker:' 80 🟡 package 钱迹 Li failed parsing, going for method 2... b'\xe9\x92\xb1\xe8\xbf\xb9 LiTang.QianJi 3.0.11 Moniker:' 80 🟡 package 联想乐云 Leno failed parsing, going for method 2... b'\xe8\x81\x94\xe6\x83\xb3\xe4\xb9\x90\xe4\xba\x91 Lenovo.LeCloud 2.501.25.0 Moniker:' 80 🟡 package 联想应用商店 Lenovo failed parsing, going for method 2... b'\xe8\x81\x94\xe6\x83\xb3\xe5\xba\x94\xe7\x94\xa8\xe5\x95\x86\xe5\xba\x97 Lenovo.LeAppStore 8.4.30.1101 Moniker:' 80 🟡 package 手心输入法 KuRui failed parsing, going for method 2... b'\xe6\x89\x8b\xe5\xbf\x83\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 KuRuimeng.PalmInput 2.7.0.1702 Moniker:' 80 🟡 package 酷狗音乐 KuGo failed parsing, going for method 2... b'\xe9\x85\xb7\xe7\x8b\x97\xe9\x9f\xb3\xe4\xb9\x90 KuGou.KGMusic 10.1.12 Moniker:' 80 🟡 package 歌叽歌叽 KuGo failed parsing, going for method 2... b'\xe6\xad\x8c\xe5\x8f\xbd\xe6\xad\x8c\xe5\x8f\xbd KuGou.gejigeji 2.0.2.1268 Moniker:' 80 🟡 package 金山打字通 Kings failed parsing, going for method 2... b'\xe9\x87\x91\xe5\xb1\xb1\xe6\x89\x93\xe5\xad\x97\xe9\x80\x9a Kingsoft.TypeEasy 2.2.0.56 Moniker:' 80 🟡 package 金山PDF独立版 Kings failed parsing, going for method 2... b'\xe9\x87\x91\xe5\xb1\xb1PDF\xe7\x8b\xac\xe7\xab\x8b\xe7\x89\x88 Kingsoft.KingsoftPDF 11.6.0.8806 Moniker:' 80 🟡 package 金山文档 King failed parsing, going for method 2... b'\xe9\x87\x91\xe5\xb1\xb1\xe6\x96\x87\xe6\xa1\xa3 Kingsoft.KDocs 3.7.9 Moniker:' 80 🟡 package 卡饭输入法 Kafan failed parsing, going for method 2... b'\xe5\x8d\xa1\xe9\xa5\xad\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 Kafan.KafanInput 1.0.0.285 Moniker:' 80 🟡 package 蓝湖 Ji failed parsing, going for method 2... b'\xe8\x93\x9d\xe6\xb9\x96 JinweiZhiguang.Lanhu.Photoshop 2.402.0 Moniker:' 80 🟡 package 爱奇艺 iQI failed parsing, going for method 2... b'\xe7\x88\xb1\xe5\xa5\x87\xe8\x89\xba iQIYI.iQIYI 9.12.170.6570 Moniker:' 80 🟡 package 讯飞输入法 iFlyt failed parsing, going for method 2... b'\xe8\xae\xaf\xe9\xa3\x9e\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 iFlytek.iFlyIME 3.0.1732 Moniker:' 80 🟡 package 极速玩转 Hite failed parsing, going for method 2... b'\xe6\x9e\x81\xe9\x80\x9f\xe7\x8e\xa9\xe8\xbd\xac Hitencent.JisuTodo 1.0.2.32 Moniker:' 80 🟡 package 极速PDF转WORD Hit failed parsing, going for method 2... b'\xe6\x9e\x81\xe9\x80\x9fPDF\xe8\xbd\xacWORD Hitencent.JisuPDFToWord 2.0 Moniker:' 80 🟡 package 极速PDF编辑器 Hiten failed parsing, going for method 2... b'\xe6\x9e\x81\xe9\x80\x9fPDF\xe7\xbc\x96\xe8\xbe\x91\xe5\x99\xa8 Hitencent.JisuPDFEditor 3.0 Moniker:' 80 🟡 package 极速PDF阅读器 Hiten failed parsing, going for method 2... b'\xe6\x9e\x81\xe9\x80\x9fPDF\xe9\x98\x85\xe8\xaf\xbb\xe5\x99\xa8 Hitencent.JisuPDF 3.0.0.3008 Moniker:' 80 🟡 package 字由 He failed parsing, going for method 2... b'\xe5\xad\x97\xe7\x94\xb1 Hellofont.Hellofont 3.0.3 Moniker:' 80 🟡 package Google 日本語入力 Googl failed parsing, going for method 2... b'Google \xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe5\x85\xa5\xe5\x8a\x9b Google.JapaneseIME 2.28.4650.0 Moniker:' 80 🟡 package CAD快速看图 Glod failed parsing, going for method 2... b'CAD\xe5\xbf\xab\xe9\x80\x9f\xe7\x9c\x8b\xe5\x9b\xbe Glodon.CADReader.CN 5.17.4.89 Moniker:' 80 🟡 package 识字体 Fon failed parsing, going for method 2... b'\xe8\xaf\x86\xe5\xad\x97\xe4\xbd\x93 Fontke.LikeFont 2.0.0 Moniker:' 80 🟡 package 硕鼠 FL failed parsing, going for method 2... b'\xe7\xa1\x95\xe9\xbc\xa0 FLVCD.Bigrats 0.4.9.4 \xe6\xad\xa3\xe5\xbc\x8f\xe7\x89\x88 Moniker:' 80 🟡 package 欧路词典 EuSo failed parsing, going for method 2... b'\xe6\xac\xa7\xe8\xb7\xaf\xe8\xaf\x8d\xe5\x85\xb8 EuSoft.Eudic 13.0.0.0 Moniker:' 80 🟡 package 亿图信息图制作工具 EdrawSoft failed parsing, going for method 2... b'\xe4\xba\xbf\xe5\x9b\xbe\xe4\xbf\xa1\xe6\x81\xaf\xe5\x9b\xbe\xe5\x88\xb6\xe4\xbd\x9c\xe5\xb7\xa5\xe5\x85\xb7 EdrawSoft.EdrawInfo.CN 9.5 Moniker:' 80 🟡 package 斗鱼直播 Douy failed parsing, going for method 2... b'\xe6\x96\x97\xe9\xb1\xbc\xe7\x9b\xb4\xe6\x92\xad Douyu.DouyuLive 8.6.1.1 Moniker:' 80 🟡 package 方块游戏平台 Cube.C failed parsing, going for method 2... b'\xe6\x96\xb9\xe5\x9d\x97\xe6\xb8\xb8\xe6\x88\x8f\xe5\xb9\xb3\xe5\x8f\xb0 Cube.CubePlatform 3.7.4.1 Moniker:' 80 🟡 package 恒星播放器 Coldl failed parsing, going for method 2... b'\xe6\x81\x92\xe6\x98\x9f\xe6\x92\xad\xe6\x94\xbe\xe5\x99\xa8 Coldlake.StellarPlayer 1.22.1207.856 Moniker:' 80 🟡 package 央视影音 CCTV failed parsing, going for method 2... b'\xe5\xa4\xae\xe8\xa7\x86\xe5\xbd\xb1\xe9\x9f\xb3 CCTV.CBox 5.1.2.1 Moniker:' 80 🟡 package 乐启office工具箱 caobi failed parsing, going for method 2... b'\xe4\xb9\x90\xe5\x90\xafoffice\xe5\xb7\xa5\xe5\x85\xb7\xe7\xae\xb1 caobinrg.electron-office-tools 0.0.1 Moniker:' 80 🟡 package 天鳳 c- failed parsing, going for method 2... b'\xe5\xa4\xa9\xe9\xb3\xb3 c-egg.tenhou 1.3.0.0 Moniker:' 80 🟡 package 直播伴侣 Byte failed parsing, going for method 2... b'\xe7\x9b\xb4\xe6\x92\xad\xe4\xbc\xb4\xe4\xbe\xa3 ByteDance.StreamingTool 4.2.6 Moniker:' 80 🟡 package 剪映专业版 ByteD failed parsing, going for method 2... b'\xe5\x89\xaa\xe6\x98\xa0\xe4\xb8\x93\xe4\xb8\x9a\xe7\x89\x88 ByteDance.JianyingPro 3.6.5.9422 Moniker:' 80 🟡 package 抖音 By failed parsing, going for method 2... b'\xe6\x8a\x96\xe9\x9f\xb3 ByteDance.Douyin 1.6.1 Moniker:' 80 🟡 package 字节跳动开发者工具 ByteDance failed parsing, going for method 2... b'\xe5\xad\x97\xe8\x8a\x82\xe8\xb7\xb3\xe5\x8a\xa8\xe5\xbc\x80\xe5\x8f\x91\xe8\x80\x85\xe5\xb7\xa5\xe5\x85\xb7 ByteDance.BytedanceMiniappIDE 3.3.7-1 Moniker:' 80 🟡 package 比译 Bi failed parsing, going for method 2... b'\xe6\xaf\x94\xe8\xaf\x91 Biyi.Biyi 0.4.0+11 Moniker:' 80 🟡 package B站录播姬 Bili failed parsing, going for method 2... b'B\xe7\xab\x99\xe5\xbd\x95\xe6\x92\xad\xe5\xa7\xac Bililive.BililiveRecorder 1.3.8 Moniker:' 80 🟡 package 哔哩哔哩直播姬 Bilibil failed parsing, going for method 2... b'\xe5\x93\x94\xe5\x93\xa9\xe5\x93\x94\xe5\x93\xa9\xe7\x9b\xb4\xe6\x92\xad\xe5\xa7\xac Bilibili.Livehime 4.35.0.4347 Moniker:' 80 🟡 package 哔哩哔哩 Bili failed parsing, going for method 2... b'\xe5\x93\x94\xe5\x93\xa9\xe5\x93\x94\xe5\x93\xa9 Bilibili.Bilibili 1.8.2 Moniker:' 80 🟡 package 百度开发者工具 Baidu.S failed parsing, going for method 2... b'\xe7\x99\xbe\xe5\xba\xa6\xe5\xbc\x80\xe5\x8f\x91\xe8\x80\x85\xe5\xb7\xa5\xe5\x85\xb7 Baidu.SwanIDE 3.53.2 Moniker:' 80 🟡 package 百度文库 Baid failed parsing, going for method 2... b'\xe7\x99\xbe\xe5\xba\xa6\xe6\x96\x87\xe5\xba\x93 Baidu.BaiduWenku 1.1.4 Moniker:' 80 🟡 package 百度翻译 Baid failed parsing, going for method 2... b'\xe7\x99\xbe\xe5\xba\xa6\xe7\xbf\xbb\xe8\xaf\x91 Baidu.BaiduTranslate 1.5.4 Moniker:' 80 🟡 package 百度AI同传会议版 Baidu.B failed parsing, going for method 2... b'\xe7\x99\xbe\xe5\xba\xa6AI\xe5\x90\x8c\xe4\xbc\xa0\xe4\xbc\x9a\xe8\xae\xae\xe7\x89\x88 Baidu.BaiduSIMeeting 2.0.1 Moniker:' 80 🟡 package 百度AI同传助手 Baidu. failed parsing, going for method 2... b'\xe7\x99\xbe\xe5\xba\xa6AI\xe5\x90\x8c\xe4\xbc\xa0\xe5\x8a\xa9\xe6\x89\x8b Baidu.BaiduSIAssistant 1.2.0 Moniker:' 80 🟡 package 百度输入法 Baidu failed parsing, going for method 2... b'\xe7\x99\xbe\xe5\xba\xa6\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 Baidu.BaiduPinyin 5.8.8.25 Moniker:' 80 🟡 package 百度网盘 Baid failed parsing, going for method 2... b'\xe7\x99\xbe\xe5\xba\xa6\xe7\xbd\x91\xe7\x9b\x98 Baidu.BaiduNetdisk 7.23.0 Moniker:' 80 🟡 package 匿名Player++ ar failed parsing, going for method 2... b'\xe5\x8c\xbf\xe5\x90\x8dPlayer++ arrow2nd.tokumei-player-pp 1.8.4 Moniker:' 80 🟡 package 滴答清单 Appe failed parsing, going for method 2... b'\xe6\xbb\xb4\xe7\xad\x94\xe6\xb8\x85\xe5\x8d\x95 Appest.Dida 4.3.5.1 Moniker:' 80 🟡 package 语雀 Al failed parsing, going for method 2... b'\xe8\xaf\xad\xe9\x9b\x80 Alibaba.Yuque 2.2.5 Moniker:' 80 🟡 package 小程序开发者工具 Alibaba. failed parsing, going for method 2... b'\xe5\xb0\x8f\xe7\xa8\x8b\xe5\xba\x8f\xe5\xbc\x80\xe5\x8f\x91\xe8\x80\x85\xe5\xb7\xa5\xe5\x85\xb7 Alibaba.MiniProgramStudio 3.1.3 Moniker:' 80 🟡 package 支付宝开放平台密钥工具 Alibaba.Ali failed parsing, going for method 2... b'\xe6\x94\xaf\xe4\xbb\x98\xe5\xae\x9d\xe5\xbc\x80\xe6\x94\xbe\xe5\xb9\xb3\xe5\x8f\xb0\xe5\xaf\x86\xe9\x92\xa5\xe5\xb7\xa5\xe5\x85\xb7 Alibaba.AlipayKeyTool 2.0.3 Moniker:' 80 🟡 package 阿里云盘 Alib failed parsing, going for method 2... b'\xe9\x98\xbf\xe9\x87\x8c\xe4\xba\x91\xe7\x9b\x98 Alibaba.aDrive 3.16.0 Moniker:' 80 🟡 package AcFun面捕助手 AcFu failed parsing, going for method 2... b'AcFun\xe9\x9d\xa2\xe6\x8d\x95\xe5\x8a\xa9\xe6\x89\x8b AcFun.AcFunVirtualTool 1.32.0.1772 Moniker:' 80 🟡 package 手心输入法 360.P failed parsing, going for method 2... b'\xe6\x89\x8b\xe5\xbf\x83\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 360.PalmInput 3.1.0.1010 Moniker:' 80 🟡 package 360安全浏览器 360.3 failed parsing, going for method 2... b'360\xe5\xae\x89\xe5\x85\xa8\xe6\xb5\x8f\xe8\xa7\x88\xe5\x99\xa8 360.360SE 13.1.6350.0 Moniker:' 80 🟡 package 360游戏浏览器 360.3 failed parsing, going for method 2... b'360\xe6\xb8\xb8\xe6\x88\x8f\xe6\xb5\x8f\xe8\xa7\x88\xe5\x99\xa8 360.360GT 13.6.1047.0 Moniker:' 80 🟡 package 360清理大师 360. failed parsing, going for method 2... b'360\xe6\xb8\x85\xe7\x90\x86\xe5\xa4\xa7\xe5\xb8\x88 360.360CleanMaster 1.0.0.1020 Moniker:' 80 🟡 package 115浏览器 115 failed parsing, going for method 2... b'115\xe6\xb5\x8f\xe8\xa7\x88\xe5\x99\xa8 115.115Chrome 25.0.4.1 Moniker:' 80 🟡 package 嘉立创EDA JLC failed parsing, going for method 2... b'\xe5\x98\x89\xe7\xab\x8b\xe5\x88\x9bEDA JLC.LCEDA 6.5.22 Moniker:' 80 🟡 package 希沃白板 5 Seew failed parsing, going for method 2... b'\xe5\xb8\x8c\xe6\xb2\x83\xe7\x99\xbd\xe6\x9d\xbf 5 Seewo.EasiNote 5.2.2.7522 Moniker:' 80 🟡 package 夸克网盘 Alib failed parsing, going for method 2... b'\xe5\xa4\xb8\xe5\x85\x8b\xe7\xbd\x91\xe7\x9b\x98 Alibaba.QuarkCloudDrive 2.5.1 Moniker:' 80 🟡 package 完美世界竞技平台 PerfectW failed parsing, going for method 2... b'\xe5\xae\x8c\xe7\xbe\x8e\xe4\xb8\x96\xe7\x95\x8c\xe7\xab\x9e\xe6\x8a\x80\xe5\xb9\xb3\xe5\x8f\xb0 PerfectWorld.PerfectWorldArena 1.0.22122211 Moniker:' 80 🟡 package 稿定设计 Gaod failed parsing, going for method 2... b'\xe7\xa8\xbf\xe5\xae\x9a\xe8\xae\xbe\xe8\xae\xa1 Gaoding.Gaoding 1.3.10 Moniker:' 80 🟡 package 星愿浏览器 Twink failed parsing, going for method 2... b'\xe6\x98\x9f\xe6\x84\xbf\xe6\xb5\x8f\xe8\xa7\x88\xe5\x99\xa8 Twinkstar.TwinkstarBrowser 8.5.1000.2210 Moniker:' 80 🟡 package QQ影像 Te failed parsing, going for method 2... b'QQ\xe5\xbd\xb1\xe5\x83\x8f Tencent.QQImage 3.0.890.400 Moniker:' 80 🟡 package 光影看图 Thun failed parsing, going for method 2... b'\xe5\x85\x89\xe5\xbd\xb1\xe7\x9c\x8b\xe5\x9b\xbe Thunder.NeoViewer 1.1.1.50 Moniker:' 80 🟡 package 有道云笔记 Youda failed parsing, going for method 2... b'\xe6\x9c\x89\xe9\x81\x93\xe4\xba\x91\xe7\xac\x94\xe8\xae\xb0 Youdao.YoudaoNote 6.10' 80 🟡 package 网易有道词典 Youdao failed parsing, going for method 2... b'\xe7\xbd\x91\xe6\x98\x93\xe6\x9c\x89\xe9\x81\x93\xe8\xaf\x8d\xe5\x85\xb8 Youdao.YoudaoDict 9.1.5.0' 80 🟡 package 날개셋 한글 입력기 YmSoft.N failed parsing, going for method 2... b'\xeb\x82\xa0\xea\xb0\x9c\xec\x85\x8b \xed\x95\x9c\xea\xb8\x80 \xec\x9e\x85\xeb\xa0\xa5\xea\xb8\xb0 YmSoft.Nalgaeset 10.40.83' 80 🟡 package 유니콘 HTTPS Uni failed parsing, going for method 2... b'\xec\x9c\xa0\xeb\x8b\x88\xec\xbd\x98 HTTPS UnicornSoft.UnicornHTTPS 1.2.69.98' 80 🟡 package 应用宝 Ten failed parsing, going for method 2... b'\xe5\xba\x94\xe7\x94\xa8\xe5\xae\x9d Tencent.YingYongBao 5.8.3' 80 🟡 package 企业微信 Tenc failed parsing, going for method 2... b'\xe4\xbc\x81\xe4\xb8\x9a\xe5\xbe\xae\xe4\xbf\xa1 Tencent.wechat-work 4.0.19.6020' 80 🟡 package 네이트온 SKCo failed parsing, going for method 2... b'\xeb\x84\xa4\xec\x9d\xb4\xed\x8a\xb8\xec\x98\xa8 SKCommunications.NateOn 7.0.15.0' 80 🟡 package 石墨文档 shim failed parsing, going for method 2... b'\xe7\x9f\xb3\xe5\xa2\xa8\xe6\x96\x87\xe6\xa1\xa3 shimo.shimo 2.5.4' 80 🟡 package 小黑盒加速器 Qingfe failed parsing, going for method 2... b'\xe5\xb0\x8f\xe9\xbb\x91\xe7\x9b\x92\xe5\x8a\xa0\xe9\x80\x9f\xe5\x99\xa8 Qingfeng.HeyboxAccelerator 1.1.21' 80 🟡 package 第五人格 NetE failed parsing, going for method 2... b'\xe7\xac\xac\xe4\xba\x94\xe4\xba\xba\xe6\xa0\xbc NetEase.IdentityV.CN 1.0.0.1' 80 🟡 package 即时设计 Dieg failed parsing, going for method 2... b'\xe5\x8d\xb3\xe6\x97\xb6\xe8\xae\xbe\xe8\xae\xa1 DiegoFernandes.jsdesign 1.0.2' 80 🟡 package 阿里旺旺 Alib failed parsing, going for method 2... b'\xe9\x98\xbf\xe9\x87\x8c\xe6\x97\xba\xe6\x97\xba Alibaba.AliIM 10.01.02C' 80 🟡 package 360 极速浏览器X 360.3 failed parsing, going for method 2... b'360 \xe6\x9e\x81\xe9\x80\x9f\xe6\xb5\x8f\xe8\xa7\x88\xe5\x99\xa8X 360.360Chrome.X 21.0.1171.0' 80 🟡 package 360极速浏览器 360.3 failed parsing, going for method 2... b'360\xe6\x9e\x81\xe9\x80\x9f\xe6\xb5\x8f\xe8\xa7\x88\xe5\x99\xa8 360.360Chrome 13.5.2036.0' 80 🟡 package 115电脑版 115 failed parsing, going for method 2... b'115\xe7\x94\xb5\xe8\x84\x91\xe7\x89\x88 115.115 2.0.2.9' 80 🟡 package 不咕剪辑 Vers failed parsing, going for method 2... b'\xe4\xb8\x8d\xe5\x92\x95\xe5\x89\xaa\xe8\xbe\x91 Versa.MagiCut 1.2.0' 80 🟡 package 千牛工作台 Aliba failed parsing, going for method 2... b'\xe5\x8d\x83\xe7\x89\x9b\xe5\xb7\xa5\xe4\xbd\x9c\xe5\x8f\xb0 Alibaba.AliWorkbench 9.12.00N' 80 🟢 Winget search finished 🟢 Searching for string "" 🟢 Scoop search finished 🟢 Searching for string "" 🟢 Searching for string "" 🟢 Total packages: 5134 🟢 Waiting for install permission... title=Microsoft Visual C++ 2013 Redistributable (x64) - 12…, id=Microsoft.VCRedist.2013.x64, installId=1672308157.8651083 🔵 Current program set to 1672308157.8651083 🟢 Have permission to install, starting installation threads... [] ['C:\\Users\\User\\AppData\\Local\\Programs\\WingetUI\\winget-cli\\winget.exe', 'install', '-e', '--id', 'Microsoft.VCRedist.2013.x64', '--source', 'winget', '--accept-source-agreements', '--silent'] 🟢 winget installer assistant thread started for process 0 🟢 Starting winget search, winget on C:\Users\User\AppData\Local\Programs\WingetUI\winget-cli\winget.exe... 🟢 Starting scoop search... Name Id Version Available 🟢 Winget search finished 🟢 Searching for string "" 🟢 Scoop search finished 🟢 Searching for string "" 🟢 Searching for string "" 🟡 Can't get custom interval time! (got value was '') 🟢 Total packages: 4 🟢 Searching for string "v" 🟢 Searching for string "vc" 🟢 Searching for string "vcr" 🟢 Searching for string "vcre" 🟢 Searching for string "vcred" 🟢 Searching for string "" 🟢 Starting winget search, winget on C:\Users\User\AppData\Local\Programs\WingetUI\winget-cli\winget.exe... 🟢 Starting scoop search... 🟢 Winget uninstallable packages search finished 🟢 Searching for string "" 🟢 Scoop search finished 🟢 Searching for string "" 🟢 Searching for string "" 🟢 Total packages: 62 🟢 Searching for string "v" 🟢 Searching for string "vc" 🟢 Searching for string "vcr" 🟢 Searching for string "vcre" 🟢 Searching for string "vcred" 🔵 Found icon: 🟢 Starting winget search, winget on C:\Users\User\AppData\Local\Programs\WingetUI\winget-cli\winget.exe... 🔴 Traceback (most recent call last): 🔴 File ".\storeEngine.py", line 967, in loadPackageIcon 🔴 File "urllib\request.py", line 216, in urlopen 🔴 File "urllib\request.py", line 503, in open 🔴 File "urllib\request.py", line 322, in __init__ 🔴 File "urllib\request.py", line 348, in full_url 🔴 File "urllib\request.py", line 377, in _parse 🔴 ValueError: unknown url type: '' 🔴 Note this traceback was caught by reporter and has been added to the log (unknown url type: '') 🟢 Starting get info for id Microsoft.VCRedist.2013.x64 <_io.BufferedReader name=6> 🟢 Loading versions for Microsoft Visual C++ 2013 Redistributable (x64) ['C:\\Users\\User\\AppData\\Local\\Programs\\WingetUI\\winget-cli\\winget.exe', 'show', '--id', 'Microsoft.VCRedist.2013.x64', '-e', '--versions', '--source', 'winget', '--accept-source-agreements'] 0 🟢 Waiting for install permission... title=Microsoft Visual C++ 2013 Redistributable (x64) - 12…, id=Microsoft.VCRedist.2013.x64, installId=1672308909.4518564 🔵 Current program set to 1672308909.4518564 🟢 Have permission to install, starting installation threads... [] ['C:\\Users\\User\\AppData\\Local\\Programs\\WingetUI\\winget-cli\\winget.exe', 'install', '-e', '--id', 'Microsoft.VCRedist.2013.x64', '--source', 'winget', '--accept-source-agreements', '--silent'] 🟢 winget installer assistant thread started for process 0 🔵 Copying log to the clipboard... 🟢 Log copied to the clipboard successfully! 🔵 Copying log to the clipboard... 🟢 Log copied to the clipboard successfully! 🔵 Copying log to the clipboard... 🟢 Log copied to the clipboard successfully! 🔵 Copying log to the clipboard... ```
marticliment commented 1 year ago

If you were to run the winget update command using the bundled winget, would this issue still happen?

ppvnf commented 1 year ago

No, it doesn't happen using bundled Winget. .\winget.exe upgrade Microsoft.VCRedist.2013.x64 -h also correctly upgrades the package.

PShell output:

``` PS C:\Users\User\AppData\Local\Programs\WingetUI\winget-cli> .\winget.exe install Microsoft.VCRedist.2013.x64 -v 12.0.30501.0 The `msstore` source requires that you view the following agreements before using. Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US"). Do you agree to all the source agreements terms? [Y] Yes [N] No: y Found Microsoft Visual C++ 2013 Redistributable (x64) [Microsoft.VCRedist.2013.x64] Version 12.0.30501.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://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe ██████████████████████████████ 6.86 MB / 6.86 MB Successfully verified installer hash Starting package install... Successfully installed PS C:\Users\User\AppData\Local\Programs\WingetUI\winget-cli> .\winget.exe upgrade Microsoft.VCRedist.2013.x64 Found Microsoft Visual C++ 2013 Redistributable (x64) [Microsoft.VCRedist.2013.x64] Version 12.0.40664.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://download.visualstudio.microsoft.com/download/pr/10912041/cee5d6bca2ddbcd039da727bf4acb48a/vcredist_x64.exe ██████████████████████████████ 6.86 MB / 6.86 MB Successfully verified installer hash Starting package uninstall... Successfully uninstalled Starting package install... Successfully installed PS C:\Users\User\AppData\Local\Programs\WingetUI\winget-cli> winget list --name "Visual C++" Name Id Version Source --------------------------------------------------------------------------------------------------------------------- Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.40664 Microsoft.VCRedist.2013.x64 12.0.40664.0 winget Microsoft Visual C++ 2015-2022 Redistributable (x86) - 14.34.31931 Microsoft.VCRedist.2015+.x86 14.34.31931.0 winget Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.34.31931 Microsoft.VCRedist.2015+.x64 14.34.31931.0 winget PS C:\Users\User\AppData\Local\Programs\WingetUI\winget-cli> ```
marticliment commented 1 year ago

Let's say wou were to upgrade the package via the winget install comand instead of the winget upgrade. What would happen?

ppvnf commented 1 year ago

In this case the new version is installed side by side with the old one:

Captura de tela 2022-12-29 164327

But why would you use winget install instead of winget upgrade?

marticliment commented 1 year ago

Because updates and installs are treated in the same way, because I thouhgt winget identified updates on the install command. I need to change that