Wine installer broken in non ahs version (Solved) [Solved]
Posted: Wed Mar 31, 2021 11:43 pm

Support for MX and antiX Linux distros
http://www.forum.mxlinux.org/
Code: Select all
System:
Host: <filter> Kernel: 4.19.0-16-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0
parameters: BOOT_IMAGE=/boot/vmlinuz-4.19.0-16-amd64
root=UUID=<filter> ro quiet splash
Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4
dm: LightDM 1.26.0 Distro: MX-19.3_x64 patito feo November 11 2020
base: Debian GNU/Linux 10 (buster)
Machine:
Type: Desktop Mobo: ASRock model: N68C-GS FX serial: <filter>
BIOS: American Megatrends v: P1.40 date: 10/31/2012
CPU:
Topology: 6-Core model: AMD Phenom II X6 1055T bits: 64 type: MCP arch: K10
family: 10 (16) model-id: A (10) stepping: N/A microcode: 10000DC
L2 cache: 3072 KiB
flags: lm nx pae sse sse2 sse3 sse4a svm bogomips: 33755
Speed: 1141 MHz min/max: 800/2800 MHz boost: enabled Core speeds (MHz): 1: 916
2: 804 3: 872 4: 804 5: 804 6: 1278
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass status: Not affected
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GM107 [GeForce GTX 750 Ti] vendor: eVga.com. driver: nvidia
v: 455.45.01 bus ID: 02:00.0 chip ID: 10de:1380
Display: x11 server: X.Org 1.20.4 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa alternate: nv resolution: 1366x768~60Hz
OpenGL: renderer: GeForce GTX 750 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 455.45.01
direct render: Yes
Audio:
Device-1: NVIDIA MCP61 High Definition Audio vendor: ASRock
driver: snd_hda_intel v: kernel bus ID: 00:05.0 chip ID: 10de:03f0
Device-2: NVIDIA vendor: eVga.com. driver: snd_hda_intel v: kernel
bus ID: 02:00.1 chip ID: 10de:0fbc
Device-3: N/A type: USB driver: snd-usb-audio,uvcvideo bus ID: 1-2:2
chip ID: 534d:0021
Sound Server: ALSA v: k4.19.0-16-amd64
Network:
Device-1: NVIDIA MCP61 Ethernet vendor: ASRock 939NF6G-VSTA Board
type: network bridge driver: forcedeth v: kernel port: d080 bus ID: 00:07.0
chip ID: 10de:03ef
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 335.36 GiB used: 9.25 GiB (2.8%)
ID-1: /dev/sda model: SATA SSD size: 223.57 GiB block size: physical: 512 B
logical: 512 B speed: 3.0 Gb/s serial: <filter> rev: 61.3 temp: 33 C scheme: MBR
ID-2: /dev/sdb type: USB vendor: Seagate model: Expansion size: 111.79 GiB
block size: physical: 4096 B logical: 512 B serial: <filter> rev: 0707
Partition:
ID-1: / raw size: 221.54 GiB size: 217.06 GiB (97.98%) used: 9.25 GiB (4.3%)
fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 2.00 GiB used: 1.2 MiB (0.1%) fs: swap
swappiness: 15 (default 60) cache pressure: 100 (default) dev: /dev/sda2
Sensors:
System Temperatures: cpu: 28.9 C mobo: N/A gpu: nvidia temp: 30 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 40%
Repos:
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian buster-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian buster main contrib non-free
2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ buster main non-free
No active apt repos in: /etc/apt/sources.list.d/various.list
Info:
Processes: 257 Uptime: 4h 13m Memory: 3.85 GiB used: 1.59 GiB (41.4%)
Init: SysVinit v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8
Shell: quick-system-in running in: quick-system-in inxi: 3.0.36
Code: Select all
sudo apt update
Code: Select all
[code]
Snapshot created on: 20210315_1348
System: Host: <filter> Kernel: 5.8.0-3-amd64 x86_64 bits: 64 compiler: N/A
parameters: BOOT_IMAGE=/boot/vmlinuz-5.8.0-3-amd64
root=UUID=<filter> ro quiet splash
Desktop: Fluxbox 1.3.7 info: tint2 dm: LightDM 1.26.0
Distro: MX-19.3_ahs_x64 patito feo November 11 2020
base: Debian GNU/Linux 10 (buster)
Machine: Type: Desktop Mobo: Gigabyte model: B550M S2H v: x.x serial: <filter>
BIOS: American Megatrends v: F3 date: 08/20/2020
CPU: Topology: 12-Core model: AMD Ryzen 9 3900X bits: 64 type: MT MCP arch: Zen
family: 17 (23) model-id: 71 (113) stepping: N/A microcode: 8701021
L2 cache: 6144 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 182074
Speed: 2194 MHz min/max: 2200/3800 MHz boost: enabled Core speeds (MHz): 1: 2197
2: 2195 3: 2196 4: 2195 5: 2194 6: 2196 7: 2190 8: 2191 9: 2196 10: 2195 11: 2189
12: 2195 13: 2195 14: 2187 15: 2193 16: 2189 17: 2196 18: 2193 19: 2196 20: 2196
21: 2196 22: 2195 23: 2192 24: 2196
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Full AMD retpoline, IBPB: conditional, STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: Micro-Star MSI driver: nouveau
v: kernel bus ID: 09:00.0 chip ID: 10de:1c82
Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa
resolution: 1920x1200~60Hz
OpenGL: renderer: NV137 v: 4.3 Mesa 20.3.4 direct render: Yes
Audio: Device-1: NVIDIA GP107GL High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus ID: 09:00.1 chip ID: 10de:0fb9
Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte driver: snd_hda_intel
v: kernel bus ID: 0b:00.4 chip ID: 1022:1487
Sound Server: ALSA v: k5.8.0-3-amd64
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte
driver: r8169 v: kernel port: f000 bus ID: 08:00.0 chip ID: 10ec:8168
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: Local Storage: total: 2.27 TiB used: 979.95 GiB (42.1%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB
block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter>
rev: 2B2QEXM7 scheme: GPT
ID-2: /dev/sda type: USB vendor: Samsung model: SSD 860 EVO 500G size: 465.76 GiB
block size: physical: 4096 B logical: 512 B serial: <filter> rev: 0223 scheme: MBR
ID-3: /dev/sdb type: USB vendor: Samsung model: SSD 850 EVO 1TB size: 931.51 GiB
block size: physical: 512 B logical: 512 B serial: <filter> scheme: MBR
Partition: ID-1: / raw size: 928.97 GiB size: 913.39 GiB (98.32%) used: 316.59 GiB (34.7%)
fs: ext4 dev: /dev/nvme0n1p2
ID-2: swap-1 size: 2.44 GiB used: 1.5 MiB (0.1%) fs: swap swappiness: 15 (default 60)
cache pressure: 100 (default) dev: /dev/nvme0n1p3
Sensors: System Temperatures: cpu: 49.1 C mobo: N/A gpu: nouveau temp: 16 C
Fan Speeds (RPM): N/A
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian buster-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian buster main contrib non-free
2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://nl.mxrepo.com/mx/repo/ buster main non-free
2: deb http://nl.mxrepo.com/mx/repo/ buster ahs
No active apt repos in: /etc/apt/sources.list.d/various.list
Info: Processes: 391 Uptime: 1h 39m Memory: 31.35 GiB used: 2.10 GiB (6.7%) Init: SysVinit
v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 Shell: quick-system-in
running in: quick-system-in inxi: 3.0.36
Code: Select all
sudo apt-get purge wine*
Code: Select all
aptitude -s install winehq-staging
Code: Select all
jay@mx:~
$ aptitude -s install winehq-staging
The following NEW packages will be installed:
libaom0:i386{a} libasound2:i386{a} libasound2-plugins:i386{a} libasyncns0:i386{a}
libatomic1:i386{a} libavcodec58:i386{ab} libavresample4:i386{ab} libavutil56:i386{ab}
libblkid1:i386{a} libbsd0:i386{a} libcairo2:i386{a} libcap2:i386{a} libcodec2-0.8.1:i386{a}
libcroco3:i386{a} libcrystalhd3:i386{a} libdatrie1:i386{a} libdb5.3:i386{a}
libdbus-1-3:i386{a} libdrm2:i386{a} libexif12:i386{a} libexpat1:i386{a} libffi6:i386{a}
libflac8:i386{a} libfontconfig1:i386{a} libfreetype6:i386{a} libfribidi0:i386{a}
libgcrypt20:i386{a} libgd3:i386{a} libgdk-pixbuf2.0-0:i386{a} libglib2.0-0:i386{a}
libgmp10:i386{a} libgnutls30:i386{a} libgomp1:i386{a} libgpg-error0:i386{a}
libgphoto2-6:i386{a} libgphoto2-port12:i386{a} libgraphite2-3:i386{a} libgsm1:i386{a}
libgstreamer-plugins-base1.0-0:i386{a} libgstreamer1.0-0:i386{a} libharfbuzz0b:i386{a}
libhogweed4:i386{a} libice6:i386{a} libicu63:i386{a} libidn2-0:i386{a}
libjack-jackd2-0:i386{a} libjbig0:i386{a} libjpeg62-turbo:i386{a} liblcms2-2:i386{a}
libldap-2.4-2:i386{a} libltdl7:i386{a} liblz4-1:i386{a} liblzma5:i386{a} libmount1:i386{a}
libmp3lame0:i386{a} libmpg123-0:i386{a} libncurses5{a} libncurses5:i386{a} libnettle6:i386{a}
libnuma1:i386{a} libogg0:i386{a} libopenal1:i386{a} libopenjp2-7:i386{a} libopus0:i386{a}
liborc-0.4-0:i386{a} libp11-kit0:i386{a} libpango-1.0-0:i386{a} libpangocairo-1.0-0:i386{a}
libpangoft2-1.0-0:i386{a} libpcre3:i386{a} libpixman-1-0:i386{a} libpng16-16:i386{a}
libpulse0:i386{a} librsvg2-2:i386{a} libsamplerate0:i386{a} libsasl2-2:i386{a}
libsasl2-modules-db:i386{a} libselinux1:i386{a} libshine3:i386{a} libsm6:i386{a}
libsnappy1v5:i386{a} libsndfile1:i386{a} libsndio7.0:i386{a} libsoxr0:i386{a}
libspeex1:i386{a} libstdc++6:i386{a} libswresample3:i386{ab} libsystemd0:i386{a}
libtasn1-6:i386{a} libthai0:i386{a} libtheora0:i386{a} libtiff5:i386{a} libtinfo5{a}
libtinfo5:i386{a} libtwolame0:i386{a} libudev1:i386{a} libunistring2:i386{a}
libusb-1.0-0:i386{a} libuuid1:i386{a} libva-drm2:i386{ab} libva-x11-2:i386{ab}
libva2:i386{ab} libvdpau1:i386{a} libvkd3d1{a} libvkd3d1:i386{a} libvorbis0a:i386{a}
libvorbisenc2:i386{a} libvpx5:i386{a} libvulkan1:i386{a} libwavpack1:i386{a} libwebp6:i386{a}
libwebpmux3:i386{a} libwrap0:i386{a} libx11-6:i386{a} libx11-xcb1:i386{a} libx264-155:i386{a}
libx265-165:i386{a} libxau6:i386{a} libxcb-render0:i386{a} libxcb-shm0:i386{a}
libxcb1:i386{a} libxdmcp6:i386{a} libxext6:i386{a} libxfixes3:i386{a} libxi6:i386{a}
libxml2:i386{a} libxpm4:i386{a} libxrender1:i386{a} libxtst6:i386{a} libxvidcore4:i386{a}
libzstd1:i386{a} libzvbi0:i386{a} ocl-icd-libopencl1:i386{a} wine-gecko2.47.1{a}
wine-gecko2.47.1:i386{a} wine-mono5.1.0{a} wine-staging{a} wine-staging-amd64{a}
wine-staging-i386:i386{a} winehq-staging zlib1g:i386{a}
The following packages will be REMOVED:
libcrystalhd3{u} liblua5.3-0{u} libxcb-cursor0{u} libxcb-xtest0{u} libxdg-basedir1{u}
linux-headers-4.19.0-13-amd64{u} linux-headers-4.19.0-13-common{u} lua-lgi{u}
The following packages are RECOMMENDED but will NOT be installed:
gstreamer1.0-plugins-base:i386 i965-va-driver:i386 i965-va-driver-shaders:i386
intel-media-va-driver:i386 intel-media-va-driver-non-free:i386 libcapi20-3 libcapi20-3:i386
libcups2:i386 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-bin:i386 libgnutlsxx28 libgnutlsxx28:i386
libgpg-error-l10n libgphoto2-l10n libgpm2:i386 libgtk-3-0:i386 libodbc1 libodbc1:i386
libosmesa6 libosmesa6:i386 libpcap0.8:i386 librsvg2-common:i386 libsane:i386
libsasl2-modules:i386 libv4l-0:i386 libvdpau-va-gl1:i386 libxcomposite1:i386 libxcursor1:i386
libxinerama1:i386 libxrandr2:i386 libxslt1.1:i386 libxt6:i386 libxxf86vm1:i386
mesa-va-drivers:i386 mesa-vdpau-drivers:i386 nvidia-legacy-340xx-vdpau-driver:i386
nvidia-legacy-390xx-vdpau-driver:i386 nvidia-tesla-vdpau-driver:i386 nvidia-vdpau-driver:i386
uuid-runtime uuid-runtime:i386 va-driver-all:i386 vdpau-driver-all:i386 vdpau-va-driver:i386
0 packages upgraded, 141 newly installed, 8 to remove and 0 not upgraded.
Need to get 288 MB of archives. After unpacking 777 MB will be used.
The following packages have unmet dependencies:
libswresample3 : Breaks: libswresample3:i386 (!= 7:4.3.1-2~mx19+2) but 7:4.1.6-1~mx19+2 is to be installed
libswresample3:i386 : Breaks: libswresample3 (!= 7:4.1.6-1~mx19+2) but 7:4.3.1-2~mx19+2 is installed
libva2 : Breaks: libva2:i386 (!= 2.6.1-1mx19+1) but 2.4.0-1 is to be installed
libva2:i386 : Breaks: libva2 (!= 2.4.0-1) but 2.6.1-1mx19+1 is installed
libavcodec58 : Breaks: libavcodec58:i386 (!= 7:4.3.1-2~mx19+2) but 7:4.1.6-1~mx19+2 is to be installed
libavcodec58:i386 : Breaks: libavcodec58 (!= 7:4.1.6-1~mx19+2) but 7:4.3.1-2~mx19+2 is installed
libavutil56 : Breaks: libavutil56:i386 (!= 7:4.3.1-2~mx19+2) but 7:4.1.6-1~mx19+2 is to be installed
libavutil56:i386 : Breaks: libavutil56 (!= 7:4.1.6-1~mx19+2) but 7:4.3.1-2~mx19+2 is installed
libva-x11-2 : Breaks: libva-x11-2:i386 (!= 2.6.1-1mx19+1) but 2.4.0-1 is to be installed
libva-x11-2:i386 : Breaks: libva-x11-2 (!= 2.4.0-1) but 2.6.1-1mx19+1 is installed
libva-drm2 : Breaks: libva-drm2:i386 (!= 2.6.1-1mx19+1) but 2.4.0-1 is to be installed
libva-drm2:i386 : Breaks: libva-drm2 (!= 2.4.0-1) but 2.6.1-1mx19+1 is installed
libavresample4 : Breaks: libavresample4:i386 (!= 7:4.3.1-2~mx19+2) but 7:4.1.6-1~mx19+2 is to be installed
libavresample4:i386 : Breaks: libavresample4 (!= 7:4.1.6-1~mx19+2) but 7:4.3.1-2~mx19+2 is installed
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) libasound2-plugins:i386 [Not Installed]
2) libavcodec58:i386 [Not Installed]
3) libavresample4:i386 [Not Installed]
4) libavutil56:i386 [Not Installed]
5) libswresample3:i386 [Not Installed]
6) libva-drm2:i386 [Not Installed]
7) libva-x11-2:i386 [Not Installed]
8) libva2:i386 [Not Installed]
9) wine-staging [Not Installed]
10) wine-staging-i386:i386 [Not Installed]
11) winehq-staging [Not Installed]
Accept this solution? [Y/n/q/?]
One possibility is that you installed libva packages from the test repo at some time and now the 32-bit packages would need to come from there too to stay compatibleJayM wrote: Thu Apr 01, 2021 7:14 am libva2 : Breaks: libva2:i386 (!= 2.6.1-1mx19+1) but 2.4.0-1 is to be installed
Nope, not even close, was in the works long before your post, enjoy Manjaro though its a good Distro.Codythdragonrude @codythedragonrude@linuxrocks.online
lol mxlinux dropping a 19.4 iso probably to fix that issue that's totally my problem LOL
Iol... you know what... nvm... it ain't even worth it for someone like thisCodythdragonrude @codythedragonrude@linuxrocks.online
the mx linux forum was pretty useless
they kept suggesting things that did not work and saying it's not a them but rather a me problem even though they are the ones who decided to have a custom repo wine installer which also breaks the repo by just doing it from the winehq site
mxlinux is a MessX https://linuxrocks.online/@codythedrag
Code: Select all
apt-history libva2
Code: Select all
sudo apt install $(echo $(aptitude search '?source-package(^ffmpeg$) ?installed' -F %p | sed -n s/$/=$(apt-cache policy ffmpeg | grep -m1 ' 500' | awk '{print $(NF-1)}')/gp && aptitude search '?source-package(^libva$) ?installed' -F %p | sed -n s/$/=$(apt-cache policy libva2 | grep -m1 '500' | awk '{print $(NF-1)}')/gp))
Code: Select all
echo -e "Package: $(echo $(aptitude search '?source-package(^libva$)' '?source-package(^ffmpeg$)' -F %p))\nPin: release a=mx,c=test\nPin-Priority:500" | sudo tee /etc/apt/preferences.d/pin_ffmpeg_libva
Code: Select all
sudo apt update && sudo apt install winehq-staging
I get what you are saying, but several weeks ago I was able to reproduce the same issue on AHS in our pre-release testing as well.tony37 wrote: Fri Apr 02, 2021 4:38 pm The problem is not so difficult to reproduce: you start with a non-ahs iso (19.3 or 19.4 doesn't matter), then you go to MXPI > Test repo and upgrade (for example) libavcodec58. And then you try to install the default wine version.
Or more realistic example: install Kodi 19 from the test repo, and try installing Wine after that. Or: first install Blender from test repo... (or Streamlink, you get the point, anything that needs updated ffmpeg libraries, or that simply wants to install the ffmpeg package)
Code: Select all
$ apt-history libva2
2021-01-29 14:11:43 upgrade libva2:amd64 2.4.0-1 2.6.1-1mx19+1
Ok, and what else did you install/upgrade that time?JayM wrote: Fri Apr 02, 2021 7:53 pmCode: Select all
$ apt-history libva2 2021-01-29 14:11:43 upgrade libva2:amd64 2.4.0-1 2.6.1-1mx19+1
Code: Select all
apt-history 2021-01-29
See attachment.tony37 wrote: Fri Apr 02, 2021 7:59 pmOk, and what else did you install/upgrade that time?JayM wrote: Fri Apr 02, 2021 7:53 pmCode: Select all
$ apt-history libva2 2021-01-29 14:11:43 upgrade libva2:amd64 2.4.0-1 2.6.1-1mx19+1
Code: Select all
apt-history 2021-01-29
I couldn't help myself and tried to write a script for this. It may still be a bit amateurish, but it worked when I tested it. (update: I improved a few things and think it should be fine)tony37 wrote: Fri Apr 02, 2021 7:18 pm The main problem is just that once the ffmpeg packages come from test, then the 32-bit versions (needed for wine) need to come from there as well. So how to solve this? Maybe doing a preinstall check which version is installed, and installing some packages from the test repo if needed? Could become complicated
Code: Select all
#!/bin/bash
# this list can be generated with: echo $(aptitude search '?source-package(^ffmpeg$)' -F %p)
ffmpeg_list="ffmpeg ffmpeg:i386 ffmpeg-doc libavcodec-dev libavcodec-dev:i386 libavcodec-extra libavcodec-extra:i386 libavcodec-extra58 libavcodec-extra58:i386 libavcodec58 libavcodec58:i386 libavdevice-dev libavdevice-dev:i386 libavdevice58 libavdevice58:i386 libavfilter-dev libavfilter-dev:i386 libavfilter-extra libavfilter-extra:i386 libavfilter-extra7 libavfilter-extra7:i386 libavfilter7 libavfilter7:i386 libavformat-dev libavformat-dev:i386 libavformat58 libavformat58:i386 libavresample-dev libavresample-dev:i386 libavresample4 libavresample4:i386 libavutil-dev libavutil-dev:i386 libavutil56 libavutil56:i386 libpostproc-dev libpostproc-dev:i386 libpostproc55 libpostproc55:i386 libswresample-dev libswresample-dev:i386 libswresample3 libswresample3:i386 libswscale-dev libswscale-dev:i386 libswscale5 libswscale5:i386"
# this list can be generated with: echo $(aptitude search '?source-package(^libva$)' -F %p)
libva_list="libva-dev libva-dev:i386 libva-drm2 libva-drm2:i386 libva-glx2 libva-glx2:i386 libva-wayland2 libva-wayland2:i386 libva-x11-2 libva-x11-2:i386 libva2 libva2:i386 va-driver-all va-driver-all:i386"
if [[ -n $(grep 'Package: libavutil56' /var/lib/dpkg/status) ]]; then
if [[ -n $(apt-cache policy libavutil56 | grep -m1 '/var/lib/dpkg/status\| 500 ' | grep status) ]]; then
echo -e "Package: $ffmpeg_list\nPin: release a=mx,c=test\nPin-Priority:500\n" >> /etc/apt/preferences.d/tmp_wine_preferences
fi
fi
if [[ -n $(grep 'Package: libva2' /var/lib/dpkg/status) ]]; then
if [[ -n $(apt-cache policy libva2 | grep -m1 '/var/lib/dpkg/status\| 500 ' | grep status) ]]; then
echo -e "Package: $libva_list\nPin: release a=mx,c=test\nPin-Priority:500\n" >> /etc/apt/preferences.d/tmp_wine_preferences
fi
fi
if [ -e /etc/apt/preferences.d/tmp_wine_preferences ]
then echo "deb http://mxrepo.com/mx/testrepo/ buster test">/etc/apt/sources.list.d/mxpitemp.list && apt-get update
fi
Code: Select all
rm -f /etc/apt/sources.list.d/mxpitemp.list /etc/apt/preferences.d/tmp_wine_preferences