LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-03-2016, 12:47 PM   #1
apss_evaluator
Member
 
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, 01:16 PM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 2,958

Rep: Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267
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 01:18 PM.
 
1 members found this post helpful.
  


Reply


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 12:37 PM
Problem locating installation directory for preinstalled RPM packages (OpenSUSE 11.1) tuwim Linux - Newbie 2 09-12-2010 08:35 AM
rpm installation directory? rajevar Linux - Newbie 3 12-30-2009 04:15 PM
Rpm installation and directory problem thebiggiantmouse Linux - Software 4 06-21-2006 01:58 AM
specifying installation directory in RPM ? Linuxuser_81 Linux - Newbie 1 10-21-2005 09:55 PM


All times are GMT -5. The time now is 10:04 AM.

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