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

2019/04/19 21:25
阅读数 173

问题: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

 

展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部