Я пытаюсь настроить 2 репозитория yum (RHEL 7.0 и RHEL 7.2) на своем сервере. Я закончил создавать их файлы .repo. См. Вывод ниже:
[root@foundation ~]# yum repolist all
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repo id repo name status
InstallMedia Red Hat Enterprise Linux 7.2 disabled
google-chrome google-chrome enabled: 3
rhel_7_0 RHEL 7.0 repository (foundation server) enabled: 4,305
rhel_7_2 RHEL 7.2 repository (foundation server) enabled: 4,620
repolist: 8,928
[root@foundation ~]#
Когда я пытаюсь перечислить пакеты ядра, он показывает только пакет, доступный в RHEL 7.2
[root@foundation ~]# yum list *kernel*
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Installed Packages
abrt-addon-kerneloops.x86_64 2.1.11-34.el7 @anaconda/7.2
kernel.x86_64 3.10.0-327.el7 @anaconda/7.2
kernel-headers.x86_64 3.10.0-327.el7 @foundation-repo
kernel-tools.x86_64 3.10.0-327.el7 @anaconda/7.2
kernel-tools-libs.x86_64 3.10.0-327.el7 @anaconda/7.2
Available Packages
kernel-abi-whitelists.noarch 3.10.0-327.el7 rhel_7_2
kernel-debug.x86_64 3.10.0-327.el7 rhel_7_2
kernel-debug-devel.x86_64 3.10.0-327.el7 rhel_7_2
kernel-devel.x86_64 3.10.0-327.el7 rhel_7_2
kernel-doc.noarch 3.10.0-327.el7 rhel_7_2
texlive-l3kernel.noarch 2:svn29409.SVN_4469-38.el7 rhel_7_2
[root@foundation ~]#
Как я могу также увидеть пакеты ядра в RHEL 7.0? Я хочу установить его. И как я могу заставить yum установить пакет в желаемый репозиторий? Например, я установлю его из репозитория RHEL 7.0 вместо репо RHEL 7.2.