Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Naming inconsistency on Rocky Linux #121

Closed
Labels
bugan unexpected problem or unintended behavior
@thomaszwagerman

Description

@thomaszwagerman

On rocky 9.4 (x86_64-conda-linux-gnu-rocky-9.4), the following functions use differentdistribution names for the same system:

pkgcache::current_r_platform_data()$distribution returns 'rocky'

     cpu vendor        os distribution release                         platform1 x86_64  conda linux-gnu        rocky     9.4 x86_64-conda-linux-gnu-rocky-9.4

pkgcache::ppm_platforms()$distribution returns 'rockylinux'

                   name      os  binary_url distribution release binaries1               centos7   linux     centos7       centos       7     TRUE2               centos8   linux     centos8       centos       8     TRUE3                 rhel9   linux       rhel9   rockylinux       9     TRUE4            opensuse15   linux  opensuse15     opensuse      15     TRUE5           opensuse152   linux opensuse152     opensuse    15.2     TRUE6           opensuse153   linux opensuse153     opensuse    15.3     TRUE7           opensuse154   linux opensuse154     opensuse    15.4     TRUE8           opensuse155   linux opensuse155     opensuse    15.5     TRUE9           opensuse156   linux opensuse156     opensuse    15.6     TRUE10           opensuse42   linux  opensuse42     opensuse    42.3     TRUE11                rhel7   linux     centos7       redhat       7     TRUE12                rhel8   linux     centos8       redhat       8     TRUE13 rhel9 (unused alias)   linux       rhel9       redhat       9     TRUE14               sles12   linux  opensuse42          sle    12.3     TRUE15               sles15   linux  opensuse15          sle      15     TRUE16              sles152   linux opensuse152          sle    15.2     TRUE17              sles153   linux opensuse153          sle    15.3     TRUE18              sles154   linux opensuse154          sle    15.4     TRUE19              sles155   linux opensuse155          sle    15.5     TRUE20              sles156   linux opensuse156          sle    15.6     TRUE21               xenial   linux      xenial       ubuntu   16.04     TRUE22               bionic   linux      bionic       ubuntu   18.04     TRUE23                focal   linux       focal       ubuntu   20.04     TRUE24                jammy   linux       jammy       ubuntu   22.04     TRUE25                noble   linux       noble       ubuntu   24.04     TRUE26               buster   linux      buster       debian      10    FALSE27             bullseye   linux    bullseye       debian      11     TRUE28             bookworm   linux    bookworm       debian      12     TRUE29              windows windows<NA>      windows     all     TRUE30                macos   macos<NA>        macos     all     TRUE

This is a very small inconsistency, but as far as I can tell this is the only distribution where this happens. When using these functions to automatically detect and match machine distribution and version to get the binary_url this leads to an unknown distro.

See below thecat /etc/os-release output:

NAME="Rocky Linux"VERSION="9.4 (Blue Onyx)"ID="rocky"ID_LIKE="rhel centos fedora"VERSION_ID="9.4"PLATFORM_ID="platform:el9"PRETTY_NAME="Rocky Linux 9.4 (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/"SUPPORT_END="2032-05-31"ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"ROCKY_SUPPORT_PRODUCT_VERSION="9.4"REDHAT_SUPPORT_PRODUCT="Rocky Linux"REDHAT_SUPPORT_PRODUCT_VERSION="9.4"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp