Problems with wine/winetricks.

Questions about Wine on Linux
Locked
sachav
Newbie
Newbie
Posts: 1
Joined: Thu Jun 26, 2014 3:48 pm

Problems with wine/winetricks.

Post by sachav »

Hi,

First off, let me say that this has to be the first time I post to ask help.
I usually am able to find a solution to pretty much any problem, but this is just too much. I've probably spent more than 4 hours on trying to get Wine to work.

I am running Debian Wheezy.
I installed wine with a simple

Code: Select all

sudo apt-get install wine
It turned out later that the version that was installed isn't actually the latest one (1.7), but 1.4.1.

I'm now desesperately trying to install dotnet20 with winetricks.
I've created a 32-bit wine prefix with:

Code: Select all

export WINEARCH=win32
export WINEPREFIX=~/.wine32
When I try to install dotnet20, the setup wizard displays the first "Welcome to Microsoft .NET framework 2.0 setup" page.
When I click Next, the setup crashes. I can also notice that the text next to the checkbox to accept the license agreement isn't complete, it just says "By clicking" and stops there. During my numerous attempts, sometimes more text was displayed, I was even able to check the checkbox once, but it crashed immediately after.

I have the following errors in the console when the setup crashes:

Code: Select all

Executing env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe
fixme:advapi:DecryptFileA "C:\\users\\mw2\\Temp\\IXP002.TMP\\" 00000000
fixme:advapi:LsaOpenPolicy ((null),0x33f310,0x00000001,0x33f2fc) stub
fixme:advapi:LsaClose (0xcafe) stub
err:seh:setup_exception_record stack overflow 928 bytes in thread 0026 eip f75e343a esp 00240f90 stack 0x240000-0x241000-0x340000
err:ntdll:RtlpWaitForCriticalSection section 0x110060 "../../../dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0025, blocked by 0026, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x110060 "../../../dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0025, blocked by 0026, retrying (60 sec)
Here's what I tried to do:
  • Reinstalling wine, multiple, multiple times
  • Adding i386 architecture, installing wine-bin64 first, then installing wine-bin:i386
  • Reinstalling wine and forgetting about a 32 bit environment
  • Installing Gnome, in case that had anything to do with it, then uninstalling it seeing it didn't change anything
  • Getting different versions of winetricks
  • Installing Mono, then I get the error: "implement type compare for 1b!" when I try to run a .NET application.
The output is always the same: crash when clicking Next when trying to install .NET 2.0.

For some reason, I can't install wine1.7:

Code: Select all

E: Unable to locate package wine1.7
E: Couldn't find any package by regex 'wine1.7'
And I can't add the repos for wine1.7:

Code: Select all

W: Failed to fetch http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/dists/maverick/restricted/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/dists/maverick/universe/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/dists/maverick/multiverse/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/dists/maverick/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/dists/maverick/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/dists/maverick/multiverse/binary-i386/Packages  404  Not Found


I think my case is desperate. Thanks in advance for any help.
User avatar
dimesio
Moderator
Moderator
Posts: 13229
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problems with wine/winetricks.

Post by dimesio »

You can't use Ubuntu packages on Debian. What you need are packages built for Debian Wheezy, but there aren't any. If you want current Wine, you will have to build it yourself. http://wiki.winehq.org/WineOn64bit?high ... 41b7fa1988
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Problems with wine/winetricks.

Post by spoon0042 »

***Ignore this, I just remembered Debian's 32-bit wine packages are probably built on a 32-bit host so I have no real idea how to get a functioning wine install on a 64-bit machine. Sorry. :( I think you're stuck with installing a mess of libraries or using a chroot which may actually be easier.***


I've been lucky building wine on wheezy without too much trouble, though I installed 32-bit mainly to avoid problems with wine.

First you'll need the wine source, get that however you want. Then go to https://packages.debian.org/sid/wine-unstable and download "wine-unstable_1.7.20-1.debian.tar.xz" on the right side, and unpack it in the wine source directory. I think you'll need to follow all the instructions in dimesio's link above too. Finally try "dpkg-buildpackage -us -uc -b -rfakeroot -j2" (change the 2 to how many cores you want to use).

Those instructions will probably bomb out somewhere, I can try to help you along. :)
Locked