問題: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