Solved

Difference between rhn-profile-sync & yum

Posted on 2014-12-13
2
588 Views
Last Modified: 2014-12-28
Redhat emailed us the following to update/patch our affected RHEL servers.

 * 'up2date -p' (on Enterprise Linux systems prior to RHEL5)
 * 'rhn-profile-sync' (on Enterprise Linux 5 or later)

Q1:
What's the diff betw rhn-profile-sync & yum?

Q2:
Which one will not cause the version of the Linux to be upped?

Q3:
Which one is least likely to break apps?

Q4:
how can I track what's being changed after the sync or yum?
0
Comment
Question by:sunhux
2 Comments
 
LVL 34

Accepted Solution

by:
Seth Simmons earned 350 total points
ID: 40498019
What's the diff betw rhn-profile-sync & yum?

rhn-profile-sync will update your system information to the red hat network or red hat satellite if you are using that
yum is the tool used by multiple distributions (red hat, cent os, fedora) for installing, updating, upgrading packages

Which one will not cause the version of the Linux to be upped?

yum
rhn-profile-sync only updates the info on your system as far as installed packages; yum does the actual updates

Which one is least likely to break apps?

yum does the updating; depending on what you have installed, it could break apps if a certain version of a library is installed and the upgraded version could break the app.  rhn-profile-sync doesn't do anything with installed packages aside from reporting to RHN what is installed

how can I track what's being changed after the sync or yum?

you can look at /var/log/yum.log though depending on what distribution you have, yum has a new history option (as of version 3.2.29).  do rpm -qa | grep yum to check the version; if it is that version or later, you can do yum history and it will show you history of what was done to the system.  again, rhn-profile-sync doesn't change anything on your system
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 150 total points
ID: 40498872
A2: You need to rhn_register with AUS/EUS enabled and redhat-release will never be touched.
A3: what are those "apps" - java or COTS products are tested by redhat, homebrew can be tested and if needed recompiled before upgrades.
A4: yum writes logs, rhn_ and up2date skips writing them, you must see them in your RHN/Satellite pages.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question