[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1011461: Instructions on how to install wine32 gets armhf rather than i386 packages



Package: wine
Version: 5.0.3-3

Hi, I was trying to run a 32-bit windows executable using wine (which
via /etc/alternatives is set to be wine-stable). This is what it looked
like:

  $ file aes-test.exe 
  aes-test.exe: PE32 executable (console) Intel 80386, for MS Windows
 
  $ wine aes-test.exe 
  it looks like wine32 is missing, you should install it.
  multiarch needs to be enabled first.  as root, please
  execute "dpkg --add-architecture i386 && apt-get update &&
  apt-get install wine32"

So error message is rather clear; wine32 is missing and I have to install
it. However, when following the above instructions, apt-get wants to
install armhf packages. This is what I get from the install command:

  # apt-get install wine32
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  The following additional packages will be installed:
    glib-networking:armhf gstreamer1.0-plugins-base:armhf gstreamer1.0-plugins-good:armhf
    gstreamer1.0-x:armhf libaa1:armhf libaom0:armhf libasound2:armhf libasound2-plugins:armhf
    libasyncns0:armhf libavahi-client3:armhf libavahi-common-data:armhf libavahi-common3:armhf
    libavc1394-0:armhf libavcodec58:armhf libavresample4:armhf libavutil56:armhf
    libblkid1:armhf libbrotli1:armhf libbsd0:armhf libbz2-1.0:armhf libcaca0:armhf
    libcairo-gobject2:armhf libcairo2:armhf libcap2:armhf libcapi20-3:armhf
    ...

That doesn't seem right. My foreign architectures are

  # dpkg --print-foreign-architectures
  armhf
  arm64
  ppc64el
  s390x
  i386

If I instead use

  # apt-get install wine32:i386

then I do get i386 packages, as I expected, including a working wine32.

Not clear to me if apt-get is doing something unexpected, or when the
existing wine32:armhf package is useful. But anyway, when wine fails to
run a 32-bit (i386) windows executable, due to missing wine32, I'd
suggest that the instructions it displays should be updated to say
"apt-get install wine32:i386".

Regards,
/Niels Möller

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.


Reply to: