- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(configtest): amazon linux 2022, 2023 require dnf-utils #1635
Merged
+22
−4
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The availability of repoquery for operating systems that employ yum/dnf is as follows. RHEL
[root@d5abc16374d7 /]# cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.9 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.9"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.9 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.9:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.9
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.9"
[root@d5abc16374d7 /]# dnf provides repoquery
bash: dnf: command not found
[vagrant@rhel8 ~]$ cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.7 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.7"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.7 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.7
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.7"
[vagrant@rhel8 ~]$ dnf provides repoquery
Not root, Subscription Management repositories not updated
This system is not registered with an entitlement server. You can use subscription-manager to register.
Extra Packages for Enterprise Linux 8 - x86_64 12 MB/s | 14 MB 00:01
Red Hat Enterprise Linux 8 for x86_64 - AppStre 35 MB/s | 53 MB 00:01
Red Hat Enterprise Linux 8 for x86_64 - BaseOS 33 MB/s | 58 MB 00:01
Last metadata expiration check: 0:00:03 ago on Sun 09 Apr 2023 22:38:39 UTC.
dnf-utils-4.0.2.2-3.el8.noarch : Yum-utils CLI compatibility layer
Repo : rhel-8-for-x86_64-baseos-rpms
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.8-3.el8.noarch : Yum-utils CLI compatibility layer
Repo : rhel-8-for-x86_64-baseos-rpms
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.12-3.el8.noarch : Yum-utils CLI compatibility layer
Repo : rhel-8-for-x86_64-baseos-rpms
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.12-4.el8_2.noarch : Yum-utils CLI compatibility layer
Repo : rhel-8-for-x86_64-baseos-rpms
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.17-5.el8.noarch : Yum-utils CLI compatibility layer
Repo : rhel-8-for-x86_64-baseos-rpms
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.18-4.el8.noarch : Yum-utils CLI compatibility layer
Repo : rhel-8-for-x86_64-baseos-rpms
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-3.el8.noarch : Yum-utils CLI compatibility layer
Repo : rhel-8-for-x86_64-baseos-rpms
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-4.el8_5.noarch : Yum-utils CLI compatibility layer
Repo : rhel-8-for-x86_64-baseos-rpms
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-11.el8.noarch : Yum-utils CLI compatibility layer
Repo : rhel-8-for-x86_64-baseos-rpms
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-14.1.el8.noarch : Yum-utils CLI compatibility layer
Repo : @System
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-14.1.el8.noarch : Yum-utils CLI compatibility layer
Repo : rhel-8-for-x86_64-baseos-rpms
Matched from:
Filename : /usr/bin/repoquery
[vagrant@rhel9 ~]$ cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="9.0 (Plow)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="9.0"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Red Hat Enterprise Linux 9.0 (Plow)"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/9/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_BUGZILLA_PRODUCT_VERSION=9.0
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.0"
[vagrant@rhel9 ~]$ dnf provides repoquery
Not root, Subscription Management repositories not updated
This system is not registered with an entitlement server. You can use subscription-manager to register.
Extra Packages for Enterprise Linux 9 - x86_64 14 MB/s | 15 MB 00:01
Red Hat Enterprise Linux 9 for x86_64 - AppStre 13 MB/s | 17 MB 00:01
Red Hat Enterprise Linux 9 for x86_64 - BaseOS 11 MB/s | 9.4 MB 00:00
Last metadata expiration check: 0:00:01 ago on Sun 09 Apr 2023 10:33:27 PM UTC.
yum-utils-4.0.24-4.el9_0.noarch : Yum-utils CLI compatibility layer
Repo : @System
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.24-4.el9_0.noarch : Yum-utils CLI compatibility layer
Repo : rhel-9-for-x86_64-baseos-rpms
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.1.0-3.el9.noarch : Yum-utils CLI compatibility layer
Repo : rhel-9-for-x86_64-baseos-rpms
Matched from:
Filename : /usr/bin/repoquery CentOS
[root@e6145aa95911 /]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
[root@e6145aa95911 /]# dnf provides repoquery
bash: dnf: command not found
[root@59bfbe031b3b /]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
[root@59bfbe031b3b /]# dnf provides repoquery
Failed to set locale, defaulting to C.UTF-8
CentOS Linux 8 - AppStream 8.4 MB/s | 8.4 MB 00:01
CentOS Linux 8 - BaseOS 1.2 MB/s | 4.6 MB 00:03
CentOS Linux 8 - Extras 17 kB/s | 10 kB 00:00
yum-utils-4.0.21-3.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
[root@14c4c9045223 /]# cat /etc/os-release
NAME="CentOS Stream"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Stream 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"
[root@14c4c9045223 /]# dnf provides repoquery
Failed to set locale, defaulting to C.UTF-8
CentOS Stream 8 - AppStream 24 MB/s | 29 MB 00:01
CentOS Stream 8 - BaseOS 26 MB/s | 29 MB 00:01
CentOS Stream 8 - Extras 26 kB/s | 18 kB 00:00
CentOS Stream 8 - Extras common packages 9.1 kB/s | 5.6 kB 00:00
yum-utils-4.0.18-4.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-1.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-2.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-3.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-6.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-7.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-8.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-10.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-11.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-12.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-14.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-14.1.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-16.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-17.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-18.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
[root@8fabdf3bef2d /]# cat /etc/os-release
NAME="CentOS Stream"
VERSION="9"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="9"
PLATFORM_ID="platform:el9"
PRETTY_NAME="CentOS Stream 9"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:centos:centos:9"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"
[root@8fabdf3bef2d /]# dnf provides repoquery
CentOS Stream 9 - BaseOS 5.2 MB/s | 6.1 MB 00:01
CentOS Stream 9 - AppStream 12 MB/s | 16 MB 00:01
CentOS Stream 9 - Extras packages 12 kB/s | 11 kB 00:00
yum-utils-4.1.0-2.el9.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.1.0-3.el9.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.3.0-1.el9.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.3.0-2.el9.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.3.0-4.el9.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery Fedora
[root@096d4aea7cad /]# cat /etc/os-release
NAME=Fedora
VERSION="22 (Twenty Two)"
ID=fedora
VERSION_ID=22
PRETTY_NAME="Fedora 22 (Twenty Two)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:22"
HOME_URL="https://fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=22
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=22
PRIVACY_POLICY_URL=https://fedoraproject.org/wiki/Legal:PrivacyPolicy
[root@096d4aea7cad /]# dnf provides "*/repoquery"
Last metadata expiration check performed 0:00:30 ago on Sun Apr 9 23:18:52 2023.
yum-utils-1.1.31-505.fc22.noarch : Utilities based around the yum package
: manager
Repo : fedora
yum-utils-1.1.31-508.fc22.noarch : Utilities based around the yum package
: manager
Repo : updates
[root@b907dd25ea9e /]# cat /etc/os-release
NAME=Fedora
VERSION="32 (Container Image)"
ID=fedora
VERSION_ID=32
VERSION_CODENAME=""
PLATFORM_ID="platform:f32"
PRETTY_NAME="Fedora 32 (Container Image)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:32"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f32/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=32
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=32
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Container Image"
VARIANT_ID=container
[root@b907dd25ea9e /]# dnf provides repoquery
Fedora 32 openh264 (From Cisco) - x86_64 1.1 kB/s | 2.5 kB 00:02
Fedora Modular 32 - x86_64 4.6 MB/s | 4.9 MB 00:01
Fedora Modular 32 - x86_64 - Updates 5.4 MB/s | 4.6 MB 00:00
Fedora 32 - x86_64 - Updates 20 MB/s | 30 MB 00:01
Fedora 32 - x86_64 22 MB/s | 70 MB 00:03
dnf-utils-4.0.14-1.fc32.noarch : Yum-utils CLI compatibility layer
Repo : fedora
Matched from:
Filename : /usr/bin/repoquery
dnf-utils-4.0.18-1.fc32.noarch : Yum-utils CLI compatibility layer
Repo : updates
Matched from:
Filename : /usr/bin/repoquery Oracle
[root@4f0d7bbd8d8d /]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="7.9"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.9"
PRETTY_NAME="Oracle Linux Server 7.9"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:7:9:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://bugzilla.oracle.com/"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7"
ORACLE_BUGZILLA_PRODUCT_VERSION=7.9
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=7.9
[root@4f0d7bbd8d8d /]# dnf provides repoquery
bash: dnf: command not found
[root@7892f5db7f18 /]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="8.7"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="8.7"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.7"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:8:7:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://bugzilla.oracle.com/"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
ORACLE_BUGZILLA_PRODUCT_VERSION=8.7
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=8.7
[root@7892f5db7f18 /]# dnf provides repoquery
Oracle Linux 8 BaseOS Latest (x86_64) 68 MB/s | 57 MB 00:00
Oracle Linux 8 Application Stream (x86_64) 65 MB/s | 43 MB 00:00
Last metadata expiration check: 0:00:05 ago on Sun Apr 9 21:59:43 2023.
dnf-utils-4.0.2.2-3.el8.noarch : Yum-utils CLI compatibility layer
Repo : ol8_baseos_latest
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.8-3.el8.noarch : Yum-utils CLI compatibility layer
Repo : ol8_baseos_latest
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.12-3.el8.noarch : Yum-utils CLI compatibility layer
Repo : ol8_baseos_latest
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.12-4.el8_2.noarch : Yum-utils CLI compatibility layer
Repo : ol8_baseos_latest
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.17-5.el8.noarch : Yum-utils CLI compatibility layer
Repo : ol8_baseos_latest
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.18-4.el8.noarch : Yum-utils CLI compatibility layer
Repo : ol8_baseos_latest
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.18-4.0.1.el8.noarch : Yum-utils CLI compatibility layer
Repo : ol8_baseos_latest
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-3.0.1.el8.noarch : Yum-utils CLI compatibility layer
Repo : ol8_baseos_latest
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-4.0.1.el8_5.noarch : Yum-utils CLI compatibility layer
Repo : ol8_baseos_latest
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-11.0.1.el8.noarch : Yum-utils CLI compatibility layer
Repo : ol8_baseos_latest
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-14.1.0.1.el8.noarch : Yum-utils CLI compatibility layer
Repo : @System
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.0.21-14.1.0.1.el8.noarch : Yum-utils CLI compatibility layer
Repo : ol8_baseos_latest
Matched from:
Filename : /usr/bin/repoquery
[root@e72dff18d86c /]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="9.1"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="9.1"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Oracle Linux Server 9.1"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:9:1:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 9"
ORACLE_BUGZILLA_PRODUCT_VERSION=9.1
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=9.1
[root@e72dff18d86c /]# dnf provides repoquery
Oracle Linux 9 BaseOS Latest (x86_64) 21 MB/s | 9.2 MB 00:00
Oracle Linux 9 Application Stream Packages (x86 29 MB/s | 16 MB 00:00
yum-utils-4.0.24-4.0.1.el9_0.noarch : Yum-utils CLI compatibility layer
Repo : ol9_baseos_latest
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.1.0-3.0.1.el9.noarch : Yum-utils CLI compatibility layer
Repo : @System
Matched from:
Filename : /usr/bin/repoquery
yum-utils-4.1.0-3.0.1.el9.noarch : Yum-utils CLI compatibility layer
Repo : ol9_baseos_latest
Matched from:
Filename : /usr/bin/repoquery Amazon Linux
bash-4.2# cat /etc/os-release
NAME="Amazon Linux AMI"
VERSION="2018.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2018.03"
PRETTY_NAME="Amazon Linux AMI 2018.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2018.03:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
bash-4.2# dnf provides repoquery
bash: dnf: command not found
bash-4.2# cat /etc/os-release
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
bash-4.2# dnf provides repoquery
bash: dnf: command not found
bash-5.2# cat /etc/os-release
NAME="Amazon Linux"
VERSION="2022"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2022"
PLATFORM_ID="platform:al2022"
PRETTY_NAME="Amazon Linux 2022"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2022"
HOME_URL="https://aws.amazon.com/linux/"
BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2022"
SUPPORT_END="2027-11-01"
bash-5.2# dnf provides repoquery
Amazon Linux 2022 repository 16 MB/s | 15 MB 00:00
Last metadata expiration check: 0:00:02 ago on Sun Apr 9 21:54:43 2023.
dnf-utils-4.1.0-1.amzn2022.0.1.noarch : Yum-utils CLI compatibility layer
Repo : amazonlinux
Matched from:
Filename : /usr/bin/repoquery
bash-5.2# cat /etc/amazon-linux-release
Amazon Linux release 2023 (Amazon Linux)
bash-5.2# cat /etc/os-release
NAME="Amazon Linux"
VERSION="2023"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2023"
PLATFORM_ID="platform:al2023"
PRETTY_NAME="Amazon Linux 2023"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"
HOME_URL="https://aws.amazon.com/linux/"
BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2023"
SUPPORT_END="2028-03-01"
bash-5.2# dnf provides repoquery
Amazon Linux 2023 repository 13 MB/s | 12 MB 00:00
Last metadata expiration check: 0:00:02 ago on Sun Apr 9 21:55:23 2023.
dnf-utils-4.1.0-1.amzn2023.0.2.noarch : Yum-utils CLI compatibility layer
Repo : amazonlinux
Matched from:
Filename : /usr/bin/repoquery
dnf-utils-4.1.0-1.amzn2023.0.3.noarch : Yum-utils CLI compatibility layer
Repo : amazonlinux
Matched from:
Filename : /usr/bin/repoquery AlmaLinux
[root@c26af1a6bbe5 /]# cat /etc/os-release
NAME="AlmaLinux"
VERSION="8.7 (Stone Smilodon)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.7"
PLATFORM_ID="platform:el8"
PRETTY_NAME="AlmaLinux 8.7 (Stone Smilodon)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:8::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"
ALMALINUX_MANTISBT_PROJECT="AlmaLinux-8"
ALMALINUX_MANTISBT_PROJECT_VERSION="8.7"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.7"
[root@c26af1a6bbe5 /]# dnf provides repoquery
AlmaLinux 8 - BaseOS 4.7 MB/s | 6.3 MB 00:01
AlmaLinux 8 - AppStream 8.3 MB/s | 11 MB 00:01
AlmaLinux 8 - Extras 17 kB/s | 19 kB 00:01
yum-utils-4.0.21-14.1.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
[root@240e483a3cd3 /]# cat /etc/os-release
NAME="AlmaLinux"
VERSION="9.1 (Lime Lynx)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.1"
PLATFORM_ID="platform:el9"
PRETTY_NAME="AlmaLinux 9.1 (Lime Lynx)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:9::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"
ALMALINUX_MANTISBT_PROJECT="AlmaLinux-9"
ALMALINUX_MANTISBT_PROJECT_VERSION="9.1"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.1"
[root@240e483a3cd3 /]# dnf provides repoquery
AlmaLinux 9 - AppStream 3.7 MB/s | 8.9 MB 00:02
AlmaLinux 9 - BaseOS 4.5 MB/s | 4.4 MB 00:00
AlmaLinux 9 - Extras 17 kB/s | 17 kB 00:01
yum-utils-4.1.0-3.el9.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery Rocky Linux
[root@5f5b0eb1479f /]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="8.7 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.7"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.7 (Green Obsidian)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-8"
ROCKY_SUPPORT_PRODUCT_VERSION="8.7"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.7"
[root@5f5b0eb1479f /]# dnf provides repoquery
Rocky Linux 8 - AppStream 13 MB/s | 10 MB 00:00
Rocky Linux 8 - BaseOS 8.8 MB/s | 6.1 MB 00:00
Rocky Linux 8 - Extras 26 kB/s | 12 kB 00:00
yum-utils-4.0.21-14.1.el8.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery
[root@73560a98a793 /]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.1 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.1"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.1 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.1"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.1"
[root@73560a98a793 /]# dnf provides repoquery
Rocky Linux 9 - BaseOS 1.8 MB/s | 1.8 MB 00:01
Rocky Linux 9 - AppStream 6.1 MB/s | 6.6 MB 00:01
Rocky Linux 9 - Extras 11 kB/s | 8.7 kB 00:00
yum-utils-4.1.0-3.el9.noarch : Yum-utils CLI compatibility layer
Repo : baseos
Matched from:
Filename : /usr/bin/repoquery |
kotakanbe
approved these changes
Apr 10, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What did you implement:
In amazon linux 2022, 2023, repoquery is provided by dnf-utils, not yum-utils.
Type of change
How Has This Been Tested?
Amazon Linux 2022
before
after
Amazon Linux 2023
before
after
Checklist:
You don't have to satisfy all of the following.
make fmt
make test
Is this ready for review?: YES
Reference