LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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



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 / openSUSE 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:36 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