lutris / agora

Public discussion space for the community
11 stars 0 forks source link

Prevent installing games with missing 32-bit dependencies #54

Open lofidevops opened 5 years ago

lofidevops commented 5 years ago

Describe the bug

My system (PureOS, based on Debian) does not support 32-bit dependencies. In other words, it is impossible for me to sudo dpkg --add-architecture i386 and thus sudo apt wine-staging fails. However, I can still install games that have these 32-bit dependencies, only to discover they don't work.

Expected behavior

In order of preference:

Current behavior

There is a single warning at launch (of Lutris) that dependencies are missing.

Steps to reproduce

Lutris debugging output

(None of this appeared in the interface.)

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"
2019-06-09 17:21:42,353: Creating a win64 prefix in /home/user/Games/arcanum
2019-06-09 17:21:47,295: win64 Prefix created in /home/user/Games/arcanum
2019-06-09 17:21:47,323: wine32 is missing from system
Running /usr/bin/wine /home/user/.cache/lutris/installer/arcanum/gog/setup_arcanum_-_of_steamworks_and_magick_obscura_1.0.7.4_hotfix_(24155).exe None
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"
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"
wine: Bad EXE format for Z:\home\user\.cache\lutris\installer\arcanum\gog\setup_arcanum_-_of_steamworks_and_magick_obscura_1.0.7.4_hotfix_(24155).exe.
Waiting on children
Waiting on children

System information

FYI you will see various other restrictions here, such as strictly libre drivers. PureOS does not include any non-free dependencies.

{
  "comment": "Not warned that game will not run.",
  "system": {
    "gpus": [
      {
        "DRIVER": "i915",
        "PCI_ID": "8086:1916",
        "PCI_SUBSYS_ID": "8086:2015",
        "PCI_CLASS": "30000",
        "PCI_SLOT_NAME": "0000:00:02.0",
        "MODALIAS": "pci:v00008086d00001916sv00008086sd00002015bc03sc00i00"
      }
    ],
    "env": {
      "COLORTERM": "truecolor",
      "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus",
      "DESKTOP_SESSION": "gnome",
      "DISPLAY": ":0",
      "GDK_BACKEND": "x11",
      "GDMSESSION": "gnome",
      "GDM_LANG": "en_US.UTF-8",
      "GIO_LAUNCHED_DESKTOP_FILE": "/etc/xdg/autostart/org.gnome.SettingsDaemon.MediaKeys.desktop",
      "GIO_LAUNCHED_DESKTOP_FILE_PID": "7865",
      "GNOME_DESKTOP_SESSION_ID": "this-is-deprecated",
      "GTK_MODULES": "gail:atk-bridge",
      "HOME": "/home/user",
      "LANG": "en_US.UTF-8",
      "LC_ADDRESS": "en_US.UTF-8",
      "LC_IDENTIFICATION": "en_US.UTF-8",
      "LC_MEASUREMENT": "en_US.UTF-8",
      "LC_MONETARY": "en_US.UTF-8",
      "LC_NAME": "en_US.UTF-8",
      "LC_NUMERIC": "en_US.UTF-8",
      "LC_PAPER": "en_US.UTF-8",
      "LC_TELEPHONE": "en_US.UTF-8",
      "LC_TIME": "en_US.UTF-8",
      "LOGNAME": "user",
      "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:",
      "PATH": "/home/user/.rbenv/shims:/home/user/.local/bin:/home/user/Documents/local_scripts:/usr/local/bin:/usr/bin:/bin:/usr/games",
      "PWD": "/home/user",
      "QT_ACCESSIBILITY": "1",
      "QT_IM_MODULE": "ibus",
      "RBENV_SHELL": "fish",
      "SESSION_MANAGER": "local/librem15v3:@/tmp/.ICE-unix/2330,unix/librem15v3:/tmp/.ICE-unix/2330",
      "SHELL": "/usr/bin/fish",
      "SHLVL": "2",
      "SSH_AUTH_SOCK": "/run/user/1000/keyring/ssh",
      "TERM": "xterm-256color",
      "TILIX_ID": "447add17-1d43-49bd-b660-7d94c770da1d",
      "USER": "user",
      "USERNAME": "user",
      "VTE_VERSION": "5402",
      "WAYLAND_DISPLAY": "wayland-0",
      "XDG_CURRENT_DESKTOP": "GNOME",
      "XDG_DATA_DIRS": "/home/user/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/",
      "XDG_MENU_PREFIX": "gnome-",
      "XDG_RUNTIME_DIR": "/run/user/1000",
      "XDG_SEAT": "seat0",
      "XDG_SESSION_CLASS": "user",
      "XDG_SESSION_DESKTOP": "gnome",
      "XDG_SESSION_ID": "1",
      "XDG_SESSION_TYPE": "wayland",
      "XDG_VTNR": "2",
      "XMODIFIERS": "@im=ibus"
    },
    "missing_libs": {
      "OPENGL": [
        [
          "libGL.so.1"
        ],
        []
      ],
      "VULKAN": [
        [
          "libvulkan.so.1"
        ],
        []
      ],
      "WINE": [
        [
          "libsqlite3.so.0"
        ],
        []
      ],
      "GAMEMODE": [
        [
          "libgamemodeauto.so"
        ],
        [
          "libgamemodeauto.so"
        ]
      ]
    },
    "cpus": [
      {
        "processor": "0",
        "vendor_id": "GenuineIntel",
        "cpu family": "6",
        "model": "78",
        "model name": "Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz",
        "stepping": "3",
        "microcode": "0xba",
        "cpu MHz": "500.003",
        "cache size": "4096 KB",
        "physical id": "0",
        "siblings": "4",
        "core id": "0",
        "cpu cores": "2",
        "apicid": "0",
        "initial apicid": "0",
        "fpu": "yes",
        "fpu_exception": "yes",
        "cpuid level": "22",
        "wp": "yes",
        "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp",
        "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds",
        "bogomips": "4992.00",
        "clflush size": "64",
        "cache_alignment": "64",
        "address sizes": "39 bits physical, 48 bits virtual",
        "power management": ""
      },
      {
        "processor": "1",
        "vendor_id": "GenuineIntel",
        "cpu family": "6",
        "model": "78",
        "model name": "Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz",
        "stepping": "3",
        "microcode": "0xba",
        "cpu MHz": "500.004",
        "cache size": "4096 KB",
        "physical id": "0",
        "siblings": "4",
        "core id": "0",
        "cpu cores": "2",
        "apicid": "1",
        "initial apicid": "1",
        "fpu": "yes",
        "fpu_exception": "yes",
        "cpuid level": "22",
        "wp": "yes",
        "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp",
        "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds",
        "bogomips": "4992.00",
        "clflush size": "64",
        "cache_alignment": "64",
        "address sizes": "39 bits physical, 48 bits virtual",
        "power management": ""
      },
      {
        "processor": "2",
        "vendor_id": "GenuineIntel",
        "cpu family": "6",
        "model": "78",
        "model name": "Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz",
        "stepping": "3",
        "microcode": "0xba",
        "cpu MHz": "500.022",
        "cache size": "4096 KB",
        "physical id": "0",
        "siblings": "4",
        "core id": "1",
        "cpu cores": "2",
        "apicid": "3",
        "initial apicid": "3",
        "fpu": "yes",
        "fpu_exception": "yes",
        "cpuid level": "22",
        "wp": "yes",
        "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp",
        "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds",
        "bogomips": "4992.00",
        "clflush size": "64",
        "cache_alignment": "64",
        "address sizes": "39 bits physical, 48 bits virtual",
        "power management": ""
      },
      {
        "processor": "3",
        "vendor_id": "GenuineIntel",
        "cpu family": "6",
        "model": "78",
        "model name": "Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz",
        "stepping": "3",
        "microcode": "0xba",
        "cpu MHz": "500.024",
        "cache size": "4096 KB",
        "physical id": "0",
        "siblings": "4",
        "core id": "1",
        "cpu cores": "2",
        "apicid": "2",
        "initial apicid": "2",
        "fpu": "yes",
        "fpu_exception": "yes",
        "cpuid level": "22",
        "wp": "yes",
        "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp",
        "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds",
        "bogomips": "4992.00",
        "clflush size": "64",
        "cache_alignment": "64",
        "address sizes": "39 bits physical, 48 bits virtual",
        "power management": ""
      }
    ],
    "drives": [
      {
        "name": "sda",
        "fstype": null,
        "label": null,
        "uuid": null,
        "fsavail": null,
        "fsuse%": null,
        "mountpoint": null,
        "children": [
          {
            "name": "sda1",
            "fstype": "ext4",
            "label": null,
            "uuid": "311c5596-b28d-4491-83d6-7904149061db",
            "fsavail": null,
            "fsuse%": null,
            "mountpoint": null
          }
        ]
      },
      {
        "name": "nvme0n1",
        "fstype": null,
        "label": null,
        "uuid": null,
        "fsavail": null,
        "fsuse%": null,
        "mountpoint": null,
        "children": [
          {
            "name": "nvme0n1p1",
            "fstype": "ext4",
            "label": null,
            "uuid": "ad6c6f17-3637-44b3-b874-4607cf4c4d6d",
            "fsavail": "913.6M",
            "fsuse%": "10%",
            "mountpoint": "/boot"
          },
          {
            "name": "nvme0n1p2",
            "fstype": "crypto_LUKS",
            "label": null,
            "uuid": "e116b94d-5b31-4e17-9688-5d87d588f770",
            "fsavail": null,
            "fsuse%": null,
            "mountpoint": null,
            "children": [
              {
                "name": "luks-e116b94d-5b31-4e17-9688-5d87d588f770",
                "fstype": "ext4",
                "label": null,
                "uuid": "05783c74-9716-48de-b04f-a62a300356ef",
                "fsavail": "365G",
                "fsuse%": "12%",
                "mountpoint": "/"
              }
            ]
          },
          {
            "name": "nvme0n1p3",
            "fstype": null,
            "label": null,
            "uuid": null,
            "fsavail": null,
            "fsuse%": null,
            "mountpoint": null,
            "children": [
              {
                "name": "luks-192b9ccc-11ee-46ef-a560-cd229c22a3ac",
                "fstype": "swap",
                "label": null,
                "uuid": "de8a5654-7ad3-40d3-a882-c082187cfbce",
                "fsavail": null,
                "fsuse%": null,
                "mountpoint": "[SWAP]"
              }
            ]
          }
        ]
      }
    ],
    "ram": {
      "mem": {
        "total": "16324464",
        "used": "7061936",
        "free": "213584",
        "shared": "756800",
        "buff/cache": "9048944",
        "available": "8180728"
      },
      "swap": {
        "total": "17959116",
        "used": "43776",
        "free": "17915340"
      }
    },
    "dist": [
      "PureOS",
      "8",
      "green"
    ],
    "glxinfo": {
      "screen": "0",
      "opengl_shading_language_version": "1.30",
      "direct_rendering": "Yes",
      "opengl_renderer": "Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)",
      "opengl_version": "3.0 Mesa 18.3.6",
      "opengl_core_profile_version": "4.5 (Core Profile) Mesa 18.3.6",
      "opengl_core_profile_profile_mask": "core profile",
      "opengl_core_profile_shading_language_version": "4.50",
      "display": ":0",
      "opengl_es_profile_version": "OpenGL ES 3.2 Mesa 18.3.6",
      "opengl_vendor": "Intel Open Source Technology Center",
      "opengl_es_profile_shading_language_version": "OpenGL ES GLSL ES 3.20",
      "opengl_context_flags": "(none)",
      "opengl_core_profile_context_flags": "(none)",
      "name_of_display": ":0"
    }
  }
}

Screenshots

N/A