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

猜你喜欢

转载自www.cnblogs.com/wangjq19920210/p/10738917.html