[pkg-wine-party] Bug#764641: [wine] wine32 and wine64 cannot share same default homedir ~/.wine

Philippe Teuwen phil at teuwen.org
Thu Oct 9 20:20:08 UTC 2014


Package: wine
Version: 1.6.2-8
Severity: normal
Tags: patch

--- Please enter the report below this line. ---
Hello

When running alternatively wine32 and wine64, you get such error (or
vice versa):
wine: '/home/phil/.wine' is a 32-bit installation, it cannot support
64-bit applications.

One possible solution:
assign different homes for wine32 and wine64, e.g.:

--- /usr/bin/wine<->2014-10-09 21:59:00.840600775 +0200
+++ /usr/bin/wine<------>2014-10-09 22:15:17.405788903 +0200
@@ -3,8 +3,15 @@
 set -e
.
 wine=/usr/bin/wine32
+defaultwineprefix=$HOME/.wine32
+
 if test "$(file -b -L "$1" | cut -d\  -f1)" = "PE32+" -o "$WINEARCH" =
"win64"; then
     wine=/usr/bin/wine64
+    defaultwineprefix=$HOME/.wine64
+fi
+
+if [ -z "$WINEPREFIX" ]; then
+    export WINEPREFIX=$defaultwineprefix
 fi
.
 if test -f $wine; then


--- System information. ---
Architecture: amd64
Kernel: Linux 3.16-1-amd64

Debian Release: jessie/sid
500 unstable ftp.be.debian.org
500 testing-updates ftp.be.debian.org
500 testing security.debian.org
500 testing ftp.be.debian.org
500 stable files.eid.belgium.be
500 stable dl.google.com
350 stable http.kali.org
100 jessie-backports ftp.be.debian.org

--- Package information. ---
Depends (Version) | Installed
=========================-+-==============
file | 1:5.19-2
wine64 (>= 1.6.2-8) | 1.6.2-8
OR wine32 (>= 1.6.2-8) | 1.6.2-8


Package's Recommends field is empty.

Suggests (Version) | Installed
========================================-+-===========
wine-doc |
binfmt-support | 2.1.5-1
ttf-mscorefonts-installer |
winbind |
avscan |
OR klamav |
OR clamav |



More information about the pkg-wine-party mailing list