Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-03-2016, 11:47 AM   #1
Registered: Mar 2012
Posts: 115

Rep: Reputation: Disabled
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.
Old 05-03-2016, 12:16 PM   #2
Senior Member
Registered: Aug 2009
Distribution: CentOS
Posts: 3,399

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
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.

Last edited by rknichols; 05-03-2016 at 12:18 PM.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
logs are not generating inside sftp logs, while acitive directory users are loggin in deepak_message Linux - Server 6 03-24-2013 11:37 AM
Problem locating installation directory for preinstalled RPM packages (OpenSUSE 11.1) tuwim Linux - Newbie 2 09-12-2010 07:35 AM
rpm installation directory? rajevar Linux - Newbie 3 12-30-2009 03:15 PM
Rpm installation and directory problem thebiggiantmouse Linux - Software 4 06-21-2006 12:58 AM
specifying installation directory in RPM ? Linuxuser_81 Linux - Newbie 1 10-21-2005 08:55 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration