표준 "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-언어s redhat-lsb-cxx redhat-lsb redhat-lsb-printing redhat-lsb-desktop ...
- 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
누구든지 이 문제를 해결하는 방법을 설명할 수 있습니까?