I can't install on Debian 10/Buster

Questions about Wine on Linux
Locked
LMLM
Level 3
Level 3
Posts: 66
Joined: Thu Feb 26, 2015 8:13 pm

I can't install on Debian 10/Buster

Post by LMLM »

I can't use Wine on Debian 10/Buster. Plain 'wine' is available, but nothing that I try at it will run.

Note this is a remote shared machine that I don't own so I can't upgrade. It was hard enough getting permission to install wine on it.

So I tried wine-staging which is what I have on my local machine. It won't install.

Code: Select all

The following packages have unmet dependencies:
wine-staging : Depends: wine-staging-i386 (= 7.17~buster-1)
There is no wine-staging-i386 in the repository. I am using https://dl.winehq.org/wine-builds/debia ... er.sources

There is a winehq-staging package but the result is the same.

I could install wine-stable-amd64 7.0.0.0~buster-1, but that version won't run my applications either.

Code: Select all

$ /opt/wine-stable/bin/wine64 ColorCop.exe 
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
err:environ:read_nls_file failed to load 10/0
wine: could not exec wineserver
$ /opt/wine-stable/bin/wine64 ../DiskCat/DiskCat.exe 
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
err:environ:read_nls_file failed to load 10/0
wine: could not exec wineserver
I noticed that everything resides within /opt/wine-stable/ and the executable has not been linked anywhere so it's not in my $PATH. The installation doesn't seem correct.

Any ideas on what I can do here?
jkfloris
Level 12
Level 12
Posts: 3144
Joined: Thu Aug 14, 2014 10:10 am

Re: I can't install on Debian 10/Buster

Post by jkfloris »

There is no wine-staging-i386 in the repository.
The 32-bit packages are available. For example:
https://dl.winehq.org/wine-builds/debia ... 1_i386.deb
Did you enable multiarch?

Code: Select all

sudo dpkg --add-architecture i386 

Code: Select all

$ /opt/wine-stable/bin/wine64 ColorCop.exe 
If this is the program you are trying to run, then you are running a 32-bit program with 64-bit Wine.
I noticed that everything resides within /opt/wine-stable/ and the executable has not been linked anywhere so it's not in my $PATH. The installation doesn't seem correct.
A complete Wine installation consists of four packages.
- winehq-<branch>
- wine-<branch>
- wine-<branch>-amd64
- wine-<branch>-i386
The first package provides the wine command in /usr/bin.
LMLM
Level 3
Level 3
Posts: 66
Joined: Thu Feb 26, 2015 8:13 pm

Re: I can't install on Debian 10/Buster

Post by LMLM »

Yes, I enabled multiarch. Then I ran apt-get update, but wine-staging-i386 doesn't show up as available in Synaptic.
A complete Wine installation consists of four packages.
- winehq-<branch>
- wine-<branch>
- wine-<branch>-amd64
- wine-<branch>-i386
The first package provides the wine command in /usr/bin.
When I select winehq-staging or winhq-stable, it immediately becomes red and reported as broken.

I can manually download https://dl.winehq.org/wine-builds/debia ... 1_i386.deb and run dpkg -i but that puts me in dependency hell, as dpkg immediately complains about a ton of unmet dependencies and refuses to proceed.

Isn't there something broken in https://dl.winehq.org/wine-builds/debian/dists/buster/ ? Can that be verified?
LMLM
Level 3
Level 3
Posts: 66
Joined: Thu Feb 26, 2015 8:13 pm

Solved: I can't install on Debian 10/Buster

Post by LMLM »

It turns out my /etc/apt/sources.list file was broken with an incomplete list of sources so I wasn't getting the complete list of packages, especially :386. I fixed that and wine installed well, including :386.

ColorCop still doesn't work, but I'm working on it. I'm running a bunch of winetrick lines, then let's see.

Sorry about this. Thank you for the help.
jkfloris
Level 12
Level 12
Posts: 3144
Joined: Thu Aug 14, 2014 10:10 am

Re: I can't install on Debian 10/Buster

Post by jkfloris »

ColorCop still doesn't work, but I'm working on it. I'm running a bunch of winetrick lines, then let's see.
When you run the program from a command line you will get the following output:

Code: Select all

0194:err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\colorcop\\ColorCop.exe") not found
0194:err:module:LdrInitializeThunk Importing dlls for L"C:\\colorcop\\ColorCop.exe" failed, status c0000135
The only winetrick you need is mfc42

Code: Select all

winetricks mfc42
LMLM
Level 3
Level 3
Posts: 66
Joined: Thu Feb 26, 2015 8:13 pm

Re: I can't install on Debian 10/Buster

Post by LMLM »

Sure, but I like to leave wine prepared for as many applications as possible. ColorCop is not even important. Linux has gcolor2 which is native and just as good. I was just using ColorCop (and other applications) to test the new wine installation.
Locked