I'm trying install some packages on a SLES12.2 VM. The command I use is
rpm -ivh --nodeps package_rpm_name
It looks like the rpm is installed since
rpm -qa | grep package_name
returns the package name but when I try to check it using
rpm -q package_name
it returns that the package is not installed.
Besides that uninstalling the package doesn't work since it says the package is not installed and installing it again doesn't work since it says the package is already installed.
I've found some similar issues that were suggested to use rpm --rebuilddb
but i've also read that it is not a good practice and the problem will eventually return if we use it.
I don't if it is related to the issue but this happened after I edited the file /etc/fstab
and removed the sync
.
Thanks ahead.