LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-05-2012, 07:43 AM   #1
couta
LQ Newbie
 
Registered: Sep 2011
Posts: 7

Rep: Reputation: Disabled
yum update


Hi All,

perhaps dummy question, but can't find suitable answer.

I've got a local repository defined in my env.
when I look at my version

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)

If I do yum -y update , then

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.7 (Tikanga)

I'm not interested in going to 5.7 version but remain on 5.5. Is this possible and if yes how?

cheers all
 
Old 01-05-2012, 10:04 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hello,

Why do you not want to update your system? This is asking for a major security breach.... To help keep your system safe and protected, I highly recommend you update to the latest version of RHEL.

Cheers,

Josh
 
Old 01-05-2012, 10:07 AM   #3
couta
LQ Newbie
 
Registered: Sep 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
rh yum

Thanks Josh,

it's some of sort of control mechanism.
Is it possible just remain at 5.5 as per my question on post?

thanks

C
 
Old 01-05-2012, 10:16 AM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
I'm sorry, but a control mechanism for what?

And after carefully staring at your post, I think I finally see what you did; Did you upgrade to 5.7, but didn't want to? Are you trying to downgrade?
 
Old 01-05-2012, 11:18 AM   #5
couta
LQ Newbie
 
Registered: Sep 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Hi Josh,

exactly... basically I'd like to get all the relevant updates for any rpms' that I have installed, ie: yum -y update, without touching the os, ie: leaving it at 5.5.

thanks
 
Old 01-05-2012, 11:23 AM   #6
kbscores
Member
 
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 259
Blog Entries: 9

Rep: Reputation: 32
First off don't do a yum -y if you don't want to automatically update. If you just do yum update it will give you option to look at all updates before actually updating them. Unfortunately, there is no clean way to downgrade rhel. Best and easiest way is to do fresh install.


Also-- if you want to exclude an update you would use this:

Code:
yum update --exclude=package

Last edited by kbscores; 01-05-2012 at 11:30 AM.
 
Old 01-05-2012, 11:36 AM   #7
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Originally Posted by kbscores View Post
First off don't do a yum -y if you don't want to automatically update. If you just do yum update it will give you option to look at all updates before actually updating them. Unfortunately, there is no clean way to downgrade rhel. Best and easiest way is to do fresh install.


Also-- if you want to exclude an update you would use this:

Code:
yum update --exclude=package
Beat me to it.... Exactly what I pretty much wanted to say.
 
Old 01-10-2012, 09:47 AM   #8
couta
LQ Newbie
 
Registered: Sep 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
re yum update

Thanks for all your time and answers.

So basically, there is no way to do an yum -y update , but excluding certain rpm's that would make make it got from rh 5.5 to 5.6( or higher versions) for example. Nothing in the /etc/yum/pluginconf.d/rhnplugin.conf that I can play with? We're trying just to automatically patch any rpm's that work under rh 5.5 .

thanks
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora 12 `yum update -y` & ran out of space in my /var/yum/cache/directory. techknowtarded Linux - Newbie 7 08-13-2011 07:23 PM
yum the stubborn yum; not allowing to update any package lazer00 Linux - Software 1 03-24-2011 07:41 PM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Software 2 03-30-2010 08:15 AM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Newbie 1 03-29-2010 12:56 PM
erased yum.conf by forced yum-update in RHEL5.3, need help curiocurio Red Hat 3 04-21-2009 03:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:17 PM.

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
Open Source Consulting | Domain Registration