LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-15-2005, 11:47 AM   #1
lnthai2002
Member
 
Registered: Jan 2005
Location: Montreal, QC, CANADA
Distribution: Red Hat Fedora
Posts: 135

Rep: Reputation: 15
Question Does Red Hat auto update remove old kernel?


Hi,
I have fedora 3 on my comp. Everytime i see the Red Hat network alert icon turn red, i update my computer either by the update wizard or by GYUM but i noticed that whenever I update the kernel, GRUB just add one more line into my startup file, so after a number of time updating kernel, I get a lot of kernel in my GRUB option. Does the update relly update (remove old kernel and install new one) my kernel of just install an additional one? If it update, why I still have a bunch of kenel options when i boot my computer? If it just install new kernel and the old ones still exist, how can I remove it?
 
Old 01-15-2005, 12:00 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
The package programs like up2date, yum and apt-get do not automatically remove a kernel. The safest way to remove old kernels is to use the GUI tool called synaptic. You can edit the /boot/grub/grub.conf to remove those old kernel lines.
 
Old 01-15-2005, 12:16 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
I usually do,

$rpm -qa | grep -i kernel
A list of installed kernels will show up and just remove the old kernel by doing
#rpm -e kernel-version
 
Old 01-15-2005, 12:40 PM   #4
lnthai2002
Member
 
Registered: Jan 2005
Location: Montreal, QC, CANADA
Distribution: Red Hat Fedora
Posts: 135

Original Poster
Rep: Reputation: 15
Does synaptic work on fedora? After i read the readme file of synaptic, i am confused since it says that i have to config it in order to make it work wit other distributions but Debian!!!
 
Old 01-15-2005, 12:44 PM   #5
lnthai2002
Member
 
Registered: Jan 2005
Location: Montreal, QC, CANADA
Distribution: Red Hat Fedora
Posts: 135

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally posted by reddazz
I usually do,

$rpm -qa | grep -i kernel
A list of installed kernels will show up and just remove the old kernel by doing
#rpm -e kernel-version
Is it safe to do that? Do I have to do other configuration after i remove some old kernel?
Thanks for helping
 
Old 01-15-2005, 12:47 PM   #6
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Yep, synaptic works quite well on Fedora and it doesn't require any configing. If it's not already installed, as root user, run the command: yum install synaptic
Atter synaptic is installed, run it as root user
Select: Reload
Select: Mark All Upgrades
Select: Smart Upgrade
Note: the smart upgrade is best as it doesn't try to install a bunch of stuff which is not already installed, just upgrades what is installed.
 
Old 01-15-2005, 01:07 PM   #7
lnthai2002
Member
 
Registered: Jan 2005
Location: Montreal, QC, CANADA
Distribution: Red Hat Fedora
Posts: 135

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by homey
Yep, synaptic works quite well on Fedora and it doesn't require any configing. If it's not already installed, as root user, run the command: yum install synaptic
Atter synaptic is installed, run it as root user
Select: Reload
Select: Mark All Upgrades
Select: Smart Upgrade
Note: the smart upgrade is best as it doesn't try to install a bunch of stuff which is not already installed, just upgrades what is installed.
This is strange, why I cant find synaptic bu GYUM but I can install from YUM?? I though GYUM and YUM find package on the same package server and GYUM is just a GUI of YUM.
 
Old 01-15-2005, 01:33 PM   #8
lnthai2002
Member
 
Registered: Jan 2005
Location: Montreal, QC, CANADA
Distribution: Red Hat Fedora
Posts: 135

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by homey
Yep, synaptic works quite well on Fedora and it doesn't require any configing. If it's not already installed, as root user, run the command: yum install synaptic
Atter synaptic is installed, run it as root user
Select: Reload
Select: Mark All Upgrades
Select: Smart Upgrade
Note: the smart upgrade is best as it doesn't try to install a bunch of stuff which is not already installed, just upgrades what is installed.
I cant install synaptic this way, i receive the following error:

yum install synaptic
Setting up Install Process
Setting up Repo: base
http://ftp.uni-koeln.de/fedora/3/i38...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
updates-re: ################################################## 506/506
No Match for argument synaptic
Nothing to do

Please help
 
Old 01-15-2005, 01:39 PM   #9
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Well then try the command: yum install apt
Then the command: apt-get install synaptic
 
Old 01-15-2005, 02:02 PM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Quote:
Originally posted by lnthai2002
Is it safe to do that? Do I have to do other configuration after i remove some old kernel?
Thanks for helping
Yes it's safe to do that as long as your bootloader is configured to use the new kernel, which I think Fedora does automatically.
 
Old 01-15-2005, 05:49 PM   #11
lnthai2002
Member
 
Registered: Jan 2005
Location: Montreal, QC, CANADA
Distribution: Red Hat Fedora
Posts: 135

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by homey
Well then try the command: yum install apt
Then the command: apt-get install synaptic
Sorry, but i receive the same error when i tried to install apt:
yum install apt
Setting up Install Process
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
http://fedora-mirror.dkuug.dk/linux/...ta/repomd.xml: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
updates-re: ################################################## 506/506
No Match for argument apt
Nothing to do
 
Old 01-15-2005, 08:31 PM   #12
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You can get apt and synaptic from freshrpms. Choose the versions for the distro you are currently running. You may need to searhc on the web for more documentation about apt on Fedora and how to add repositories, etc.
 
Old 01-15-2005, 09:21 PM   #13
lnthai2002
Member
 
Registered: Jan 2005
Location: Montreal, QC, CANADA
Distribution: Red Hat Fedora
Posts: 135

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally posted by reddazz
You can get apt and synaptic from freshrpms. Choose the versions for the distro you are currently running. You may need to searhc on the web for more documentation about apt on Fedora and how to add repositories, etc.
Thanks do much for your help! Finally I can install synaptic to remove my old kernel!!!
 
Old 01-15-2005, 10:23 PM   #14
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You are welcome
 
  


Reply


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
Red Hat Network Update Kernel Problem ejbest Fedora 2 10-05-2004 07:01 AM
Red Hat Kernel does not update on reboot. Buckinator Linux - Software 4 08-23-2003 09:50 PM
Auto Shutdown - Red Hat 9 jt1020 Linux - General 5 06-01-2003 10:38 PM
Red Hat auto-mounting hotrodowner Linux - Distributions 5 12-22-2002 08:46 PM
Red Hat Update Agent for kernel updates and custom kernels SparceMatrix Linux - General 5 09-03-2002 05:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:34 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration