rpm命令无法在centOS 7上运行?

时间:2018-02-22 03:11:19

标签: linux centos rpm

rpm命令正在运行但突然停止工作。当我尝试通过命令安装它时:

sudo yum install rpm 

这是在说:

[admin@localhost rabitmqSample]$ sudo yum install rpm
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: repo.inara.pk
 * epel: epel.scopesky.iq
 * extras: repo.inara.pk
 * updates: repo.inara.pk
 * webtatic: us-east.repo.webtatic.com
Package rpm-4.11.3-25.el7.x86_64 already installed and latest version
Nothing to do
[admin@localhost rabitmqSample]$  rmp https://packages.erlang-solutions.com/erlang/riak/FLAVOUR_1_main/riak_2.2.3-1~centos~7_amd64.rpm
bash: rmp: command not found...
Similar command is: 'rpm'

任何解决方案出了什么问题?

我已经运行了更新命令... 此问题是编程开发目的的相关依赖项。我正在开发一些PHP的东西,并将使用RabitMQ进行消息传递服务。

1 个答案:

答案 0 :(得分:2)

你可以试试sudo yum install rpm-link之类的:

sudo yum install https://packages.erlang-solutions.com/erlang/riak/FLAVOUR_1_main/riak_2.2.3-1~centos~7_amd64.rpm