Bug#1014323: wine-binfmt: postinst fails due to incorrect import directory
Package: wine-binfmt
Version: 7.0~repack-2
Severity: important
Tags: patch
Dear Maintainer,
the latest version of wine-binfmt in sid fails to configure,
because its postinst just calls
update-binfmts --import wine
which by default assumes that the importdir is /usr/share/binfmts/,
while the current package installs the binfmt definition as
/usr/lib/binfmt.d/wine
The postinst script works flawlessly if the correct importdir is
explicitly specified, i.e.
update-binfmts --importdir /usr/lib/binfmt.d --import wine
I also added the optional "--package wine-binfmt" option, which while
not required does not hurt either.
Best regards
Giacomo Mulas
-- Package-specific info:
/usr/bin/wine points to /usr/bin/wine-stable.
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (401, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.18.0-2-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages wine-binfmt depends on:
ii binfmt-support 2.2.2-1
ii systemd 251.2-7
ii wine [wine] 7.0~repack-2
wine-binfmt recommends no packages.
wine-binfmt suggests no packages.
Versions of packages wine depends on:
ii wine32 7.0~repack-2
ii wine64 7.0~repack-2
Versions of packages wine suggests:
pn dosbox <none>
ii exe-thumbnailer 1~icoextract-0.1.2-2
ii kio-extras 4:21.12.3-1
ii playonlinux 4.3.4-3
ii q4wine 1.3.12-1
pn winbind <none>
ii winetricks 20220411-1
Versions of packages libwine depends on:
ii libasound2 1.2.6.1-2+b1
ii libc6 2.33-7
ii libcapi20-3 1:3.27-3+b1
ii libfontconfig1 2.13.1-4.4
ii libfreetype6 2.12.1+dfsg-3
ii libglib2.0-0 2.72.3-1
ii libgphoto2-6 2.5.29-1
ii libgphoto2-port12 2.5.29-1
ii libgstreamer-plugins-base1.0-0 1.20.3-dmo1
ii libgstreamer1.0-0 1.20.3-1
ii libldap-2.5-0 2.5.12+dfsg-2
ii libopenal1 1:1.19.1-2
ii libpcap0.8 1.10.1-4
ii libpulse0 15.0+dfsg1-4+b1
ii libudev1 251.2-7
ii libunwind8 1.3.2-2
ii libusb-1.0-0 2:1.0.26-1
ii libvkd3d1 1.2-12
ii libx11-6 2:1.7.5-1
ii libxext6 2:1.3.4-1
ii libz-mingw-w64 1.2.12+dfsg-1
ii ocl-icd-libopencl1 [libopencl1] 2.2.14-3
Versions of packages libwine recommends:
ii fonts-liberation 1:1.07.4-11
ii fonts-wine 7.0~repack-2
ii gstreamer1.0-plugins-good 1.20.3-dmo1
ii libasound2-plugins 1:1.2.6-dmo2
ii libcups2 2.4.2-1
ii libdbus-1-3 1.14.0-1
ii libgl1 1.4.0-1
ii libgl1-mesa-dri 22.0.5-1
ii libgnutls30 3.7.6-2
ii libgssapi-krb5-2 1.19.2-2+b2
ii libkrb5-3 1.19.2-2+b2
ii libodbc2 2.3.11-2
ii libosmesa6 22.0.5-1
ii libsdl2-2.0-0 2.0.22+dfsg-6
ii libv4l-0 1.22.1-4
ii libvkd3d-shader1 1.2-12
ii libvulkan1 1.3.216.0-1
ii libxcomposite1 1:0.4.5-1
ii libxcursor1 1:1.2.1-1
ii libxfixes3 1:6.0.0-1
ii libxi6 2:1.8-1
ii libxinerama1 2:1.1.4-3
ii libxrandr2 2:1.5.2-2+b1
ii libxrender1 1:0.9.10-1.1
ii libxxf86vm1 1:1.1.4-1+b2
Versions of packages libwine suggests:
ii cups-bsd 2.4.2-1
ii gstreamer1.0-libav 1:1.20.3-dmo2
ii gstreamer1.0-plugins-bad 1:1.20.3-dmo2
ii gstreamer1.0-plugins-ugly 1:1.20.3-dmo1
ii ttf-mscorefonts-installer 3.8
Versions of packages wine32 depends on:
ii libc6 2.33-7
ii libwine 7.0~repack-2
Versions of packages wine32 recommends:
ii wine [wine] 7.0~repack-2
Versions of packages wine32 suggests:
ii wine32-preloader 7.0~repack-2
Versions of packages wine64 depends on:
ii libc6 2.33-7
ii libwine 7.0~repack-2
Versions of packages wine64 recommends:
ii wine [wine] 7.0~repack-2
ii wine32 7.0~repack-2
Versions of packages wine64 suggests:
ii wine64-preloader 7.0~repack-2
Versions of packages wine64-tools depends on:
ii gcc 4:11.2.0-2
ii libc6 2.33-7
ii libgettextpo0 0.21-6
ii libwine-dev 7.0~repack-2
ii perl 5.34.0-4
Versions of packages wine64-tools recommends:
ii g++ 4:11.2.0-2
ii wine [wine] 7.0~repack-2
Versions of packages wine-binfmt is related to:
pn dxvk <none>
pn dxvk-wine32-development <none>
pn dxvk-wine64-development <none>
ii fonts-wine 7.0~repack-2
-- no debconf information
Reply to: