Bug 3571 - [Anolis 8.8]Anolis 8.4升级至Anolis 8.8失败,yum update出现安装包失败现象
Summary: [Anolis 8.8]Anolis 8.4升级至Anolis 8.8失败,yum update出现安装包失败现象
Status: CONFIRMED
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Others (show other bugs) Others
Version: 8.8
Hardware: loongarch Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: 葛立伟
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-28 15:04 UTC by liqianwen
Modified: 2023-03-22 11:50 UTC (History)
2 users (show)

See Also:


Attachments
Anolis 8.4升级至Anolis 8.8失败的log (14.99 KB, text/x-log)
2022-12-28 15:04 UTC, liqianwen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description liqianwen loongson_group 2022-12-28 15:04:37 UTC
Created attachment 573 [details]
Anolis 8.4升级至Anolis 8.8失败的log

Description of problem:
Anolis 8.4升级至Anolis 8.8失败,yum update时出现44个问题点

Version-Release number of selected component (if applicable):
Anolis 8.4:
内核版本:4.19.190-4.an8.loongarch64
系统版本:Anolis OS release 8.4

Anolis 8.8:
内核版本:4.19.190-6.5.an8.loongarch64
系统版本:Anolis OS release 8.8

How reproducible:100%

Anolis 8.4 iso下载:
https://mirrors.openanolis.cn/anolis/8.4/isos/GA/loongarch64/AnolisOS-8.4-GA-loongarch64-dvd.iso

Steps to Reproduce:
1. 正常安装启动Anolis 8.4系统
2. 将Anolis 8.4系统的源配置成Anolis 8.8测试源,并在终端执行yum update

Actual results:
yum update时终端报错,具体报错信息见附件“update.log”

Expected results:
可正常升级Anolis 8.4至Anolis 8.8系统
Comment 1 liqianwen loongson_group 2022-12-29 14:30:40 UTC
现将升级的问题更新如下:
[root@bogon ~]# yum update
上次元数据过期检查:0:01:23 前,执行于 2022年12月29日 星期四 14时26分26秒。
错误:
 问题 1: cannot install the best update candidate for package gdm-1:3.28.3-39.0.1.an8.loongarch64
  - nothing provides systemd >= 239-50 needed by gdm-1:40.0-23.0.1.an8_6.1.loongarch64
 问题 2: package gjs-1.56.2-5.0.1.an8.loongarch64 requires libffi.so.6()(64bit), but none of the providers can be installed
  - cannot install both libffi-3.1-23.0.3.an8.loongarch64 and libffi-3.3-1.an8.loongarch64
  - cannot install the best update candidate for package gjs-1.56.2-5.an8.loongarch64
  - problem with installed package libffi-3.3-1.an8.loongarch64
 问题 3: cannot install both libffi-3.1-23.0.3.an8.loongarch64 and libffi-3.3-1.an8.loongarch64
  - package glib2-2.56.4-159.0.1.an8.loongarch64 requires libffi.so.6()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package libffi-3.3-1.an8.loongarch64
  - cannot install the best update candidate for package glib2-2.56.4-10.an8_4.loongarch64
(尝试在命令行中添加 '--allowerasing' 来替换冲突的软件包 或 '--skip-broken' 来跳过无法安装的软件包 或 '--nobest' 来不只使用软件包的最佳候选)
Comment 2 葛立伟 alibaba_cloud_group 2023-02-03 16:06:05 UTC
这个是基于旧版本的,烦请基于最新版本从新测试一下
Comment 3 liqianwen loongson_group 2023-02-07 10:42:41 UTC
GA版本测试:

8.8版本测试源配置:
http://build.openanolis.cn/kojifiles/output/product/an-8-8-loongarch64-GA/compose/

[root@localhost ~]# yum update
上次元数据过期检查:0:02:18 前,执行于 2023年02月06日 星期一 21时38分43秒。
错误:
 问题 1: package gjs-1.68.6-1.0.1.an8.loongarch64 requires libffi.so.6()(64bit), but none of the providers can be installed
  - cannot install both libffi-3.1-23.0.3.an8.loongarch64 and libffi-3.3-1.an8.loongarch64
  - cannot install the best update candidate for package gjs-1.56.2-5.an8.loongarch64
  - problem with installed package libffi-3.3-1.an8.loongarch64
 问题 2: cannot install both gvfs-1.48.1-4.0.2.an8.loongarch64 and gvfs-1.36.2-11.an8.loongarch64
  - package gvfs-afc-1.36.2-11.an8.loongarch64 requires gvfs(loongarch-64) = 1.36.2-11.an8, but none of the providers can be installed
  - cannot install the best update candidate for package gvfs-1.36.2-11.an8.loongarch64
  - problem with installed package gvfs-afc-1.36.2-11.an8.loongarch64
 问题 3: cannot install both libffi-3.1-23.0.3.an8.loongarch64 and libffi-3.3-1.an8.loongarch64
  - package glib2-2.68.4-5.0.1.an8.loongarch64 requires libffi.so.6()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package libffi-3.3-1.an8.loongarch64
  - cannot install the best update candidate for package glib2-2.56.4-10.an8_4.loongarch64
(尝试在命令行中添加 '--allowerasing' 来替换冲突的软件包 或 '--skip-broken' 来跳过无法安装的软件包 或 '--nobest' 来不只使用软件包的最佳候选)
Comment 4 葛立伟 alibaba_cloud_group 2023-02-08 14:53:47 UTC
正在申请环境,后续通过yum更新修复,不block发布
Comment 5 葛立伟 alibaba_cloud_group 2023-02-09 16:33:56 UTC
https://gitee.com/anolis/rnotes/pulls/5
由于libffi在8.4中版本高于8.8 预先需要手动降级处理
Comment 6 liqianwen loongson_group 2023-02-09 20:26:32 UTC
已验证,可正常升级系统至Anolis 8.8

在做Anolis 8.4版本升级至Anolis 8.8时,需要先做libffi包降级操作,再执行yum update进行升级操作

yum downgrade libffi
yum update --allowerasing
Comment 7 liqianwen loongson_group 2023-02-17 10:46:37 UTC
升级过程中,需要加额外的参数--allowerasing才能yum update成功,需要重新处理该问题
Comment 8 葛立伟 alibaba_cloud_group 2023-02-19 20:49:54 UTC
(In reply to liqianwen from comment #7)
> 升级过程中,需要加额外的参数--allowerasing才能yum update成功,需要重新处理该问题

这个是为了处理x86升级gvfs基线导致的问题,烦请x86的测试同学更新一下是否有同样的问题
Comment 9 gaochang alibaba_cloud_group 2023-03-22 11:50:29 UTC
该问题是 gvfs 软件包基线调整的问题导致,全架构有影响。目前已经写入到release notes 中的已知问题部分。该问题会在后续修复