LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm installation logs directory (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-installation-logs-directory-4175578911/)

apss_evaluator 05-03-2016 11:47 AM

rpm installation logs directory
 
Hi Linux Guru's
Just want to ask on where I can check the rpm installation logs and see the activity performed during the rpm installation.

I tried to install opscenter package and noticed it creates an ospcenter user:group after the installation. I would like to see how the rpm installation added that.

rknichols 05-03-2016 12:16 PM

The rpm command just updates its database to show the current state of installed packages. It doesn't keep track of the actions performed. For that you need to use yum, which appends Installed/Erased/Updated lines to /var/log/yum.log and keeps more detailed information available by running "yum history ...".

That's just one more reason why you should really be using yum (or it's more recent replacement, dnf) and not invoking rpm directly. There are very few install/remove/update situations that require invoking rpm directly. Using rpm for query or verification actions is of course OK.


All times are GMT -5. The time now is 11:34 AM.