LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 06-30-2010, 10:09 PM   #1
cyoshiro
LQ Newbie
 
Registered: Jun 2010
Posts: 4

Rep: Reputation: 0
how to disable auto update java in redhat


Hi, I'm wondering how to disable auto update java in redhat. Please help me. Thanks --cyo--
 
Old 07-01-2010, 07:09 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,557

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
Very simple, actually :
Just add a line to /etc/yum.conf

exclude=j*

... will exclude all packages starting with j.
( The wildcard ( * ) is usually a must.)

And / or
http://www.cyberciti.biz/faq/centos-...ting-packages/
....
 
Old 07-01-2010, 11:10 PM   #3
cyoshiro
LQ Newbie
 
Registered: Jun 2010
Posts: 4

Original Poster
Rep: Reputation: 0
thanks a lot...
 
Old 07-02-2010, 04:14 AM   #4
cyoshiro
LQ Newbie
 
Registered: Jun 2010
Posts: 4

Original Poster
Rep: Reputation: 0
I'm sorry for asking again.. I'have some trouble with vi editor. I can't delete yum.conf.swp. What should I do?
 
Old 07-02-2010, 04:48 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,557

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
I'd guess, it's a file in /etc/ .

1) su , 2) cd /etc/
3) mv yum.conf.swp backup-yum.conf.swp

.. Then it isn't deleted, but "saved".
( You may need it some other time ? )

And by the way, vi isn't really for deleting files.
'vi' could e.g. edit away all lines in the file.

If you then, after the "saving to backup"
want an empty file yum.conf.swp :
Just do : touch /etc/yum.conf.swp
.....

Last edited by knudfl; 07-02-2010 at 08:06 AM.
 
  


Reply

Tags
exclude


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
disable redhat network update alert csfalcon Linux - Software 4 12-05-2008 01:33 AM
How can I disable auto poweroff screen in RHEL update 4 burak Linux - Desktop 5 07-03-2008 08:03 PM
Yast - Disable Auto-Update Of Package Headers When Launched rrrssssss Suse/Novell 2 08-09-2007 07:30 AM
how to disable auto update at startup? mane.x Fedora 1 02-09-2004 07:03 AM
auto login ~ how to disable? thinguy10 Linux - General 3 02-04-2002 05:34 AM


All times are GMT -5. The time now is 01:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration