Docker installation issues on CentOS 7.1 - docker

I was trying to install docker with these instructions:
https://docs.docker.com/engine/installation/linux/centos/
It went well without any error, just one warning. But nothing seems to be get installed. I tried it a few times with different approaches on two different machines. Result was the same. It did not install.
Here is the console output:
[root#myhostname ~]# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
[root#myhostname ~]# uname -r
3.10.0-229.el7.x86_64
[root#myhostname ~]# cat /etc/yum.repos.d/docker.repo
[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
[root#myhostname ~]# sudo yum install docker-engine
Loaded plugins: fastestmirror, langpacks, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
dockerrepo | 2.9 kB 00:00:00
dockerrepo/7/primary_db | 11 kB 00:00:00
Loading mirror speeds from cached hostfile
apel-7-x86_64 | 1.0 kB 00:00:00
epel-7-x86_64 | 1.5 kB 00:00:00
ipel-7-x86_64 | 1.0 kB 00:00:00
spacewalk-client-el7-x86_64 | 1.2 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package docker-engine.x86_64 0:1.10.1-1.el7.centos will be installed
--> Processing Dependency: docker-engine-selinux >= %{epoch}:1.10.1-1.el7.centos for package: docker-engine-1.10.1-1.el7.centos.x86_64
--> Processing Dependency: libdevmapper.so.1.02(DM_1_02_97)(64bit) for package: docker-engine-1.10.1-1.el7.centos.x86_64
--> Processing Dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit) for package: docker-engine-1.10.1-1.el7.centos.x86_64
--> Processing Dependency: libsystemd.so.0()(64bit) for package: docker-engine-1.10.1-1.el7.centos.x86_64
--> Running transaction check
---> Package device-mapper-libs.x86_64 7:1.02.93-3.el7_1.1 will be updated
--> Processing Dependency: device-mapper-libs = 7:1.02.93-3.el7_1.1 for package: 7:device-mapper-1.02.93-3.el7_1.1.x86_64
---> Package device-mapper-libs.x86_64 7:1.02.107-5.el7_2.1 will be an update
---> Package docker-engine-selinux.noarch 0:1.10.1-1.el7.centos will be installed
---> Package systemd-libs.x86_64 0:208-20.el7_1.6 will be updated
--> Processing Dependency: systemd-libs = 208-20.el7_1.6 for package: systemd-208-20.el7_1.6.x86_64
---> Package systemd-libs.x86_64 0:219-19.el7_2.4 will be an update
--> Running transaction check
---> Package device-mapper.x86_64 7:1.02.93-3.el7_1.1 will be updated
--> Processing Dependency: device-mapper = 7:1.02.93-3.el7_1.1 for package: 7:device-mapper-event-1.02.93-3.el7_1.1.x86_64
---> Package device-mapper.x86_64 7:1.02.107-5.el7_2.1 will be an update
---> Package systemd.x86_64 0:208-20.el7_1.6 will be updated
--> Processing Dependency: systemd = 208-20.el7_1.6 for package: systemd-sysv-208-20.el7_1.6.x86_64
--> Processing Dependency: systemd = 208-20.el7_1.6 for package: systemd-python-208-20.el7_1.6.x86_64
--> Processing Dependency: systemd = 208-20.el7_1.6 for package: libgudev1-208-20.el7_1.6.x86_64
---> Package systemd.x86_64 0:219-19.el7_2.4 will be an update
--> Processing Dependency: kmod >= 18-4 for package: systemd-219-19.el7_2.4.x86_64
--> Running transaction check
---> Package device-mapper-event.x86_64 7:1.02.93-3.el7_1.1 will be updated
--> Processing Dependency: device-mapper-event = 7:1.02.93-3.el7_1.1 for package: 7:lvm2-libs-2.02.115-3.el7_1.1.x86_64
---> Package device-mapper-event.x86_64 7:1.02.107-5.el7_2.1 will be an update
--> Processing Dependency: device-mapper-event-libs = 7:1.02.107-5.el7_2.1 for package: 7:device-mapper-event-1.02.107-5.el7_2.1.x86_64
---> Package kmod.x86_64 0:14-10.el7 will be updated
---> Package kmod.x86_64 0:20-5.el7 will be an update
---> Package libgudev1.x86_64 0:208-20.el7_1.6 will be updated
---> Package libgudev1.x86_64 0:219-19.el7_2.4 will be an update
---> Package systemd-python.x86_64 0:208-20.el7_1.6 will be updated
---> Package systemd-python.x86_64 0:219-19.el7_2.4 will be an update
---> Package systemd-sysv.x86_64 0:208-20.el7_1.6 will be updated
---> Package systemd-sysv.x86_64 0:219-19.el7_2.4 will be an update
--> Running transaction check
---> Package device-mapper-event-libs.x86_64 7:1.02.93-3.el7_1.1 will be updated
---> Package device-mapper-event-libs.x86_64 7:1.02.107-5.el7_2.1 will be an update
---> Package lvm2-libs.x86_64 7:2.02.115-3.el7_1.1 will be updated
--> Processing Dependency: lvm2-libs = 7:2.02.115-3.el7_1.1 for package: 7:lvm2-2.02.115-3.el7_1.1.x86_64
---> Package lvm2-libs.x86_64 7:2.02.130-5.el7_2.1 will be an update
--> Running transaction check
---> Package lvm2.x86_64 7:2.02.115-3.el7_1.1 will be updated
---> Package lvm2.x86_64 7:2.02.130-5.el7_2.1 will be an update
--> Processing Dependency: device-mapper-persistent-data >= 0.5.5-1 for package: 7:lvm2-2.02.130-5.el7_2.1.x86_64
--> Running transaction check
---> Package device-mapper-persistent-data.x86_64 0:0.4.1-2.el7 will be updated
---> Package device-mapper-persistent-data.x86_64 0:0.5.5-1.el7 will be an update
--> Processing Conflict: systemd-219-19.el7_2.4.x86_64 conflicts initscripts < 9.49.28-1
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package initscripts.x86_64 0:9.49.24-1.el7 will be updated
---> Package initscripts.x86_64 0:9.49.30-1.el7 will be an update
--> Processing Conflict: systemd-219-19.el7_2.4.x86_64 conflicts dracut < 033-243
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package dracut.x86_64 0:033-241.el7_1.5 will be updated
--> Processing Dependency: dracut = 033-241.el7_1.5 for package: dracut-config-rescue-033-241.el7_1.5.x86_64
--> Processing Dependency: dracut = 033-241.el7_1.5 for package: dracut-network-033-241.el7_1.5.x86_64
---> Package dracut.x86_64 0:033-360.el7_2 will be an update
--> Running transaction check
---> Package dracut-config-rescue.x86_64 0:033-241.el7_1.5 will be updated
---> Package dracut-config-rescue.x86_64 0:033-360.el7_2 will be an update
---> Package dracut-network.x86_64 0:033-241.el7_1.5 will be updated
---> Package dracut-network.x86_64 0:033-360.el7_2 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
docker-engine x86_64 1.10.1-1.el7.centos apel-7-x86_64 9.6 M
Updating:
dracut x86_64 033-360.el7_2 centos-7-updates-x86_64 311 k
initscripts x86_64 9.49.30-1.el7 centos-7-base-x86_64 429 k
Installing for dependencies:
docker-engine-selinux noarch 1.10.1-1.el7.centos apel-7-x86_64 28 k
Updating for dependencies:
device-mapper x86_64 7:1.02.107-5.el7_2.1 centos-7-updates-x86_64 252 k
device-mapper-event x86_64 7:1.02.107-5.el7_2.1 centos-7-updates-x86_64 167 k
device-mapper-event-libs x86_64 7:1.02.107-5.el7_2.1 centos-7-updates-x86_64 169 k
device-mapper-libs x86_64 7:1.02.107-5.el7_2.1 centos-7-updates-x86_64 304 k
device-mapper-persistent-data x86_64 0.5.5-1.el7 centos-7-base-x86_64 350 k
dracut-config-rescue x86_64 033-360.el7_2 centos-7-updates-x86_64 49 k
dracut-network x86_64 033-360.el7_2 centos-7-updates-x86_64 90 k
kmod x86_64 20-5.el7 centos-7-base-x86_64 114 k
libgudev1 x86_64 219-19.el7_2.4 centos-7-updates-x86_64 65 k
lvm2 x86_64 7:2.02.130-5.el7_2.1 centos-7-updates-x86_64 1.0 M
lvm2-libs x86_64 7:2.02.130-5.el7_2.1 centos-7-updates-x86_64 872 k
systemd x86_64 219-19.el7_2.4 centos-7-updates-x86_64 5.1 M
systemd-libs x86_64 219-19.el7_2.4 centos-7-updates-x86_64 357 k
systemd-python x86_64 219-19.el7_2.4 centos-7-updates-x86_64 98 k
systemd-sysv x86_64 219-19.el7_2.4 centos-7-updates-x86_64 52 k
Transaction Summary
====================================================================================================================================
Install 1 Package (+ 1 Dependent package)
Upgrade 2 Packages (+15 Dependent packages)
Total download size: 19 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for centos-7-updates-x86_64
No Presto metadata available for centos-7-base-x86_64
(1/19): device-mapper-1.02.107-5.el7_2.1.x86_64.rpm | 252 kB 00:00:00
(2/19): device-mapper-event-1.02.107-5.el7_2.1.x86_64.rpm | 167 kB 00:00:00
(3/19): device-mapper-event-libs-1.02.107-5.el7_2.1.x86_64.rpm | 169 kB 00:00:00
(4/19): device-mapper-libs-1.02.107-5.el7_2.1.x86_64.rpm | 304 kB 00:00:00
(5/19): device-mapper-persistent-data-0.5.5-1.el7.x86_64.rpm | 350 kB 00:00:00
warning: /var/cache/yum/x86_64/7/apel-7-x86_64/packages/docker-engine-1.10.1-1.el7.centos.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 2c52609d: NOKEY
Public key for docker-engine-1.10.1-1.el7.centos.x86_64.rpm is not installed
(6/19): docker-engine-1.10.1-1.el7.centos.x86_64.rpm | 9.6 MB 00:00:01
(7/19): docker-engine-selinux-1.10.1-1.el7.centos.noarch.rpm | 28 kB 00:00:00
(8/19): dracut-033-360.el7_2.x86_64.rpm | 311 kB 00:00:00
(9/19): dracut-config-rescue-033-360.el7_2.x86_64.rpm | 49 kB 00:00:00
(10/19): dracut-network-033-360.el7_2.x86_64.rpm | 90 kB 00:00:00
(11/19): initscripts-9.49.30-1.el7.x86_64.rpm | 429 kB 00:00:00
(12/19): kmod-20-5.el7.x86_64.rpm | 114 kB 00:00:00
(13/19): libgudev1-219-19.el7_2.4.x86_64.rpm | 65 kB 00:00:00
(14/19): lvm2-2.02.130-5.el7_2.1.x86_64.rpm | 1.0 MB 00:00:00
(15/19): lvm2-libs-2.02.130-5.el7_2.1.x86_64.rpm | 872 kB 00:00:00
(16/19): systemd-219-19.el7_2.4.x86_64.rpm | 5.1 MB 00:00:01
(17/19): systemd-libs-219-19.el7_2.4.x86_64.rpm | 357 kB 00:00:00
(18/19): systemd-python-219-19.el7_2.4.x86_64.rpm | 98 kB 00:00:00
(19/19): systemd-sysv-219-19.el7_2.4.x86_64.rpm | 52 kB 00:00:00
------------------------------------------------------------------------------------------------------------------------------------
Total 1.5 MB/s | 19 MB 00:00:13
Public key for docker-engine-selinux-1.10.1-1.el7.centos.noarch.rpm is not installed
[root#myhostname ~]# sudo service docker start
Redirecting to /bin/systemctl start docker.service
Failed to issue method call: Unit docker.service failed to load: No such file or directory.
INDEED:
[root#myhostname tmp]# ls /etc/systemd/system/docker.service
ls: cannot access /etc/systemd/system/docker.service: No such file or directory

I faced the similar issue and for me "rpm --import https://yum.dockerproject.org/gpg" didn;t work.
"yum clean all" worked for me. Looks like there was something wrong with the cache. After clean up it worked fine.

Related

osx homebrew elasticsearch service Bootstrap failed: 5: Input/output error

This is running on an OSX M1 laptop, and if I try to run the elastic by typing elasticsearch it works just fine. So far it appears it is only the services.
Anyone run into this and know how to fix? I have been at this for hours now.
Warning: Calling plist_options is deprecated! Use service.require_root instead.
Please report this issue to the elastic/tap tap (not Homebrew/brew or Homebrew/homebrew-core), or even better, submit a PR to fix it:
/opt/homebrew/Library/Taps/elastic/homebrew-tap/Formula/elasticsearch-full.rb:68
Bootstrap failed: 5: Input/output error
Try re-running the command as root for richer errors.
Error: Failure while executing; `/bin/launchctl bootstrap gui/502 /Users/.../Library/LaunchAgents/homebrew.mxcl.elasticsearch-full.plist` exited with 5.
Here are details when running info on elasticsearch...
➜ .myconfigurations git:(feature/grok-trunk-live) brew info elasticsearch
==> Downloading https://formulae.brew.sh/api/formula.json
######################################################################## 100.0%
==> Downloading https://formulae.brew.sh/api/cask.json
######################################################################## 100.0%
==> elasticsearch: stable 7.10.2
Distributed search & analytics engine
https://www.elastic.co/products/elasticsearch
Disabled because it is switching to an incompatible license. Check out `opensearch` instead!
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/elasticsearch.rb
License: Apache-2.0
==> Dependencies
Build: gradle#6 ✔
Required: openjdk ✔
==> Caveats
Data: /opt/homebrew/var/lib/elasticsearch/
Logs: /opt/homebrew/var/log/elasticsearch/elasticsearch_runner.log
Plugins: /opt/homebrew/var/elasticsearch/plugins/
Config: /opt/homebrew/etc/elasticsearch/
==> Analytics
install: 24 (30 days), 119 (90 days), 14,912 (365 days)
install-on-request: 24 (30 days), 117 (90 days), 14,905 (365 days)
build-error: 4 (30 days)

installing DCAP on sgx linux server

I am going to install DCAP On my linux server with Kernel : Intel(R) Xeon(R) Platinum 8370C CPU # 2.80GHz
when I run sudo ./sgx_linux_x64_driver_1.36.2.bin I get error :
'make' KDIR=/lib/modules/5.15.0-1023-azure/build....(bad exit status: 2)
ERROR (dkms apport): binary package for sgx: 1.36.2 not found
Error! Bad return status for module build on kernel: 5.15.0-1023-azure (x86_64)
Consult /var/lib/dkms/sgx/1.36.2/build/make.log for more information.
Does any one knows the reason?
cat /var/lib/dkms/sgx/1.36.2/build/make.log
DKMS make.log for sgx-1.36.2 for kernel 5.15.0-1023-azure (x86_64)
Wed 14 Dec 2022 11:57:05 AM UTC
make -C /lib/modules/5.15.0-1023-azure/build M=/var/lib/dkms/sgx/1.36.2/build CFLAGS_MODULE="-I/var/lib/dkms/sgx/1.36.2/build -I/var/lib/dkms/sgx/1.36.2/build/include" modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-1023-azure'
CC [M] /var/lib/dkms/sgx/1.36.2/build/encl.o
CC [M] /var/lib/dkms/sgx/1.36.2/build/main.o
/var/lib/dkms/sgx/1.36.2/build/main.c: In function ‘sgx_init’:
/var/lib/dkms/sgx/1.36.2/build/main.c:792:9: note: #pragma message: kernel version may not be supported
792 | #pragma message "kernel version may not be supported"
| ^~~~~~~
CC [M] /var/lib/dkms/sgx/1.36.2/build/driver.o
CC [M] /var/lib/dkms/sgx/1.36.2/build/ioctl.o
LD [M] /var/lib/dkms/sgx/1.36.2/build/intel_sgx.o
MODPOST /var/lib/dkms/sgx/1.36.2/build/Module.symvers
ERROR: modpost: "kallsyms_lookup_name" [/var/lib/dkms/sgx/1.36.2/build/intel_sgx.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:134: /var/lib/dkms/sgx/1.36.2/build/Module.symvers] Error 1
make[2]: *** Deleting file '/var/lib/dkms/sgx/1.36.2/build/Module.symvers'
make[1]: *** [Makefile:1818: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-1023-azure'
make: *** [Makefile:22: default] Error 2

Can't install package from file, Last metadata expiration check, Error: Unable to find a match, Centos 8

tell me please what I am doing wrong. I can't install package from file.
Earlier, I tried to install by pointing to the address, but
dnf install https://download.docker.com/linux/debian/dists/buster/pool/stable/amd64/containerd.io_1.4.4-1_amd64.deb
Last metadata expiration check: 0:24:44 ago on Tue 23 Mar 2021 09:06:41 PM UTC.
containerd.io_1.4.4-1_amd64.deb 1.0 MB/s | 27 MB 00:27
Can not load RPM file: /var/cache/dnf/commandline-a76fe31ae310b0c7/packages/containerd.io_1.4.4-1_amd64.deb.
Could not open: /var/cache/dnf/commandline-a76fe31ae310b0c7/packages/containerd.io_1.4.4-1_amd64.deb
I have downloaded file and try dnf and yum to install
sudo dnf install /tmp/containerd.io_1.4.4-1_amd64.deb
Last metadata expiration check: 0:13:47 ago on Tue 23 Mar 2021 08:47:58 PM UTC.
No match for argument: /tmp/containerd.io_1.4.4-1_amd64.deb
Error: Unable to find a match: /tmp/containerd.io_1.4.4-1_amd64.deb
I tried
yum clean all
I have added docker repo
I worked on CentOS Linux release 8.3.2011

How to get steam to run on Ubuntu 20.04

Steam won't run =( Here's what I've tried:
I have a fresh install of Ubuntu 20.04 (via Ubuntu Server Live Installer + ubuntu-desktop package) with nvidia drivers:
$ nvidia-smi
Mon Jun 22 10:26:49 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.64 Driver Version: 440.64 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce RTX 2070 Off | 00000000:01:00.0 On | N/A |
| 28% 31C P8 22W / 175W | 303MiB / 7981MiB | 2% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1542 G /usr/lib/xorg/Xorg 53MiB |
| 0 7835 G /usr/lib/xorg/Xorg 124MiB |
| 0 8086 G /usr/bin/gnome-shell 111MiB |
+-----------------------------------------------------------------------------+
Attempt 1: .deb
Download deb from https://store.steampowered.com/about/
$ sudo dpkg -i steam_latest.deb
$ steam
Steam needs to install these additional packages:
libgl1-mesa-dri:i386, libgl1:i386, libc6:i386
Enter sudo password and to install them, and it installs a 49 *:i386 packages
"Updating Steam..." windows pops up and downloads and runs stuff for a bit, then!
CRASH!
[2020-06-22 17:00:18] Installing update...
[2020-06-22 17:00:19] Cleaning up...
[2020-06-22 17:00:19] Update complete, launching...
[2020-06-22 17:00:19] Shutdown
Restarting Steam by request...
Traceback (most recent call last):
File "/usr/bin/steamdeps", line 484, in <module>
sys.exit(main())
File "/usr/bin/steamdeps", line 460, in main
if dep.is_available():
File "/usr/bin/steamdeps", line 96, in is_available
return is_provided(self.name)
File "/usr/bin/steamdeps", line 68, in is_provided
(name, version) = provider.split()
ValueError: too many values to unpack (expected 2)
Running Steam on ubuntu 20.04 64-bit
STEAM_RUNTIME has been set by the user to: /home/username/.local/share/Steam/ubuntu12_32/steam-runtime
Found newer runtime version for 64-bit libGLU.so.1. Host: 1.3.1 Runtime: 1.3.8004
Found newer runtime version for 64-bit libdbusmenu-glib.so.4. Host: 4.0.12 Runtime: 4.0.13
Found newer runtime version for 64-bit libvulkan.so.1. Host: 1.2.131 Runtime: 1.2.135
Forced use of runtime version for 64-bit libcurl.so.4. Host: 4.6.0 Runtime: 4.2.0
Found newer runtime version for 32-bit libvulkan.so.1. Host: 1.2.131 Runtime: 1.2.135
Steam client's requirements are satisfied
/home/username/.local/share/Steam/ubuntu12_32/steam
[2020-06-22 17:00:34] Startup - updater built Jun 4 2020 05:50:42
Installing breakpad exception handler for appid(steam)/version(1591251555)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
SteamUpdateUI: An X Error occurred
X Error of failed request: GLXBadContext
SteamUpdateUI: An X Error occurred
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 51
xerror_handler: X failed, continuing
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 52
xerror_handler: X failed, continuing
Installing breakpad exception handler for appid(steam)/version(1591251555)
[2020-06-22 17:00:34] Verifying installation...
[2020-06-22 17:00:35] Verification complete
Loaded SDL version 2.0.13-5893924
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
(steam:32777): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Yaru/gtk-2.0/main.rc:775: error: unexpected identifier `direction', expected character `}'
(steam:32777): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Yaru/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Steam: An X Error occurred
X Error of failed request: GLXBadContext
Major opcode of failed request: 152
Serial number of failed request: 64
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152
Value in failed request: 0x0
Serial number of failed request: 63
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 152
Serial number of failed request: 65
xerror_handler: X failed, continuing
assert_20200622170034_1.dmp[32831]: Uploading dump (out-of-process)
/tmp/dumps/assert_20200622170034_1.dmp
/home/username/.local/share/Steam/steam.sh: line 750: 32777 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$#"
Subsequent attempts to run steam result in the update window flashing and then same crash.
Attempt #2 via multiverse repo, per linuxconfig.org
$ sudo add-apt-repository multiverse
'multiverse' distribution component is already enabled for all sources.
$ sudo apt update
$ sudo apt install steam
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
steam-launcher
The following NEW packages will be installed:
steam:i386 steam-launcher
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,980 kB of archives.
After this operation, 3,163 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://repo.steampowered.com/steam precise/steam amd64 steam-launcher all 1:1.0.0.62 [2,972 kB]
Get:2 http://repo.steampowered.com/steam precise/steam i386 steam i386 1:1.0.0.62 [8,052 B]
Fetched 2,980 kB in 1s (3,294 kB/s)
Selecting previously unselected package steam-launcher.
(Reading database ... 158744 files and directories currently installed.)
Preparing to unpack .../steam-launcher_1%3a1.0.0.62_all.deb ...
Unpacking steam-launcher (1:1.0.0.62) ...
Selecting previously unselected package steam:i386.
Preparing to unpack .../steam_1%3a1.0.0.62_i386.deb ...
Unpacking steam:i386 (1:1.0.0.62) ...
Setting up steam-launcher (1:1.0.0.62) ...
Setting up steam:i386 (1:1.0.0.62) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
$ steam
CRASH! Same errors as the first method.
I recently had the same issue, but had a fix. I hope this works for you.
Here is what I did:
Install steam from the steam website. https://store.steampowered.com/about/
Run this line in a terminal STEAM_RUNTIME=0 steam
You should get a line telling you the missing dependencies
Running Steam on ubuntu 20.04 64-bit
STEAM_RUNTIME is disabled by the user
Error: You are missing the following 32-bit libraries, and Steam may not run:
libXtst.so.6
libXrandr.so.2
libXrender.so.1
libgobject-2.0.so.0
libglib-2.0.so.0
libgio-2.0.so.0
libgtk-x11-2.0.so.0
libpulse.so.0
libgdk_pixbuf-2.0.so.0
libva.so.2
libbz2.so.1.0
libvdpau.so.1
libva.so.2
libva-x11.so.2
Can't find 'steam-runtime-check-requirements', continuing anyway
/home/timothy/.local/share/Steam/ubuntu12_32/steam
Once you get the missing dependencies run this line in the terminal for every missing dependency. sudo apt install (Dependency name)
EXAMPLE (sudo apt install libXtst.so.6)
"libXtst.so.6" was part of the list of dependencies that was given to me by the terminal
Once you installed all those dependencies steam should open up.
Let steam install what it needs to and login in, it should work
If you have any issues just leave a reply.
Other Forums/Community where I got most of the idea from
https://steamcommunity.com/app/221410/discussions/0/530645446314818582/
As #Helper Shoes mentioned, it is highly probable that you have missing 32 bit libraries.
Installing the following libraries made it work for me:
$ sudo dpkg --add-architecture i386
$ sudo apt update
$ sudo apt install libxtst6:i386 libxrandr2:i386 libgtk2.0-0:i386 libsm6:i386 libpulse0:i386 ffmpeg:i386

Leopard => Snow Leopard architecture woes with nokogiri / rails

I'm confused. It's a regular state of affairs for me but specifically in this case I felt I could reach out to fellow stackoverflowers (that is, stackoverflow-ers, not stackover-flowers).
uname -a
Darwin macbookpro 10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26 11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386 i386
set
bash-3.2$ set
...
HOSTTYPE=x86_64
...
MACHTYPE=x86_64-apple-darwin10.0
...
I'm having a nightmare rebuilding some native ruby gems and I'm wondering whether this is part of the problem -- part of this machine says its 64 bit but another part 32 ... as far as I can tell?
Under 'About this Mac' it says 'Intel Core 2 Duo' which Apple says is 64 bit. So why, after doing
sudo gem pristine --all
am I still getting this kind of error?
dlopen(/Applications/Rails/ruby/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/lib/nokogiri/nokogiri.bundle, 9): no suitable image found. Did find:
/Applications/Rails/ruby/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/lib/nokogiri/nokogiri.bundle: mach-o, but wrong architecture - /Applications/Rails/ruby/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/lib/nokogiri/nokogiri.bundle
Specifically I had removed nokogiri and reinstalled it. No errors in output.
bash-3.2$ sudo gem install nokogiri
Building native extensions. This could take a while...
Successfully installed nokogiri-1.4.2
1 gem installed
thanks for any thoughts!
UPDATE
I've found a useful post by Chris Noos on a similar problem. This is where I am:
cd /usr/local/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/
then made a file called wem_extconf.rb:
require 'mkmf'
find_library('xml2', 'xmlParseDoc')
dir_config('any-string-here', '/opt/local/include', '/opt/local/lib')
find_library('xml2', 'xmlParseDoc')
Running sudo web_extconf.rb produces
checking for xmlParseDoc() in -lxml2... no
checking for xmlParseDoc() in -lxml2... no
???? But hang on, it is there:
$ port installed | grep libxml2.*active
libxml2 #2.7.7_0+universal (active)
$ ls -l /opt/local/lib | grep libxml2
-rwxr-xr-x 2 root admin 2623276 31 May 20:09 libxml2.2.dylib
-rw-r--r-- 2 root admin 3643928 31 May 20:09 libxml2.a
lrwxr-xr-x 1 root admin 15 31 May 20:09 libxml2.dylib -> libxml2.2.dylib
-rwxr-xr-x 2 root admin 975 31 May 20:09 libxml2.la
And it does appear I have several copies of the thing -- but not sure which one port installed is using (I'm assuming given it's macports, it's /opt?)
$ ls -l /usr/lib | grep libxml2
lrwxr-xr-x 1 root wheel 15 23 May 16:07 libxml2.2.7.3.dylib -> libxml2.2.dylib
-rwxr-xr-x 1 root wheel 3758272 22 Sep 2009 libxml2.2.dylib
lrwxr-xr-x 1 root wheel 15 23 May 16:07 libxml2.dylib -> libxml2.2.dylib
$ ls -l /usr/local/lib | grep libxml2
-rwxr-xr-x 1 root admin 1456292 30 Oct 2009 libxml2.2.dylib
-rw-r--r-- 1 root admin 4812456 30 Oct 2009 libxml2.a
-rwxr-xr-x 1 root admin 1456292 30 Oct 2009 libxml2.dylib
-rwxr-xr-x 1 root admin 951 30 Oct 2009 libxml2.la
On Snow Leopard, gcc has a misleading behavior; even if you are running a i386 kernel, gcc will produce 64 bits binaries by default.
Have you looked at the GEM documentation to see how to specify the targeted architecture ?
Have you installed the XCode Development tools?

Resources