http://bugs.winehq.org/show_bug.cgi?id=59043
Bug ID: 59043 Summary: Error wine: could not load kernel32.dll Product: Wine Version: 9.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: winehq@hadrian-way.co.uk Distribution: ---
Created attachment 79809 --> http://bugs.winehq.org/attachment.cgi?id=79809 Shell output of attemting to launch Memory Map
I have used Wine for many years and have previously contributed to WineHQ with test reports for Memory Map. Owing to an unrelated problem, I had to resort to a clean installation of Kubuntu 24.04. Related facts:
1. I had earlier upgraded to Kubuntu 25.10.
2. My /home directory is on a separate partition and was not overwritten.
3. This is a 64 Bit Dell Optiplex 790.
3. On restoration to 24.04, everything worked except wine (see attachment).
I vaguely remember seeing this before, (some years ago), but cannot remember what I did.
http://bugs.winehq.org/show_bug.cgi?id=59043
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #1 from Bernhard Übelacker bernhardu@mailbox.org --- Hello Terry, after reinstalling 24.04, have you enabled the i386 packages before installing wine? Something like (for the ubuntu packages): dpkg --add-architecture i386 apt install wine wine32
http://bugs.winehq.org/show_bug.cgi?id=59043
--- Comment #2 from Terry Coles winehq@hadrian-way.co.uk --- I didn't do that, but I just did after first uninstalling wine and attempting to uninstall the i386 architecture. I got:
sudo dpkg --remove-architecture i386 [sudo] password for terry: dpkg: error: cannot remove architecture 'i386' currently in use by the database
This was after a reboot.
http://bugs.winehq.org/show_bug.cgi?id=59043
--- Comment #3 from Bernhard Übelacker bernhardu@mailbox.org --- (In reply to Terry Coles from comment #2)
I didn't do that, but I just did after first uninstalling wine and attempting to uninstall the i386 architecture. I got:
sudo dpkg --remove-architecture i386 [sudo] password for terry: dpkg: error: cannot remove architecture 'i386' currently in use by the database
Sounds like there are still i386 packages installed. But removing the architecture seems not needed, if you want to reinstall wine packages it should be sufficient to just uninstall the wine packages, but I am not sure what you are trying to accomplish with it.
http://bugs.winehq.org/show_bug.cgi?id=59043
--- Comment #4 from Terry Coles winehq@hadrian-way.co.uk --- Bernhard,
I was trying to follow your instructions:
'after reinstalling 24.04, have you enabled the i386 packages before installing wine?'
wine was already installed, so I uninstalled it and ran the add-architecture command that you suggested. When that didn't work, I tried removing both the architecture and the wine package, with a reboot followed by re-installation. Still no joy ;-(
Could this be a path problem? This the content of my current $PATH variable:
terry@optiplex:~$ echo $PATH /home/terry/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
http://bugs.winehq.org/show_bug.cgi?id=59043
--- Comment #5 from Bernhard Übelacker bernhardu@mailbox.org --- (In reply to Terry Coles from comment #4) I am sorry but I forgot the `apt update` between the add-architecture and the install command. The install command contained also a wine32 package. Did that give you an error? The point is, what wine packages do you have currently installed?