Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[BUG] Updating KeePass could cause loss of data configuration

Aperta
#5,538 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp
Ambito
backend

Direzione di ricerca

The report says KeePass's default configuration file may overwrite the existing configuration during installation, but it names no UniGetUI source file or test. Start by tracing how package updates are invoked and how KeePass is handled, then check whether the package manager's install behavior can be reproduced. Done means updating KeePass preserves the existing user configuration.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Please confirm these before moving forward
  • I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions.
  • This issue is about a bug (if it is not, please use the correct template).
UniGetUI Version

2026.3.2

Windows version, edition, and architecture

Win10 22H2

Describe your issue

KeePass comes with a default configuration file, and during installation, it may overwrite the existing configuration.

Btw, including a full list of installed packages in an issue is generally not helpful, as it can lead to a flood of unrelated issues and make it harder to find relevant discussions.

Steps to reproduce the issue

No response

UniGetUI Log
[2026/10/17 9:41:32] PINGET_APPROOT set to C:\Users\user\Desktop\UniGetUI\Settings\Pinget
[2026/10/17 9:41:32] PINGET_SOURCE_MODE set to auto
[2026/10/17 9:41:32]    __  __      _ ______     __  __  ______
                       / / / /___  (_) ____/__  / /_/ / / /  _/
                      / / / / __ \/ / / __/ _ \/ __/ / / // /
                     / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                     \____/_/ /_/_/\____/\___/\__/\____/___/
                         Welcome to UniGetUI Version 2026.3.2
[2026/10/17 9:41:32]   
[2026/10/17 9:41:32] Build 107
[2026/10/17 9:41:32] UI Framework: Avalonia
[2026/10/17 9:41:32] Data directory C:\Users\user\Desktop\UniGetUI\Settings
[2026/10/17 9:41:32] OS: Microsoft Windows 10.0.19045
[2026/10/17 9:41:32] Process arch: X64 (OS: X64)
[2026/10/17 9:41:32] Runtime: .NET 10.0.13
[2026/10/17 9:41:32] UI font: Microsoft YaHei UI, Segoe UI, Arial, Tahoma, Cascadia Code
[2026/10/17 9:41:32] UI font fallbacks: Nirmala UI, Leelawadee UI, Microsoft YaHei UI, Microsoft YaHei, SimSun, SimSun-ExtB, Microsoft JhengHei UI, Microsoft JhengHei, MingLiU-ExtB, Yu Gothic UI, Yu Gothic, Malgun Gothic
[2026/10/17 9:41:32] Loaded language locale: zh_CN
[2026/10/17 9:41:32] Elevated: False
[2026/10/17 9:41:32] Packaged (MSIX): False
[2026/10/17 9:41:32] Args: (none)
[2026/10/17 9:41:32] DXGI hardware GPU detection took 13.5 ms; hardware GPU: True
[2026/10/17 9:41:33] Command cargo-binstall.exe was not found on the system
[2026/10/17 9:41:34] Unable to retrieve secret for resource 'UniGetUI/GitHubAccessToken': 找不到元素。
                     
                     无法从保管库获取凭据
[2026/10/17 9:41:34] Unable to retrieve secret for resource 'UniGetUI/GitHubAccessToken': 找不到元素。
                     
                     无法从保管库获取凭据
[2026/10/17 9:41:35] Starting Avalonia shell bootstrap
[2026/10/17 9:41:35] Loaded language locale: zh_CN
[2026/10/17 9:41:35] Generated a IPC API auth token for the current session
[2026/10/17 9:41:35] Command bun.exe was not found on the system
[2026/10/17 9:41:35] PowerShell is enabled and was found on C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
[2026/10/17 9:41:35] PowerShell7 is enabled and was found on C:\Program Files\PowerShell\7\pwsh.exe
[2026/10/17 9:41:35] Command vcpkg.exe was not found on the system
[2026/10/17 9:41:35] Command choco.exe was not found on the system
[2026/10/17 9:41:35] Npm is enabled and was found on C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
[2026/10/17 9:41:35] Command cargo.exe was not found on the system
[2026/10/17 9:41:35] Chocolatey is enabled but was not found on the system!
[2026/10/17 9:41:35] Cargo is enabled but was not found on the system!
[2026/10/17 9:41:35] Command bun.cmd was not found on the system
[2026/10/17 9:41:35] Command scoop.ps1 was not found on the system
[2026/10/17 9:41:35] Bun is enabled but was not found on the system!
[2026/10/17 9:41:35] Scoop is enabled but was not found on the system!
[2026/10/17 9:41:35] Command pinget.exe was not found on the system
[2026/10/17 9:41:35] Pip is enabled and was found on C:\Users\user\AppData\Local\Programs\Python\Python311\python.EXE
[2026/10/17 9:41:35] Command vcpkg was not found on the system
[2026/10/17 9:41:35] Command vcpkg was not found on the system
[2026/10/17 9:41:35] Vcpkg root was not found. Please define the %VCPKG_ROOT% environment variable or define it from UniGetUI Settings
[2026/10/17 9:41:35] vcpkg is enabled but was not found on the system!
[2026/10/17 9:41:36] Api running on named pipe UniGetUI.IPC
[2026/10/17 9:41:36] .NET Tool is enabled and was found on C:\Program Files\dotnet\dotnet.exe
[2026/10/17 9:41:36] Auto-updater source 'ProductInfo' returned version 2026.3.2.0 (upgradable=False)
[2026/10/17 9:41:36] Connected to WinGet API using packaged COM activation.
[2026/10/17 9:41:36] WinGet activation mode selected: packaged COM registration | Source: system COM registration
[2026/10/17 9:41:36] Winget is enabled and was found on C:\Users\user\AppData\Local\Microsoft\WindowsApps\winget.exe
[2026/10/17 9:41:36] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: WinGet (aka Winget)
                     █ Executable name: "winget.exe"
                     █ Executable path: "C:\Users\user\AppData\Local\Microsoft\WindowsApps\winget.exe"
                     █ Call arguments: ""
                     █ Version: System WinGet (CLI) Version: v1.29.380
                     █          Using Native WinGet helper (COM Api)
                     █          Activation mode: packaged COM registration
                     █          Activation source: system COM registration
                     █          
                     █ WinGet is enabled and ready to go.
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2026/10/17 9:41:36] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: .NET Tool (aka .NET Tool)
                     █ Executable name: "dotnet tool"
                     █ Executable path: "C:\Program Files\dotnet\dotnet.exe"
                     █ Call arguments: "tool "
                     █ Version: 9.0.306
                     █          
                     █ .NET Tool is enabled and ready to go.
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2026/10/17 9:41:36] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: PowerShell 5.x (aka PowerShell)
                     █ Executable name: "powershell.exe"
                     █ Executable path: "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe"
                     █ Call arguments: " -NoProfile -Command"
                     █ Version: Name                           Value                                                                                   
                     █          ----                           -----                                                                                   
                     █          PSVersion                      5.1.19041.6456                                                                          
                     █          PSEdition                      Desktop                                                                                 
                     █          PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
                     █          BuildVersion                   10.0.19041.6456                                                                         
                     █          CLRVersion                     4.0.30319.42000                                                                         
                     █          WSManStackVersion              3.0                                                                                     
                     █          PSRemotingProtocolVersion      2.3                                                                                     
                     █          SerializationVersion           1.1.0.1
                     █          
                     █ PowerShell 5.x is enabled and ready to go.
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2026/10/17 9:41:37] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: PowerShell 7.x (aka PowerShell7)
                     █ Executable name: "pwsh.exe"
                     █ Executable path: "C:\Program Files\PowerShell\7\pwsh.exe"
                     █ Call arguments: " -NoProfile -Command"
                     █ Version: PowerShell 7.6.7
                     █          
                     █ PowerShell 7.x is enabled and ready to go.
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2026/10/17 9:41:37] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: Pip (aka Pip)
                     █ Executable name: "pip"
                     █ Executable path: "C:\Users\user\AppData\Local\Programs\Python\Python311\python.EXE"
                     █ Call arguments: "-m pip "
                     █ Version: pip 24.0 from C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip (python 3.11)
                     █          
                     █ Pip is enabled and ready to go.
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2026/10/17 9:41:37] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: Npm (aka Npm)
                     █ Executable name: "npm"
                     █ Executable path: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
                     █ Call arguments: "-NoProfile -ExecutionPolicy Bypass -Command "D:\nvm4w\nodejs\npm.cmd" "
                     █ Version: 10.9.3
                     █          
                     █ Npm is enabled and ready to go.
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2026/10/17 9:41:38] Language uz not in list, maybe has not been added yet?
[2026/10/17 9:41:43] Found 1 installed packages from .NET Tool
[2026/10/17 9:41:43] Found 1 installed packages from .NET Tool
[2026/10/17 9:41:43] Integrity check passed successfully!
[2026/10/17 9:41:43] Avalonia shell bootstrap completed
[2026/10/17 9:41:43] Pip: listing available updates against https://pypi.org/ over HTTP
[2026/10/17 9:41:43] Found 6 installed packages from Pip
[2026/10/17 9:41:44] Found 0 installed packages from PowerShell7
[2026/10/17 9:41:44] Found 0 installed packages from PowerShell7
[2026/10/17 9:41:44] Found 0 available updates from PowerShell7
[2026/10/17 9:41:44] Found 0 available updates from .NET Tool
[2026/10/17 9:41:45] Found 0 installed packages from PowerShell
[2026/10/17 9:41:45] Found 0 installed packages from PowerShell
[2026/10/17 9:41:45] Found 0 available updates from PowerShell
[2026/10/17 9:41:45] Found 3 available updates from Pip
[2026/10/17 9:41:48] Found 0 available updates from Npm
[2026/10/17 9:41:48] Found 6 installed packages from Npm
[2026/10/17 9:41:49] Found 172 installed packages from Winget
[2026/10/17 9:41:49] Discarding undecodable icon 'C:\Program Files\Canon\PrnUninstall\Canon LBP2900Plus\CNAB3UND.EXE': Object reference not set to an instance of an object.
[2026/10/17 9:41:50] Icon download attempt at https://upload.wikimedia.org/wikipedia/commons/thumb/e/ef/CMake_logo.svg/1200px-CMake_logo.svg.png failed with code BadRequest
[2026/10/17 9:41:51] System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
                      ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
                        at System.Net.Security.SslStream.SendAuthResetSignal(ReadOnlySpan`1, ExceptionDispatchInfo) + 0x5b
                        at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions) + 0xf1
                        at System.Net.Security.SslStream.<ForceAuthenticationAsync>d__159`1.MoveNext() + 0x196
                     --- End of stack trace from previous location ---
                        at System.Net.Http.ConnectHelper.<EstablishSslConnectionAsync>d__2.MoveNext() + 0xdc
                        --- End of inner exception stack trace ---
                        at System.Net.Http.ConnectHelper.<EstablishSslConnectionAsync>d__2.MoveNext() + 0x46e
                     --- End of stack trace from previous location ---
                        at System.Net.Http.HttpConnectionPool.<ConnectAsync>d__53.MoveNext() + 0x5e7
                     --- End of stack trace from previous location ---
                        at System.Net.Http.HttpConnectionPool.<CreateHttp11ConnectionAsync>d__81.MoveNext() + 0x267
                     --- End of stack trace from previous location ---
                        at System.Net.Http.HttpConnectionPool.<InjectNewHttp11ConnectionAsync>d__80.MoveNext() + 0x2ca
                     --- End of stack trace from previous location ---
                        at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellation(CancellationToken) + 0xb4
                        at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(Boolean, CancellationToken) + 0x37
                        at System.Net.Http.HttpConnectionPool.<SendWithVersionDetectionAndRetryAsync>d__52.MoveNext() + 0x1d3
                     --- End of stack trace from previous location ---
                        at System.Net.Http.HttpMessageHandlerStage.Send(HttpRequestMessage, CancellationToken) + 0xfb
                        at System.Net.Http.Metrics.MetricsHandler.SendAsync(HttpRequestMessage, Boolean, CancellationToken) + 0x6a
                        at System.Net.Http.HttpMessageHandlerStage.Send(HttpRequestMessage, CancellationToken) + 0x2e
                        at System.Net.Http.DiagnosticsHandler.SendAsync(HttpRequestMessage, Boolean, CancellationToken) + 0x63
                        at System.Net.Http.RedirectHandler.<SendAsync>d__4.MoveNext() + 0xd5
                     --- End of stack trace from previous location ---
                        at System.Net.Http.DecompressionHandler.<SendAsync>d__16.MoveNext() + 0x2db
                     --- End of stack trace from previous location ---
                        at System.Net.Http.HttpMessageHandlerStage.Send(HttpRequestMessage, CancellationToken) + 0xfb
                        at System.Net.Http.SocketsHttpHandler.Send(HttpRequestMessage, CancellationToken) + 0x7e
                        at System.Net.Http.HttpClient.Send(HttpRequestMessage, HttpCompletionOption, CancellationToken) + 0x13d
                        at UniGetUI.Core.IconEngine.IconCacheEngine.SaveIconToCacheAndGetPath(CacheableIcon, String) + 0x127
[2026/10/17 9:41:52] Icon download attempt at https://upload.wikimedia.org/wikipedia/commons/thumb/e/e7/Microsoft_OneDrive_Icon_%282025_-_present%29.svg/512px-Microsoft_OneDrive_Icon_%282025_-_present%29.svg.png failed with code BadRequest
[2026/10/17 9:41:52] Found 30 available updates from Winget
[2026/10/17 9:41:54] Could not resolve installer URLs for KirillOsenkov.MSBuildStructuredLogViewer version 2.3.118: Failed during source operation 'manifest' for 'winget': Version '2.3.118' was not found for package 'KirillOsenkov.MSBuildStructuredLogViewer' in source 'winget'.
[2026/10/17 9:41:55] Icon download attempt at https://community.chocolatey.org/content/packageimages/pnpm.7.28.0.png failed with code NotFound
[2026/10/17 9:41:55] Error when loading the package icon for the package MSIX\Microsoft.Winget.Source_2026.1016.2439.13_neutral__8wekyb3d8bbwe on manager Winget
[2026/10/17 9:41:55] System.IO.FileNotFoundException: Could not find file 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2026.1016.2439.13_neutral__8wekyb3d8bbwe\AppxManifest.xml'.
                     File name: 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2026.1016.2439.13_neutral__8wekyb3d8bbwe\AppxManifest.xml'
                        at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String, FileMode, FileAccess, FileShare, FileOptions) + 0x17e
                        at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1) + 0x44
                        at System.IO.Strategies.OSFileStreamStrategy..ctor(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1) + 0x50
                        at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1) + 0xbc
                        at System.IO.FileStream..ctor(String, FileMode, FileAccess, FileShare, Int32, FileOptions, Int64) + 0x81
                        at System.IO.StreamReader.ValidateArgsAndOpenPath(String, Int32) + 0x69
                        at System.IO.File.ReadAllText(String, Encoding) + 0x3a
                        at UniGetUI.PackageEngine.Managers.WinGet.ClientHelpers.WinGetIconsHelper.GetAppxPackageIcon(IPackage) + 0x10f
                        at UniGetUI.PackageEngine.Classes.Manager.BaseProviders.BasePkgDetailsHelper.GetIcon(IPackage package) + 0x88
[2026/10/17 9:42:06] Could not resolve installer URLs for PremiumSoft.NavicatPremium version 17.3.6: Failed during source operation 'manifest' for 'winget': Version '17.3.6' was not found for package 'PremiumSoft.NavicatPremium' in source 'winget'.
[2026/10/17 9:42:07] Could not resolve installer URLs for Tencent.WeChat.Universal version 4.0.6.26: Failed during source operation 'manifest' for 'winget': Version '4.0.6.26' was not found for package 'Tencent.WeChat.Universal' in source 'winget'.
[2026/10/17 9:42:14] Could not resolve installer URLs for ImageMagick.Q16 version 7.1.2.29: Failed during source operation 'manifest' for 'winget': Version '7.1.2.29' was not found for package 'ImageMagick.Q16' in source 'winget'.
[2026/10/17 9:42:16] Could not resolve installer URLs for Daum.PotPlayer version 25.09.09: Failed during source operation 'manifest' for 'winget': Version '25.09.09' was not found for package 'Daum.PotPlayer' in source 'winget'.
Package Managers Logs
Manager WinGet with version:
System WinGet (CLI) Version: v1.29.380
Using Native WinGet helper (COM Api)
Activation mode: packaged COM registration
Activation source: system COM registration

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListSources
Process start time: 2026/10/17 9:41:36
Process end time:   2026/10/17 9:41:36

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\user\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity "
Process start time: 2026/10/17 9:41:41
Process end time:   2026/10/17 9:41:47

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 2026/10/17 9:41:41
Process end time:   2026/10/17 9:41:49

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 2026/10/17 9:41:41
Process end time:   2026/10/17 9:41:47

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListUpdates
Process start time: 2026/10/17 9:41:47
Process end time:   2026/10/17 9:41:52

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 2026/10/17 9:41:47
Process end time:   2026/10/17 9:41:49

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Relevant information

No response

Screenshots and videos

No response

Lingua principale
C#
Stelle
26.6k
Fork
945
Merge medio
22h 26m
PR unite (30g)
74

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Devolutions/UniGetUI

Tutte le issue di Devolutions/UniGetUI

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.