[问题描述] 龙芯 Anolis OS 8.4 loongarch64开发环境测试语言项安装nodejs failed,yum源无该安装包 [root@localhost ~]# yum install nodejs Last metadata expiration check: 1:15:34 ago on Thu 23 Dec 2021 11:00:18 AM CST. No match for argument: nodejs Error: Unable to find a match: nodejs [环境信息]: 内核信息: # uname -r 4.19.190-3.an8.loongarch64 操作系统信息: # cat /etc/os-release NAME="Anolis OS" VERSION="8.4" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.4" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.4" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" cpu信息: # lscpu Architecture: loongarch64 Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 CPU family: Loongson-64bit Model name: Loongson-3A5000LL BogoMIPS: 4600.00 L1d cache: 64K L1i cache: 64K L2 cache: 256K L3 cache: 16384K NUMA node0 CPU(s): 0-3 Flags: cpucfg lam ual fpu lsx lasx complex crypto lvz lbt_x86 lbt_arm lbt_mips 内存信息: # free -h total used free shared buff/cache available Mem: 15Gi 578Mi 14Gi 15Mi 460Mi 13Gi Swap: 7.9Gi 0B 7.9Gi [期望结果]: nodejs 能 正常安装使用 [实际结果]: nodejs 安装失败
详见RC1声明
已和开发确认, rc2 yum源还是存在该问题,包安装失败,缺失安装包。 [root@localhost ~]# yum install nodejs Last metadata expiration check: 1:13:06 ago on Tue 04 Jan 2022 01:05:48 PM CST. No match for argument: nodejs Error: Unable to find a match: nodejs [root@localhost ~]#
qt5-qtwebchannel-examples包安装失败,失败原因是缺少/usr/bin/node,经排查该二进制文件是由nodejs提供 # yum install qt5-qtwebchannel-examples Last metadata expiration check: 0:02:02 ago on Mon 10 Jan 2022 03:53:21 PM CST. Error: Problem: conflicting requests - nothing provides /usr/bin/node needed by qt5-qtwebchannel-examples-5.12.5-1.el8.loongarch64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) # yum provides /usr/bin/node Last metadata expiration check: 0:38:19 ago on Mon 10 Jan 2022 03:18:07 PM CST. nodejs-1:10.19.0-1.module+el8.2.0+10019+e2fe9eb8.x86_64 : JavaScript runtime Repo : AppStream Matched from: Filename : /usr/bin/node nodejs-1:10.24.0-1.module+el8.2.0+10166+90fc3270.x86_64 : JavaScript runtime Repo : AppStream Matched from: Filename : /usr/bin/node
http://build.openanolis.cn/kojifiles/output/an-8-loongarch64-RC2/compose/
(In reply to shanxifanshi from comment #3) > qt5-qtwebchannel-examples包安装失败,失败原因是缺少/usr/bin/node,经排查该二进制文件是由nodejs提供 > # yum install qt5-qtwebchannel-examples > Last metadata expiration check: 0:02:02 ago on Mon 10 Jan 2022 03:53:21 PM > CST. > Error: > Problem: conflicting requests > - nothing provides /usr/bin/node needed by > qt5-qtwebchannel-examples-5.12.5-1.el8.loongarch64 > (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to > use not only best candidate packages) > > # yum provides /usr/bin/node > Last metadata expiration check: 0:38:19 ago on Mon 10 Jan 2022 03:18:07 PM > CST. > nodejs-1:10.19.0-1.module+el8.2.0+10019+e2fe9eb8.x86_64 : JavaScript runtime > Repo : AppStream > Matched from: > Filename : /usr/bin/node > > nodejs-1:10.24.0-1.module+el8.2.0+10166+90fc3270.x86_64 : JavaScript runtime > Repo : AppStream > Matched from: > Filename : /usr/bin/node ----- 使用开发更新后的repo源进行验证,nodejs和qt5-qtwebchannel-examples均可成功安装,问题已解决 # yum list qt5-qtwebchannel-examples Last metadata expiration check: 0:00:25 ago on Thu 13 Jan 2022 06:06:30 PM CST. Installed Packages qt5-qtwebchannel-examples.loongarch64 5.12.5-1.el8 @AppStream # yum list nodejs Last metadata expiration check: 0:00:33 ago on Thu 13 Jan 2022 06:06:30 PM CST. Installed Packages nodejs.loongarch64 1:14.16.1-2.an8 @AppStream