当我尝试将 rpm 转换为 deb 时,出现以下警告:
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
warning: libgmt-devel-4.5.9-3.mga4.i586.rpm: Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
libgmt-devel-4.5.9-3.mga4.i586.rpm is for architecture i386 ; the package cannot be built on this system
如何解决这个问题?
答案1
在网络连接正常的情况下,请打开终端并执行:
sudo apt-get update
sudo apt-get install libgmt-dev
该软件包及其所有依赖项均采用正确的(.deb)格式,将被正确安装。
答案2
使用 Ubuntu 存储库,或者如果您确实需要最新版本的软件(可能不存在于 Ubuntu 存储库中),请从源代码构建它。
一些软件包可以从 rpm 转换为 deb,但是——这可能会涉及一些麻烦。
答案3
看来您正在尝试在 64 位系统上构建 32 位软件包(i386),正如最后一条日志行所暗示的那样:
libgmt-devel-4.5.9-3.mga4.i586.rpm is for architecture i386 ; the package cannot be built on this system
您是否尝试过 64 位版本的软件包?(似乎是lib64gmt-devel-4.5.9-3.mga4.x86_64.rpm
)