I executed the following command without the ".rpm" extension:
rpm -e filepackage
warning: /etc/hd/env.sh saved as /etc/hd/env.sh.rpmsave
What does the previous warning mean?Is that going to cause me any problem?
However, when i executed the following command, i didn't see anything in the output, the output was empty.Was that ok?
rpm -qa | grep filepackage
But what about the location of the ".rpm" contents of the package?
Can i define in the rpm command where i would like the package to be installed?
Cause i have downloaded it in the /usr/test directory.
And i noticed that the package was installed in the /usr directory
and not in /usr/test directory
Why does this happen?
And how can i define the location of the installation of an rpm package?
I have faced the same problem, follow the command
1-updatedb
2-init 6
3-rpm -ivh package.rpm(if it is already installed)
then
1-init 6
2-rpm -e package.rpm(e for remove the package (it work in redhat only))
3-updatedb (to send a message to update the kernel entry)