[SOLVED] Wine package doesn't work

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
FinixFighter
Level 3
Level 3
Posts: 162
Joined: Mon Oct 01, 2018 12:54 pm
Location: Pescara, Italy

[SOLVED] Wine package doesn't work

Post by FinixFighter »

Hi! I installed Wine package from software manager (the version suggested by Mint team, file is called wine-installer) but it doesn't work. I tried to restart my pc, I have the Wine entry in the Mint menu, but I can't run any .exe file. I read in the package reviews that I'm not the only one having trouble with this package, can you fix this?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
stallmansupport.org
User avatar
Flemur
Level 20
Level 20
Posts: 10097
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Wine package doesn't work

Post by Flemur »

FinixFighter wrote: Thu Sep 16, 2021 9:55 am Hi! I installed ... wine-installer
but I can't run any .exe file.
What happens when you run this:

Code: Select all

wine notepad.exe
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
FinixFighter
Level 3
Level 3
Posts: 162
Joined: Mon Oct 01, 2018 12:54 pm
Location: Pescara, Italy

Re: Wine package doesn't work

Post by FinixFighter »

Flemur wrote: Thu Sep 16, 2021 10:15 am What happens when you run this:

Code: Select all

wine notepad.exe
I got this:

Code: Select all

it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
and Notepad opened up
stallmansupport.org
User avatar
GELvdH
Level 5
Level 5
Posts: 977
Joined: Tue Jan 08, 2019 10:10 am
Location: 3rd rock from Sun

Re: Wine package doesn't work

Post by GELvdH »

I found that the Winehq.org has the best wine version, download it and follow their instructions.
User avatar
FinixFighter
Level 3
Level 3
Posts: 162
Joined: Mon Oct 01, 2018 12:54 pm
Location: Pescara, Italy

Re: Wine package doesn't work

Post by FinixFighter »

GELvdH wrote: Thu Sep 16, 2021 1:02 pm I found that the Winehq.org has the best wine version, download it and follow their instructions.
Yes, but I think this package should work anyway, it would be useful for non experienced users.
stallmansupport.org
User avatar
Flemur
Level 20
Level 20
Posts: 10097
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Wine package doesn't work

Post by Flemur »

FinixFighter wrote: Thu Sep 16, 2021 10:31 am

Code: Select all

it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
and Notepad opened up
Did that fix the problem?
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Hoser Rob
Level 20
Level 20
Posts: 11806
Joined: Sat Dec 15, 2012 8:57 am

Re: Wine package doesn't work

Post by Hoser Rob »

Try playonlinux, which is a wine front end that will juggloe wine versions for you. Just remember that wine fails more often than not anyway. Look up apps on the wine database (https://appdb.winehq.org/). You want to see a gold rating from a recent test to have any confidence with that database's results.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
User avatar
FinixFighter
Level 3
Level 3
Posts: 162
Joined: Mon Oct 01, 2018 12:54 pm
Location: Pescara, Italy

Re: Wine package doesn't work

Post by FinixFighter »

Flemur wrote: Fri Sep 17, 2021 8:47 am Did that fix the problem?
No, I got this:

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine32:i386 : Depends: libc6:i386 (>= 2.28) but it is not going to be installed
               Depends: libwine:i386 (= 5.0-3ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried to install the first dependency, and I got:

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 dictionaries-common : Depends: debconf (>= 1.5.5) but it is not going to be installed or
                                debconf-2.0
                       Depends: libtext-iconv-perl but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
stallmansupport.org
User avatar
AZgl1800
Level 20
Level 20
Posts: 11145
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: Wine package doesn't work

Post by AZgl1800 »

there is another option, get Wine from CodeWeavers, it is a package called 'Cross Over'.

CodeWeavers is a major developer of Wine, and Cross Over is their $$ dollar version which comes with Support direct from CodeWeavers.

I bought it, and it erased all of my 'Wine' problems..

CrossOver2.png
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
User avatar
GELvdH
Level 5
Level 5
Posts: 977
Joined: Tue Jan 08, 2019 10:10 am
Location: 3rd rock from Sun

Re: Wine package doesn't work

Post by GELvdH »

As was said before, Codeweaver has a wine package called Crossover which is a commercial version of wine. They collaborate with Winehq.org and enhance wine for a retail version.
User avatar
karlchen
Level 23
Level 23
Posts: 18173
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Wine package doesn't work

Post by karlchen »

FinixFighter wrote: Thu Sep 16, 2021 9:55 amHi! I installed Wine package from software manager (the version suggested by Mint team, file is called wine-installer) but it doesn't work.
You are using which Linux Mint version precisely, please?
I ask, because the wine-installer has worked perfectly on all of my LM 19.x systems, 32-bit and 64-bit Mint editions.
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 762 days now.
Lifeline
User avatar
Flemur
Level 20
Level 20
Posts: 10097
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Wine package doesn't work

Post by Flemur »

FinixFighter wrote: Tue Nov 02, 2021 2:37 pm No, I got this:

The following packages have unmet dependencies:
wine32:i386 : Depends: libc6:i386 (>= 2.28) but it is not going to be installed
Depends: libwine:i386 (= 5.0-3ubuntu1) but it is not going to be installed
You might have some incompatibilities; pls post the output of these commands:

Code: Select all

inxi -S
inxi -r | grep wine
For installing wine-installer the 2nd command should return nothing.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
Michael_Hathaway
Level 4
Level 4
Posts: 329
Joined: Sat Oct 09, 2021 2:27 am
Location: Shebang, USA
Contact:

Re: Wine package doesn't work

Post by Michael_Hathaway »

The Wine installer from the software manager didn't work for me either. What worked for me was:

Code: Select all

$ sudo dpkg --add-architecture i386
$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
$ sudo apt-key add winehq.key
$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' 
$ sudo apt update
$ sudo apt install --install-recommends winehq-stable
To start configuring Wine, run the winecfg command in your terminal. The command installs Mono and Gecko and sets the Wine environment.

Code: Select all

$ winecfg
Click on the “Install” button, and the installation will start. Once done, a new dialog will appear, prompting you to install Gecko. Again click on the “Install” button. When the installation is completed, the Wine configuration dialog will be shown. On the applications tab, choose Windows 10 for the default settings. Once finished, close the dialog box.

If you need to modify your program files, Wine's files are stored in /home/user/.wine/drive_c/ by default.

/.wine/ is hidden. Press control + H to show hidden files.
Enterprise Dual Xeon 8081 (112) @3.8Ghz, 16TB NVMe Raid, 387Gb ECC, AMD Pro W7700 16Gb
Debian Support. Deb 12/13 Trixie 6.7.9
Image
User avatar
FinixFighter
Level 3
Level 3
Posts: 162
Joined: Mon Oct 01, 2018 12:54 pm
Location: Pescara, Italy

Re: Wine package doesn't work

Post by FinixFighter »

karlchen wrote: Tue Nov 02, 2021 7:19 pm You are using which Linux Mint version precisely, please?
I ask, because the wine-installer has worked perfectly on all of my LM 19.x systems, 32-bit and 64-bit Mint editions.
I'm using Linux Mint 20.2 MATE
stallmansupport.org
User avatar
FinixFighter
Level 3
Level 3
Posts: 162
Joined: Mon Oct 01, 2018 12:54 pm
Location: Pescara, Italy

Re: Wine package doesn't work

Post by FinixFighter »

Flemur wrote: Tue Nov 02, 2021 7:35 pm You might have some incompatibilities; pls post the output of these commands:

Code: Select all

inxi -S
inxi -r | grep wine
For installing wine-installer the 2nd command should return nothing.
Output of 'inxi -s':

Code: Select all

Sensors:
  System Temperatures: cpu: 60.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Output of 'inxi -r | grep wine':

Code: Select all

  1: deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
stallmansupport.org
User avatar
FinixFighter
Level 3
Level 3
Posts: 162
Joined: Mon Oct 01, 2018 12:54 pm
Location: Pescara, Italy

Re: Wine package doesn't work

Post by FinixFighter »

Michael_Hathaway wrote: Tue Nov 02, 2021 9:02 pm The Wine installer from the software manager didn't work for me either. What worked for me was:

Code: Select all

$ sudo dpkg --add-architecture i386
$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
$ sudo apt-key add winehq.key
$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' 
$ sudo apt update
$ sudo apt install --install-recommends winehq-stable
To start configuring Wine, run the winecfg command in your terminal. The command installs Mono and Gecko and sets the Wine environment.

Code: Select all

$ winecfg
Click on the “Install” button, and the installation will start. Once done, a new dialog will appear, prompting you to install Gecko. Again click on the “Install” button. When the installation is completed, the Wine configuration dialog will be shown. On the applications tab, choose Windows 10 for the default settings. Once finished, close the dialog box.

If you need to modify your program files, Wine's files are stored in /home/user/.wine/drive_c/ by default.

/.wine/ is hidden. Press control + H to show hidden files.
Yes, it works if I install Wine that way (same instructions given by Wine https://wiki.winehq.org/Ubuntu), but the problem is about the Wine-installer offered in the Software Manager (here is the repository https://github.com/linuxmint/wine-installer). Since this package exists, I think it should work; moreover it is extremely useful for basic users with no experience at all. In fact, I reported this problem because a friend of mine found it, and he doesn't even know what a terminal is.
stallmansupport.org
User avatar
Flemur
Level 20
Level 20
Posts: 10097
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Wine package doesn't work

Post by Flemur »

FinixFighter wrote: Wed Nov 03, 2021 9:36 am

Code: Select all

inxi -S
inxi -r | grep wine

Output of 'inxi -s':
Capital S, as above, will tell your Mint/Ubuntu version.
Output of 'inxi -r | grep wine':

Code: Select all

  1: deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
Remove all your wine packages (sudo apt-get purge "wine*"), then remove or disable that repo ("Software Sources" or synaptic settings) and try again. You don't need, and shouldn't have, a wine repo to install wine-installer; it's the source of your version mis-match problems.

Edit: after removing the wine* packages and the repo, run sudo apt-get update, then install wine-installer.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
Flemur
Level 20
Level 20
Posts: 10097
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Wine package doesn't work

Post by Flemur »

Michael_Hathaway wrote: Tue Nov 02, 2021 9:02 pm The Wine installer from the software manager didn't work for me either.
As near as I can tell from posts here, that's always because someone fiddled with some other install method first, which is what the OP did.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
FinixFighter
Level 3
Level 3
Posts: 162
Joined: Mon Oct 01, 2018 12:54 pm
Location: Pescara, Italy

Re: Wine package doesn't work

Post by FinixFighter »

Flemur wrote: Wed Nov 03, 2021 9:49 am Remove all your wine packages (sudo apt-get purge "wine*"), then remove or disable that repo ("Software Sources" or synaptic settings) and try again. You don't need, and shouldn't have, a wine repo to install wine-installer; it's the source of your version mis-match problems.

Edit: after removing the wine* packages and the repo, run sudo apt-get update, then install wine-installer.
I did it but still doesn't work.. I did sudo apt-get purge "wine*", then removed the repo from the software sources, and I also removed the Wine key. Then I did sudo apt-get update and then I also restarted my pc :mrgreen: I then reinstalled wine-installer via the software manager. I am able to open the Wine configuration screen (via Menu->Wine->Configure Wine, or giving winecfg), but can't run exe file, neither with double click nor giving wine name_of_file.exe, that's what I get:

Code: Select all

it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
0009:err:module:__wine_process_init L"C:\\windows\\system32\\HabboLauncher-Setup-1.0.31.exe" not found
stallmansupport.org
User avatar
Flemur
Level 20
Level 20
Posts: 10097
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Wine package doesn't work

Post by Flemur »

FinixFighter wrote: Wed Nov 03, 2021 10:23 am name_of_file.exe[/c], that's what I get:

Code: Select all

it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
0009:err:module:__wine_process_init L"C:\\windows\\system32\\HabboLauncher-Setup-1.0.31.exe" not found
That's a weird program: https://github.com/lpmatos/gex

Start with a new wine "prefix", namely do

Code: Select all

mv ~/.wine ~/.wine.old
WINEARCH=win32 WINEPREFIX=/home/<your-username>/.wine winecfg 
(Write out the /home... part rather than using ~/.wine)
(https://wiki.winehq.org/FAQ#How_do_I_cr ... _system.3F)
then try running

Code: Select all

wine notepad
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Locked

Return to “Software & Applications”