paleozogt / MSVCDocker

MSVC via Wine in Docker
121 stars 20 forks source link

wine isn't installing #8

Closed paleozogt closed 4 years ago

paleozogt commented 4 years ago

So that builds are replicable, the Dockerfile pins the wine version and apt-get installs winehq-stable=$WINE_VER~xenial. However, this fails with

The following packages have unmet dependencies:
 winehq-stable : Depends: wine-stable (= 4.0~xenial

Thanks to @gerph for pointing this out.

paleozogt commented 4 years ago

It seems that the winehq-stable package is busted for anything that's not the latest version. I ended up having to install the packages behind winehq-stable:


RUN apt-get update && apt-get install -y --install-recommends \
    wine-stable=$WINE_VER~xenial \
    wine-stable-i386=$WINE_VER~xenial \
    wine-stable-amd64=$WINE_VER~xenial \
 && rm -rf /var/lib/apt/lists/*```

and then symlinking all the `/usr/bin` binaries into from `/opt/wine-stable/bin`.