Page MenuHome GnuPG - static

Gpg4Win 5.0.2 fails to upgrade from 5.0.1 on Windows 11
Testing, NormalPublic

Description

Trying to upgrade my installation I get an error about some DLL being unable to be overwritten. However, when checking that DLL doesn't exist (any more?).

Details

Version
5.0.2

Event Timeline

This happens occasionally and is not related to upgrading from 5.0.1 to 5.0.2. It can happen when installing any 5.0.x version (including the betas) over an installed 5.0.x.

werner triaged this task as Normal priority.Apr 13 2026, 2:40 PM
werner added projects: Installer, Windows.
werner added a subscriber: werner.

There is no handling for installing a currently in use libwinpthread-1.dll and a few others. That will require a reboot anyway and thus it is only done for the more common cases like gpgol and gpgex. Workaround is to reboot and try again.

I agree that this should be fixed.

ikloecker added a project: gpd5x.
ikloecker moved this task from Backlog to WIP on the gpd5x board.
ikloecker changed the task status from Open to Testing.Wed, Apr 15, 2:46 PM

Fixed.

Note that the error message may occur a last time when 5.0.2 (or earlier) is updated to a newer version because the uninstaller of 5.0.2 cannot be fixed retroactively.

By the way, your screenshot shows the wrong folder. That's why you didn't see the file that the error message mentions.

ikloecker mentioned this in Unknown Object (Maniphest Task).Mon, Apr 20, 9:43 AM

By the way, your screenshot shows the wrong folder. That's why you didn't see the file that the error message mentions.

You are absolutely right, my fault. I should have looked more carefully. Maybe I was expecting that one program installs into one subdirectory only.

Anyway after reboot I could complete the update. The only think I had noticed was that Kleopatra's hair is blue now (it had been red in the past) ;-)

In T8215#217199, @uwi wrote:

Anyway after reboot I could complete the update. The only think I had noticed was that Kleopatra's hair is blue now (it had been red in the past) ;-)

That's correct. Kleopatra dyed her hair blue for the not for VS-NfD communication BSI-approved Gpg4win-based releases.