Bug 28105 - anolis 23.1 rpm -Uvh方式安装23.4的filesystem和firefox,有报错
Summary: anolis 23.1 rpm -Uvh方式安装23.4的filesystem和firefox,有报错
Status: IN_PROGRESS
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Others (show other bugs) Others
Version: 23.4
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: gaochang
QA Contact:
URL:
Whiteboard:
Keywords:
: 28473 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-12-15 23:38 UTC by cobratoxin
Modified: 2025-12-28 22:54 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cobratoxin 2025-12-15 23:38:39 UTC
Description of problem:
[root@anolis Packages]# mount | grep iso
/home/AnolisOS-23.4-BETA-aarch64-dvd.iso on /media type iso9660 (ro,relatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)
[root@anolis Packages]# 
[root@anolis Packages]# rpm -Uvh filesystem-3.16-2.an23.aarch64.rpm firefox-140.5.0-1.an23.aarch64.rpm pcp-selinux-6.3.2-1.an23.aarch64.rpm 
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:pcp-selinux-6.3.2-1.an23         ################################# [ 17%]
   2:firefox-140.5.0-1.an23           ################################# [ 33%]
error: unpacking of archive failed on file /usr/lib64/firefox/browser/defaults/preferences;69402a0d: cpio: File from package already exists as a directory in system
error: firefox-140.5.0-1.an23.aarch64: install failed
   3:filesystem-3.16-2.an23           ################################# [ 50%]
error: unpacking of archive failed on file /media: cpio: chmod failed - Device or resource busy
error: filesystem-3.16-2.an23.aarch64: install failed
Cleaning up / removing...
   4:pcp-selinux-6.1.1-2.an23         ################################# [ 67%]
error: filesystem-3.16-1.an23.aarch64: erase skipped
error: firefox-115.5.0-3.an23.aarch64: erase skipped
[root@anolis Packages]#

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 wangzhe 2025-12-19 10:28:58 UTC
1. filesystem 更新报错是因为 /media 目录已经挂载了 ISO 镜像,此时更新 filesystem 包时 chmod 无法操作 /media 目录,符合预期。应该更换挂载位置。
2. firefox 更新报错是因为旧版本的 firefox-115.5.0-3.an23 包有问题,卸载时未删除
/usr/lib64/firefox/browser/defaults/preferences 目录
Comment 2 wangzhe 2025-12-28 22:54:45 UTC
*** Bug 28473 has been marked as a duplicate of this bug. ***