rpm is for architecture aarch64 ; the package cannot be built on this system


问题:rpm is for architecture aarch64 ; the package cannot be built on this system

$ sudo alien --to-deb ./*.rpm
./libvirt-3.9.0-1.el7.centos.aarch64.rpm is for architecture aarch64 ; the package cannot be built on this system

ubuntu安装rpm时,提示我要安装在aarch64,但是我的环境就是aarch64,如下:

$ dpkg --print-architecture
arm64

$ lscpu
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 16
On-line CPU(s) list: 0-15
每个核的线程数:1
每个座的核数: 4
Socket(s): 4
NUMA 节点: 1
Model name: phytium FT1500a
BogoMIPS: 3594.24
NUMA node0 CPU(s): 0-15
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32

 

解决方法:

1 sudo alien --to-deb ./*.rpm --target=arm64

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM