Solved

Difference between rhn-profile-sync & yum

Posted on 2014-12-13
2
535 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 61

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now