A couple of months ago I reinstalled Zorin OS and since then steam stopped working for me. Before the reset it worked fine. Installing from the Software app and choosing the package that's for Zorin OS (I mean it says Zorin OS under the install button) it throws a error:
The following packages have unmet dependencies:
lbgl1-mesa-dri: libelf1 (>=0.142) but it is not going to be installed
Recommends: libgl1-amber-dri but is not installable
I've tried the installer from steam's official website, but nothing.
I'm using a Dell Latitude 5400 with Zorin OS 17.3 Core and everything is up to date.
apt search libelf1
Sorting... Done
Full Text Search... Done
libelf-dev/jammy-updates,jammy-security,now 0.186-1ubuntu0.1 amd64 [installed]
libelf1 development libraries and header files
libelf1/jammy-updates,jammy-security,now 0.186-1ubuntu0.1 amd64 [installed]
library to read and write ELF files
Sorting... Done
Full Text Search... Done
libelf-dev/jammy-updates,jammy-security,jammy-updates 0.186-1ubuntu0.1 amd64
libelf1 development libraries and header files
libelf1/jammy-updates,jammy-security,jammy-updates 0.186-1ubuntu0.1 i386
library to read and write ELF files
# deb cdrom:[Zorin-OS 17.2 Core 64bit]/ jammy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu jammy main restricted
# deb-src http://ua.archive.ubuntu.com/ubuntu/ jammy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ua.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
# deb-src http://ua.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu jammy universe
# deb-src http://ua.archive.ubuntu.com/ubuntu/ jammy universe
deb http://ua.archive.ubuntu.com/ubuntu/ jammy-updates universe
# deb-src http://ua.archive.ubuntu.com/ubuntu/ jammy-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu jammy multiverse
# deb-src http://ua.archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://ua.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
# deb-src http://ua.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ua.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
# deb-src http://ua.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu jammy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted
deb http://security.ubuntu.com/ubuntu jammy-security universe
# deb-src http://security.ubuntu.com/ubuntu jammy-security universe
deb http://security.ubuntu.com/ubuntu jammy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu jammy-security multiverse
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
deb http://archive.ubuntu.com/ubuntu jammy-updates universe main restricted multiverse
deb http://archive.ubuntu.com/ubuntu jammy-backports universe main restricted multiverse
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mesa-libgallium:i386 : Depends: libelf1:i386 (>= 0.142) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ii gcc-12-base:i386 12.3.0-1ubuntu1~22.04 i386 GCC, the GNU Compiler Collection (base package)
ii libc6:i386 2.35-0ubuntu3.10 i386 GNU C Library: Shared libraries
ii libc6-i386 2.35-0ubuntu3.10 amd64 GNU C Library: 32-bit shared libraries for AMD64
ii libcap2:i386 1:2.44-1ubuntu0.22.04.2 i386 POSIX 1003.1e capabilities (library)
ii libcom-err2:i386 1.46.5-2ubuntu1.2 i386 common error description library
ii libcrypt1:i386 1:4.4.27-1 i386 libcrypt shared library
ii libdbus-1-3:i386 1.12.20-2ubuntu4.1 i386 simple interprocess messaging system (library)
ii libgamemode0:i386 1.6.1-1build2 i386 Optimise Linux system performance on demand (host library)
ii libgamemodeauto0:i386 1.6.1-1build2 i386 Optimise Linux system performance on demand (client library)
ii libgcc-s1:i386 12.3.0-1ubuntu1~22.04 i386 GCC support library
ii libgcrypt20:i386 1.9.4-3ubuntu3 i386 LGPL Crypto library - runtime library
ii libgpg-error0:i386 1.43-3 i386 GnuPG development runtime library
ii libgssapi-krb5-2:i386 1.19.2-2ubuntu0.7 i386 MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
ii libidn2-0:i386 2.3.2-2build1 i386 Internationalized domain names (IDNA2008/TR46) library
ii libk5crypto3:i386 1.19.2-2ubuntu0.7 i386 MIT Kerberos runtime libraries - Crypto Library
ii libkeyutils1:i386 1.6.1-2ubuntu3 i386 Linux Key Management Utilities (library)
ii libkrb5-3:i386 1.19.2-2ubuntu0.7 i386 MIT Kerberos runtime libraries
ii libkrb5support0:i386 1.19.2-2ubuntu0.7 i386 MIT Kerberos runtime libraries - Support library
ii liblz4-1:i386 1.9.3-2build2 i386 Fast LZ compression algorithm library - runtime
ii liblzma5:i386 5.2.5-2ubuntu1 i386 XZ-format compression library
ii libnsl2:i386 1.3.0-2build2 i386 Public client interface for NIS(YP) and NIS+
ii libnss-nis:i386 3.1-0ubuntu6 i386 NSS module for using NIS as a naming service
ii libnss-nisplus:i386 1.3-0ubuntu6 i386 NSS module for using NIS+ as a naming service
ii libssl3:i386 3.0.2-0ubuntu1.19 i386 Secure Sockets Layer toolkit - shared libraries
ii libsystemd0:i386 249.11-0ubuntu3.16 i386 systemd utility library
ii libtirpc3:i386 1.3.2-2ubuntu0.1 i386 transport-independent RPC library
ii libunistring2:i386 1.0-1 i386 Unicode string library for C
ii libzstd1:i386 1.4.8+dfsg-3build1 i386 fast lossless compression algorithm
This shows that your system has been installed as 32 bit. THe most common cause of this is a user installing Wine and it claiming it needs wine32 - which if installed, sets the system packages all to 32 bit, too.
I am sorry to suggest this but...
I recommend another clean Reinstall.
This time, however, let's install steam and other things you need first, then install Wine - if you need it, without rolling your entire system to 32bit.
You can restore to 64 bit without reinstalling - but it can be tricky and dangerous - which you can tell by the long listed output of i386 packages, including critical libc6
Thanks for the help! I think I will just reinstall Zorin OS. That's the most stable option. Also I searched for possible reasons why my system could be 32 bit and I think when I followed this tutorial on how to install forge, a command changed it.
I just installed Steam from the software store, which is a flatpack of course. Then I used Flatseal to give permissions to Steam, to utilize external drives. Since computers have been 64-bit since 2005, there was 0-reason for me to install 32-bit libraries.
I concur with the decision to reinstall Zorin OS. You will now be more careful on what you install from now on. I think after the reinstall, you'll be all set.