Bug 2092 - 【龙蜥社区群】centos7迁移到centos8后,执行“yum update”出现如下问题
Summary: 【龙蜥社区群】centos7迁移到centos8后,执行“yum update”出现如下问题
Status: CONFIRMED
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: OsMigration (show other bugs) OsMigration
Version: 8.4
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: yunqi-zwt
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-07 17:30 UTC by 任博
Modified: 2023-02-24 14:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 任博 alibaba_cloud_group 2022-09-07 17:30:17 UTC
centos7迁移到centos8后,执行“yum update”出现如下问题。

Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/aegis.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/aegis.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/aegis.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/anolis-migration.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/anolis-migration.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/anolis-migration.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Last metadata expiration check: 2:14:35 ago on Wed 07 Sep 2022 02:32:13 PM CST.
Error: 
 Problem: cannot install the best update candidate for package libidn2-2.2.0-1.el8.x86_64
  - nothing provides libunistring.so.0()(64bit) needed by libidn2-2.3.3-1.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Comment 1 yunqi-zwt alibaba_cloud_group 2023-02-24 14:55:20 UTC
1. anolis 8 里面带的 dnf 不再支持 yum repo 里面配置的 failovermethod option。
2. 依赖错误的 libidn2-2.3.3-1.el7.x86_64 包非常奇怪, anolis8 or epel 8 里面提供的版本竟然低于 epel7 的版本 libidn2-2.3.3-1.el7.x86_64