Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #161839 > unrolled thread

wine: Bad EXE format for...

Started bySaša Janiška <gour@atmarama.com>
First post2015-12-17 17:20 +0100
Last post2015-12-17 19:40 +0100
Articles 10 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  wine: Bad EXE format for... Saša Janiška <gour@atmarama.com> - 2015-12-17 17:20 +0100
    Re: wine: Bad EXE format for... The Wanderer <wanderer@fastmail.fm> - 2015-12-17 17:40 +0100
      Re: wine: Bad EXE format for... Saša Janiška <gour@atmarama.com> - 2015-12-17 18:40 +0100
    Re: wine: Bad EXE format for... Sven Arvidsson <sa@whiz.se> - 2015-12-17 17:50 +0100
      Re: wine: Bad EXE format for... Saša Janiška <gour@atmarama.com> - 2015-12-17 18:50 +0100
        Re: wine: Bad EXE format for... Daniel Dominguez <cornezuelocenteno@gmail.com> - 2015-12-17 19:00 +0100
          Re: wine: Bad EXE format for... Saša Janiška <gour@atmarama.com> - 2015-12-17 19:50 +0100
          Re: wine: Bad EXE format for... Saša Janiška <gour@atmarama.com> - 2015-12-17 20:00 +0100
    Re: wine: Bad EXE format for... Gary Roach <gary719_list1@verizon.net> - 2015-12-17 19:00 +0100
      Re: wine: Bad EXE format for... Saša Janiška <gour@atmarama.com> - 2015-12-17 19:40 +0100

#161839 — wine: Bad EXE format for...

FromSaša Janiška <gour@atmarama.com>
Date2015-12-17 17:20 +0100
Subjectwine: Bad EXE format for...
Message-ID<qGJrz-1K4-3@gated-at.bofh.it>
Hello,

few days ago I migrated from openSUSE Tumbleweed (rolling) distro to
Debian (Sid) and migration/restoration went fine, but there is only one
problematic issue which I cannot solve - running wine which I need for
few legacy apps.

I did install wine, but when I attempt to install application I get the
following:

gour@atmarama ~/D/b/v/disk> wine ./Install.exe
wine: created the configuration directory '/home/gour/.wine64'
Could not load wine-gecko. HTML rendering will be disabled.
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/gour/.wine64' has been updated.
wine: Bad EXE format for Z:\home\gour\path\disk\Install.exe.

Application is 32bit one:

gour@atmarama ~/D/b/v/disk> file Install.exe 
Install.exe: PE32 executable (GUI) Intel 80386, for MS Windows

and it was running fine on openSUSE's wine-1.8.x, iow. I was able to
install it.

I've another two apps which are also old/legacy 32apps, but same
problem.

I see there is no wine32 and attempt to install wine32-preloader:i386
does not work showing broken package.

There are few messages in 'Wine in amd64' thread from February this
year and I've tried both options:

1) 

WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg

WINEPREFIX=~/.wine32 wine ./program.exe

and

2)

WINEARCH=win64 WINEPREFIX=~/.wine64 winecfg

WINEPREFIX=~/.wine64 wine ./program.exe

which give:

1)

$ WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
wine: created the configuration directory '/home/gour/.wine32'
wine: '/home/gour/.wine32' is a 32-bit installation, it cannot support
64-bit applications.

$ WINEPREFIX=~/.wine32 wine Install.exe 
wine: '/home/gour/.wine32' is a 32-bit installation, it cannot support
64-bit applications.
 
and

2)

$ WINEARCH=win64 WINEPREFIX=~/.wine64 winecfg
wine: created the configuration directory '/home/gour/.wine64'
Could not load wine-gecko. HTML rendering will be disabled.
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/gour/.wine64' has been updated.

$ WINEPREFIX=~/.wine64 wine Install.exe 
wine: Bad EXE format for E:\Install.exe.


Any hint what's wrong or some workaround?


Sincerely,
Gour

-- 
In the material world, one who is unaffected by whatever good 
or evil he may obtain, neither praising it nor despising it, 
is firmly fixed in perfect knowledge.

[toc] | [next] | [standalone]


#161840

FromThe Wanderer <wanderer@fastmail.fm>
Date2015-12-17 17:40 +0100
Message-ID<qGJKW-1SE-15@gated-at.bofh.it>
In reply to#161839

[Multipart message — attachments visible in raw view] — view raw

On 2015-12-17 at 11:12, Saša Janiška wrote:

> Hello,
> 
> few days ago I migrated from openSUSE Tumbleweed (rolling) distro to 
> Debian (Sid) and migration/restoration went fine, but there is only
> one problematic issue which I cannot solve - running wine which I
> need for few legacy apps.
> 
> I did install wine, but when I attempt to install application I get
> the following:

<snip>

> I see there is no wine32 and attempt to install
> wine32-preloader:i386 does not work showing broken package.

Do you have the i386 architecture enabled, via 'dpkg --add-architecture
i386'?

I have:

$ dpkg --print-architecture
amd64
$ dpkg --print-foreign-architectures
i386


With that configuration, having updated the package list just last
night, I get:

$ apt-cache policy wine32
wine32:i386:
  Installed: (none)
  Candidate: 1.8~rc3-1
  Version table:
     1.8~rc3-1 500
        500 http://ftp.us.debian.org/debian testing/main i386 Packages
     1.6.2-20 500
        500 http://ftp.us.debian.org/debian stable/main i386 Package

This is on testing, as you can see, but AFAIK it's standard practice to
have sources.list tracking either A: stable alone or B: two suites at
once, whether stable+testing or stable+sid or testing+sid; not to
mention, I'd be at least mildly surprised if wine32 were not present in
sid.

I'm not sure whether this is relevant / related to the problem you're
seeing, but it's enough of a mismatch with my observations to seem worth
pointing out for consideration.

My current guess is that you have a 64-bit-only Wine present, and are
trying to run a 32-bit EXE. The only solution to that, AFAIK, is to
install either pure 32-bit Wine or properly-integrated bi-architecture
Wine. (Time was I might have recommended building the latter from
source, but doing so in current Debian is a _royal_ pain, so you're
probably best off trying to get the packaged versions working.)

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

[toc] | [prev] | [next] | [standalone]


#161842

FromSaša Janiška <gour@atmarama.com>
Date2015-12-17 18:40 +0100
Message-ID<qGKH1-2up-13@gated-at.bofh.it>
In reply to#161840
On Čet, 2015-12-17 at 11:30 -0500, The Wanderer wrote:

> Do you have the i386 architecture enabled, via 'dpkg --add-
> architecture i386'?

Yes.

> I have:
> 
> $ dpkg --print-architecture
> amd64
> $ dpkg --print-foreign-architectures
> i386

Same here.

> $ apt-cache policy wine32

$ apt-cache policy wine32
wine32:i386:
  Installed: (none)
  Candidate: 1.8~rc4-1
  Version table:
     1.8~rc4-1 500
        500 http://ftp.hr.debian.org/debian sid/main i386 Packages

> This is on testing, as you can see, but AFAIK it's standard practice
> to have sources.list tracking either A: stable alone or B: two suites
> at once, whether stable+testing or stable+sid or testing+sid; not to
> mention, I'd be at least mildly surprised if wine32 were not present
> in sid.

Here is my sources.list:

# Sid 

deb http://ftp.hr.debian.org/debian/ sid main contrib non-free
deb-src http://ftp.hr.debian.org/debian/ sid main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib
deb-src http://security.debian.org/ stretch/updates main contrib

# Firefox
deb http://http.debian.net/debian experimental main

Does it mean that my sources.list is missing something?


Sincerely,
Gour


-- 
What is night for all beings is the time of awakening 
for the self-controlled; and the time of awakening for 
all beings is night for the introspective sage.

[toc] | [prev] | [next] | [standalone]


#161841

FromSven Arvidsson <sa@whiz.se>
Date2015-12-17 17:50 +0100
Message-ID<qGJUB-1Y1-3@gated-at.bofh.it>
In reply to#161839

[Multipart message — attachments visible in raw view] — view raw

On Thu, 2015-12-17 at 17:12 +0100, Saša Janiška wrote:
> I see there is no wine32 and attempt to install wine32-preloader:i386
> does not work showing broken package.

What parts of Wine do you have installed? It sounds like the above is
the problem.

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5



[toc] | [prev] | [next] | [standalone]


#161843

FromSaša Janiška <gour@atmarama.com>
Date2015-12-17 18:50 +0100
Message-ID<qGKQG-2xR-1@gated-at.bofh.it>
In reply to#161841
On Čet, 2015-12-17 at 17:45 +0100, Sven Arvidsson wrote:

> What parts of Wine do you have installed? It sounds like the above is
> the problem.

$ dpkg-query -l 'wine*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-
aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                 Version         Architecture    Description
+++-====================-===============-===============-
=============================================
ii  wine                 1.8~rc4-1       all             Windows API
implementation - standard suite
un  wine-binfmt          <none>          <none>          (no description
available)
un  wine32               <none>          <none>          (no description
available)
ii  wine64               1.8~rc4-1       amd64           Windows API
implementation - 64-bit binary lo
un  wine64-preloader     <none>          <none>          (no description
available)

Any hint?


Sincerely,
Gour

-- 
One who sees inaction in action, and action in inaction, 
is intelligent among men, and he is in the transcendental position, 
although engaged in all sorts of activities.


[toc] | [prev] | [next] | [standalone]


#161844

FromDaniel Dominguez <cornezuelocenteno@gmail.com>
Date2015-12-17 19:00 +0100
Message-ID<qGL0n-2Bm-35@gated-at.bofh.it>
In reply to#161843

[Multipart message — attachments visible in raw view] — view raw

You need to install wine:i386 and maybe some others 32 bits packages. Dont
rembember now but i deal with that issue some time ago and was that.

Aptitude update & upgrade after adding 386 architecture may help

[toc] | [prev] | [next] | [standalone]


#161847

FromSaša Janiška <gour@atmarama.com>
Date2015-12-17 19:50 +0100
Message-ID<qGLML-3bD-25@gated-at.bofh.it>
In reply to#161844
On Čet, 2015-12-17 at 18:51 +0100, Daniel Dominguez wrote:

> You need to install wine:i386 and maybe some others 32 bits packages.
> Dont rembember now but i deal with that issue some time ago and was
> that.

OK. Will try that...

> Aptitude update & upgrade after adding 386 architecture may help

Btw, do you recommend using aptitude over apt-get?

Iirc, I read somewhere that it is not, in general, recemmended to mix
them...


Sincerely,
Gour

-- 
A person is said to be elevated in yoga when, having renounced 
all material desires, he neither acts for sense gratification 
nor engages in fruitive activities.

[toc] | [prev] | [next] | [standalone]


#161849

FromSaša Janiška <gour@atmarama.com>
Date2015-12-17 20:00 +0100
Message-ID<qGLWq-3f0-17@gated-at.bofh.it>
In reply to#161844
On Čet, 2015-12-17 at 18:51 +0100, Daniel Dominguez wrote:

> You need to install wine:i386 and maybe some others 32 bits packages.


When I mark wine32-preloader:i386 it synaptic shows it's broken due to
missing dependency of wine32 (=1.8~rc4-1)...so have to investigate
further what's going on...


Sincerely,
Gour
 
-- 
The embodied soul may be restricted from sense enjoyment, 
though the taste for sense objects remains. But, ceasing 
such engagements by experiencing a higher taste, 
he is fixed in consciousness.

[toc] | [prev] | [next] | [standalone]


#161845

FromGary Roach <gary719_list1@verizon.net>
Date2015-12-17 19:00 +0100
Message-ID<qGL0o-2Bm-43@gated-at.bofh.it>
In reply to#161839
Hi Sasa
You sure you want to use wine. I gave up on wine, started  using 
VirtualBox and just loaded an old copy of windows xp into that. This 
beats wine or a dual boot system.

Gary R

On 12/17/2015 08:12 AM, Saša Janiška wrote:
> Hello,
>
> few days ago I migrated from openSUSE Tumbleweed (rolling) distro to
> Debian (Sid) and migration/restoration went fine, but there is only one
> problematic issue which I cannot solve - running wine which I need for
> few legacy apps.
>
> I did install wine, but when I attempt to install application I get the
> following:
>
> gour@atmarama ~/D/b/v/disk> wine ./Install.exe
> wine: created the configuration directory '/home/gour/.wine64'
> Could not load wine-gecko. HTML rendering will be disabled.
> Could not load wine-gecko. HTML rendering will be disabled.
> wine: configuration in '/home/gour/.wine64' has been updated.
> wine: Bad EXE format for Z:\home\gour\path\disk\Install.exe.
>
> Application is 32bit one:
>
> gour@atmarama ~/D/b/v/disk> file Install.exe
> Install.exe: PE32 executable (GUI) Intel 80386, for MS Windows
>
> and it was running fine on openSUSE's wine-1.8.x, iow. I was able to
> install it.
>
> I've another two apps which are also old/legacy 32apps, but same
> problem.
>
> I see there is no wine32 and attempt to install wine32-preloader:i386
> does not work showing broken package.
>
> There are few messages in 'Wine in amd64' thread from February this
> year and I've tried both options:
>
> 1)
>
> WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
>
> WINEPREFIX=~/.wine32 wine ./program.exe
>
> and
>
> 2)
>
> WINEARCH=win64 WINEPREFIX=~/.wine64 winecfg
>
> WINEPREFIX=~/.wine64 wine ./program.exe
>
> which give:
>
> 1)
>
> $ WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
> wine: created the configuration directory '/home/gour/.wine32'
> wine: '/home/gour/.wine32' is a 32-bit installation, it cannot support
> 64-bit applications.
>
> $ WINEPREFIX=~/.wine32 wine Install.exe
> wine: '/home/gour/.wine32' is a 32-bit installation, it cannot support
> 64-bit applications.
>   
> and
>
> 2)
>
> $ WINEARCH=win64 WINEPREFIX=~/.wine64 winecfg
> wine: created the configuration directory '/home/gour/.wine64'
> Could not load wine-gecko. HTML rendering will be disabled.
> Could not load wine-gecko. HTML rendering will be disabled.
> wine: configuration in '/home/gour/.wine64' has been updated.
>
> $ WINEPREFIX=~/.wine64 wine Install.exe
> wine: Bad EXE format for E:\Install.exe.
>
>
> Any hint what's wrong or some workaround?
>
>
> Sincerely,
> Gour
>

[toc] | [prev] | [next] | [standalone]


#161846

FromSaša Janiška <gour@atmarama.com>
Date2015-12-17 19:40 +0100
Message-ID<qGLD4-38a-11@gated-at.bofh.it>
In reply to#161845
On Čet, 2015-12-17 at 08:53 -0800, Gary Roach wrote:

> You sure you want to use wine. 

Yes. I was so happy when recently the need to use vbox with win xp
disappeared since my needs for win apps are really minimal.


Sincerely,
Gour



-- 
One is understood to be in full knowledge whose every endeavor 
is devoid of desire for sense gratification. 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web