Cannot open a wine program after 2026-05-19 Stable Update

hi everyone. this update for me went smoothly for all things gnu/linux.

but there is one program that I run with wine that stopped working.

up until the most recent update I used MetaTrader terminal and the only thing I had to do is to just hold off the wine updates. I am forced to use wine 10.2-2 because any version higher than that makes metatrader show an error message about a ‘debugger was found’, and then it refuses to start. I have already checked with the most recent wine - it’s the same.

so. with this update the app starts, the window appears, but it crashes as soon as it gets online (when I start it with network disabled, it runs fine until I enable the network and it gets online). and here is what I see in the terminal:

$ env WINEPREFIX="/home/synth/.wine64" WINEDEBUG=-all wine C:\\users\\synth\\AppData\\Roaming\\Microsoft\\Windows\\Start\ Menu\\Programs\\MetaTrader\ ECN\ -\ FXOpen\\FXOpen\ ECN\ MetaTrader.lnk
GnuTLS error: Public key signature verification has failed.
GnuTLS error: Public key signature verification has failed.
GnuTLS error: Public key signature verification has failed.
GnuTLS error: Public key signature verification has failed.
GnuTLS error: Public key signature verification has failed.
GnuTLS error: Public key signature verification has failed.
GnuTLS error: Public key signature verification has failed.
etaTrader ECN - FXOpen\terminal.exe: ecc-random.c:62: _nettle_ecc_mod_random: Assertion `nbytes <= m->size * sizeof (mp_limb_t)' failed.
GnuTLS error: Public key signature verification has failed.
GnuTLS error: Public key signature verification has failed.

I have checked the MetaTrader version (it updates itself automatically) and it’s pretty recent, dated March 2026.

so, my understanding is that the problem has something to do with gnutls lib32-gnutls and nettle lib32-nettle which were updated.

can anyone help me to get somehow use wine with the older versions of these packages please? maybe I should add some overrides?

I don’t know if it’s still a requirement or not, but back when I used a wine prefix I ran an “update” against each prefix after the wine package updated.

According to my old notes, these were the prefixes I had on my system:

  1. The default prefix - /home/uid/.wine
  2. Prefix created for YNAB - /home/uid/.ynab4/wine

The prefix updates I ran (via terminal) after each wine package update were:

  1. $ env WINEPREFIX="/home/uid/.wine" winecfg
  2. $ env WINEPREFIX="/home/uid/.ynab4/wine" winecfg

According to my notes, updating the prefix corrected an issue where copy/paste was broken post wine update… so hopefully your issue resolves after you update your prefixes as well.

EDIT: Found my old forum post where I received help for my issue… maybe there are some other nuggets in there that are useful… Application running under wine now unable to access the clipboard... time to downgrade wine?

Generally speaking, manjaro is a rolling release, holding packages and installing old versions is unsupported.

Me personally i have experience with bottles, where one can change the wine version with a click. There are many versions, including newer and older than manjaro ones. That would be worth trying if you want a supported system.

I have found out how I can use older libraries with wine.
AI helped me.

first, I downloaded the older packages I needed to cache with downgrade utility:

sudo DOWNGRADE_FROM_ALA=1 downgrade gnutls lib32-gnutls nettle lib32-nettle

I chose the following versions:

gnutls 3.8.12-2
lib32-gnutls 3.8.12-1
nettle 3.10.2-1
lib32-nettle 3.10.2-1

the installation failed due to dependencies, but the packages remained in the cache.

next, I created the directories for the libraries

mkdir -p ~/bin/wine-old-libs/{lib,lib32}

then I manually extracted the four packages’ /usr/lib and /usr/lib32 to the ~/bin/wine-old-libs/{lib,lib32} directories respectively.

and finally I ran my app like this:

env LD_LIBRARY_PATH=“$HOME/bin/wine-old-libs/lib:$HOME/bin/wine-old-libs/lib32:$LD_LIBRARY_PATH” WINEPREFIX=“/home/synth/.wine64” WINEDEBUG=-all alltray wine C:\users\synth\AppData\Roaming\Microsoft\Windows\Start\ Menu\Programs\MetaTrader\ ECN\ -\ FXOpen\FXOpen\ ECN\ MetaTrader.lnk

great news.

I have found out the solution to my original wine debugger problem which got me stuck with wine 10.2-2.
I upgraded wine to the latest 11.9.

set the windows version for MetaTrader’s terminal.exe to windows 11

then I opened regedit

env WINEPREFIX="/home/synth/.wine64" wine regedit

navigated to

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AeDebug

there was a Debugger string which I deleted.

and now everything runs natively, without using older libraries.

I’m posting this solution in hope it helps somebody else.

I hope you restored the system libraries back to normal versions, otherwise you will have a broken system.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.