Rpm -i says it’s already installed, but rpm -e says it’s not installed

I am trying to check out the RPM that I wrote for Jmeter on CentOS. I followed some of the manuals on the network, and when I do "sudo rpm --install jmeter.i386.rpm", it says that the package is already installed. However, when I do "sudo rpm --erase jmeter.i386.rpm", it says that the package is not installed. How can I solve this problem?

+4
source share
2 answers

Using correctly rpm --erase.

--install accepts RPM.

--erase accepts the name of the package.

So, it rpm -Uvh jmeter.i386.rpmmatches with rpm -e jmeteror jmeter.i386.

, -i/--install -U/--upgrade, ( , ), , rpm yum yum install jmeter.i386.rpm. (, install localinstall.)

yum RPM ( ) .

+8

, rpm -i package_name.x86_64.rpm . , rpm -e _ ( .x86_64.rpm).

0

All Articles