No match for argument: stressError: Unable to find a match: stress
Cause:
For stress testing the server and database, stress is a good tool. But in linux , the below error occur due to older epel release
[root@xhydra oracle]# yum install stress
Last metadata expiration check: 3:45:19 ago on Fri 05 May 2023 06:36:00 AM IST.
No match for argument: stress
Error: Unable to find a match: stress
Solution:
Install the latest release of epel and stress can be installed without any error.
[root@xhydra oracle]# yum install epel-release -y
Last metadata expiration check: 3:45:51 ago on Fri 05 May 2023 06:36:00 AM IST.
Dependencies resolved.
=======================================================================================================================================
Package Architecture Version Repository Size
=======================================================================================================================================
Installing:
oracle-epel-release-el8 x86_64 1.0-5.el8 ol8_baseos_latest 15 k
Installing dependencies:
yum-utils noarch 4.0.21-4.0.1.el8_5 ol8_baseos_latest 73 k
Transaction Summary
=======================================================================================================================================
Install 2 Packages
Total download size: 88 k
Installed size: 41 k
Downloading Packages:
(1/2): oracle-epel-release-el8-1.0-5.el8.x86_64.rpm 60 kB/s | 15 kB 00:00
(2/2): yum-utils-4.0.21-4.0.1.el8_5.noarch.rpm 189 kB/s | 73 kB 00:00
---------------------------------------------------------------------------------------------------------------------------------------
Total 226 kB/s | 88 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : yum-utils-4.0.21-4.0.1.el8_5.noarch 1/2
Installing : oracle-epel-release-el8-1.0-5.el8.x86_64 2/2
Running scriptlet: oracle-epel-release-el8-1.0-5.el8.x86_64 2/2
/sbin/ldconfig: /etc/ld.so.conf.d/kernel-5.4.17-2011.1.2.el8uek.x86_64.conf:6: hwcap directive ignored
Verifying : oracle-epel-release-el8-1.0-5.el8.x86_64 1/2
Verifying : yum-utils-4.0.21-4.0.1.el8_5.noarch 2/2
Installed:
oracle-epel-release-el8-1.0-5.el8.x86_64 yum-utils-4.0.21-4.0.1.el8_5.noarch
Complete!
[root@xhydra oracle]# yum install stress -y
Oracle Linux 8 EPEL Packages for Development (x86_64) 28 MB/s | 45 MB 00:01
Oracle Linux 8 EPEL Modular Packages for Development (x86_64) 1.5 MB/s | 322 kB 00:00
Dependencies resolved.
=======================================================================================================================================
Package Architecture Version Repository Size
=======================================================================================================================================
Installing:
stress x86_64 1.0.4-24.el8 ol8_developer_EPEL 40 k
Transaction Summary
=======================================================================================================================================
Install 1 Package
Total download size: 40 k
Installed size: 79 k
Downloading Packages:
stress-1.0.4-24.el8.x86_64.rpm 15 kB/s | 40 kB 00:02
---------------------------------------------------------------------------------------------------------------------------------------
Total 15 kB/s | 40 kB 00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : stress-1.0.4-24.el8.x86_64 1/1
Running scriptlet: stress-1.0.4-24.el8.x86_64 1/1
/sbin/ldconfig: /etc/ld.so.conf.d/kernel-5.4.17-2011.1.2.el8uek.x86_64.conf:6: hwcap directive ignored
Verifying : stress-1.0.4-24.el8.x86_64 1/1
Installed:
stress-1.0.4-24.el8.x86_64
Complete!