標準の「yum update」コマンドでCentOS 7.4で正常に更新されたCentOS 7.9サーバーがあります。
Install 18 Packages (+93 Dependent packages)
Upgrade 1219 Packages
(ヤムは16個のパッケージも交換しました)
問題:特定のパッケージでyumが失敗し、何かが見つからないというメッセージが表示されます。
まずyum update --exclude=redhat-lsb-core
、ほとんどのパッチ作業のために走りました。私は次に逃げたyum update
。次のエラーが発生します。
--> Running transaction check
---> Package redhat-lsb-core.x86_64 0:4.1-27.el7.centos.1 will be obsoleted
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-cxx-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-printing-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-desktop-4.1-27.el7.centos.1.x86_64
---> Package stub-redhat-lsb-core-only-for-ceph.noarch 0:2015.1-1.atomic.el7 will be obsoleting
--> Finished Dependency Resolution
Error: Package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64 (@anaconda)
Requires: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1
Removing: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 (@anaconda)
redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1
Obsoleted By: stub-redhat-lsb-core-only-for-ceph-2015.1-1.atomic.el7.noarch (AcmeCorp_CentOS_7_x86_64_atomic_x86_64)
Not found
Error: Package: redhat-lsb-cxx-4.1-27.el7.centos.1.x86_64 (@anaconda)
Requires: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1
Removing: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 (@anaconda)
redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1
Obsoleted By: stub-redhat-lsb-core-only-for-ceph-2015.1-1.atomic.el7.noarch (AcmeCorp_CentOS_7_x86_64_atomic_x86_64)
Not found
Error: Package: redhat-lsb-4.1-27.el7.centos.1.x86_64 (@anaconda)
Requires: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1
Removing: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 (@anaconda)
redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1
Obsoleted By: stub-redhat-lsb-core-only-for-ceph-2015.1-1.atomic.el7.noarch (AcmeCorp_CentOS_7_x86_64_atomic_x86_64)
Not found
Error: Package: redhat-lsb-desktop-4.1-27.el7.centos.1.x86_64 (@anaconda)
Requires: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1
Removing: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 (@anaconda)
redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1
Obsoleted By: stub-redhat-lsb-core-only-for-ceph-2015.1-1.atomic.el7.noarch (AcmeCorp_CentOS_7_x86_64_atomic_x86_64)
Not found
Error: Package: redhat-lsb-printing-4.1-27.el7.centos.1.x86_64 (@anaconda)
Requires: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1
Removing: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 (@anaconda)
redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1
Obsoleted By: stub-redhat-lsb-core-only-for-ceph-2015.1-1.atomic.el7.noarch (AcmeCorp_CentOS_7_x86_64_atomic_x86_64)
Not found
これに関する私の説明は次のとおりです。
- yumを使用してredhat-lsb-coreを更新しましたが、Stub-redhat-lsb-core-only-for-cephによって使用されなくなったことが確認されました(例:代替/交換)。
- しかし、これらのパッケージはredhat-lsb-coreに依存しています:redhat-lsb-language redhat-lsb-cxx redhat-lsb redhat-lsb-printing
- yumはstub-redhat-lsb-core-only-for-cephをインストールする必要がありますが、見つかりません。
しかし、ポイント3は間違っているようです。 RPMを見つけることができます。
[root@parrot ~]# yum list stub-redhat-lsb-core-only-for-ceph
Loaded plugins: enabled_repos_upload, fastestmirror, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager,
: tracer_upload
Loading mirror speeds from cached hostfile
Available Packages
stub-redhat-lsb-core-only-for-ceph.noarch 2015.1-1.atomic.el7 AcmeCorp_CentOS_7_x86_64_atomic_x86_64
Uploading Enabled Repositories Report
Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager
[root@parrot ~]#
[root@parrot ~]# yumdownloader stub-redhat-lsb-core-only-for-ceph
Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager
Loading mirror speeds from cached hostfile
AcmeCorp_CentOS_7_x86_64_atomic_x86_64 | 2.0 kB 00:00:00
AcmeCorp_CentOS_7_x86_64_cr_x86_64 | 1.9 kB 00:00:00
AcmeCorp_CentOS_7_x86_64_epel_7_x86_64 | 2.3 kB 00:00:00
AcmeCorp_CentOS_7_x86_64_extras_x86_64 | 2.0 kB 00:00:00
AcmeCorp_CentOS_7_x86_64_os_x86_64 | 2.3 kB 00:00:00
AcmeCorp_CentOS_7_x86_64_sclo_x86_64_sclo | 2.0 kB 00:00:00
AcmeCorp_CentOS_7_x86_64_updates_x86_64 | 2.0 kB 00:00:00
stub-redhat-lsb-core-only-for-ceph-2015.1-1.atomic.el7.noarch.rpm | 3.8 kB 00:00:00
[root@parrot ~]# ls -l stub-redhat-lsb-core-only-for-ceph-2015.1-1.atomic.el7.noarch.rpm
-rw-r--r-- 1 root root 3940 May 27 03:36 stub-redhat-lsb-core-only-for-ceph-2015.1-1.atomic.el7.noarch.rpm
[root@parrot ~]#
私はそれを試しましたが、うまくset 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
いきませんでした。
また、廃止予定のパッケージを直接インストールしようとしましたが、役に立ちませんでした。
[root@parrot ~]# yum install stub-redhat-lsb-core-only-for-ceph
Loaded plugins: enabled_repos_upload, fastestmirror, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager,
: tracer_upload
Loading mirror speeds from cached hostfile
AcmeCorp_CentOS_7_x86_64_atomic_x86_64 | 2.0 kB 00:00:00
AcmeCorp_CentOS_7_x86_64_cr_x86_64 | 1.9 kB 00:00:00
AcmeCorp_CentOS_7_x86_64_epel_7_x86_64 | 2.3 kB 00:00:00
AcmeCorp_CentOS_7_x86_64_extras_x86_64 | 2.0 kB 00:00:00
AcmeCorp_CentOS_7_x86_64_os_x86_64 | 2.3 kB 00:00:00
AcmeCorp_CentOS_7_x86_64_sclo_x86_64_sclo | 2.0 kB 00:00:00
AcmeCorp_CentOS_7_x86_64_updates_x86_64 | 2.0 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package redhat-lsb-core.x86_64 0:4.1-27.el7.centos.1 will be obsoleted
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-cxx-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-printing-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-desktop-4.1-27.el7.centos.1.x86_64
---> Package stub-redhat-lsb-core-only-for-ceph.noarch 0:2015.1-1.atomic.el7 will be obsoleting
--> Finished Dependency Resolution
Error: Package: redhat-lsb-languages-4.1-27.el7.centos.1.x86_64 (@AcmeCorp_CentOS_7_x86_64_os_x86_64)
Requires: redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1
Removing: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 (@AcmeCorp_CentOS_7_x86_64_os_x86_64)
redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1
Obsoleted By: stub-redhat-lsb-core-only-for-ceph-2015.1-1.atomic.el7.noarch (AcmeCorp_CentOS_7_x86_64_atomic_x86_64)
Not found
誰でもこの問題を解決する方法を説明できますか?