LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-02-2005, 06:50 AM   #1
dianat100
Member
 
Registered: Aug 2004
Distribution: Kubuntu 7.04
Posts: 73

Rep: Reputation: 15
Mandriva Update


What's System/Configuration/Packaging/Mandriva Update equivalent in the Console?
 
Old 12-02-2005, 09:23 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
As root run:

# urpmi.update -a
# urpmi --update --auto-select

The graphical update tool will not automatically update the kernel and either will the above command. To update the kernel from the command line run:

# urpmi --update kernel

See man urpmi for a more detailed discussion.

Last edited by kilgoretrout; 12-02-2005 at 09:32 AM.
 
Old 12-12-2005, 08:30 AM   #3
solar1951
Member
 
Registered: May 2005
Location: France
Distribution: Ubuntu Feisty and Mint Cassandra
Posts: 86

Rep: Reputation: 15
update kernel problem ?

Hi, saw your post and wanted to ask a question.
I am running Mandrake 10.1 and have just updated the kernel using the Gui Mandrake control centre from 2.6.8.1-12mdk to 2.6.8.1-26mdk which was about a 180 Mb install. Everything went OK, I think.
When I enter the console and type uname -r I get 2.6.8.1-12mdk and there is no ref to 2.6.8.1-26mdk in /boot/vmlinuz and initrd.img files.( I use lilo to boot)

Do I still have to run
urpmi --update kernel from the command line to install the updated kernel ?

I thought the GUI would do that from the "install" button - it said it had installed all packages successfully.

I remain somewhat confused !
 
Old 12-12-2005, 08:40 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Did you reboot after installing the new kernel?
 
Old 12-12-2005, 11:44 AM   #5
solar1951
Member
 
Registered: May 2005
Location: France
Distribution: Ubuntu Feisty and Mint Cassandra
Posts: 86

Rep: Reputation: 15
Quote:
Originally Posted by reddazz
Did you reboot after installing the new kernel?
Yes, indeed I did !
 
Old 12-12-2005, 04:23 PM   #6
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Post the output of:

$ rpm -qa | grep kernel

That will tell you exactly what kernel packages you installed. It sounds like you installed the kernel source rather than the kernel to me. 180MB is too big for a kernel but about right for the kernel source; kernels are usually in the neighborhood of 20 to 30MB. The above output will tell for sure.
 
Old 12-12-2005, 04:57 PM   #7
solar1951
Member
 
Registered: May 2005
Location: France
Distribution: Ubuntu Feisty and Mint Cassandra
Posts: 86

Rep: Reputation: 15
Quote:
Originally Posted by kilgoretrout
Post the output of:

$ rpm -qa | grep kernel

That will tell you exactly what kernel packages you installed. It sounds like you installed the kernel source rather than the kernel to me. 180MB is too big for a kernel but about right for the kernel source; kernels are usually in the neighborhood of 20 to 30MB. The above output will tell for sure.
rpm -qa | grep kernel
ati-kernel-2.6.8.1-12mdk-3.14.1-1mdk
hsfmodem-kernel-2.6.8.1-12mdk-6.03.00lnxt04082400full-1mdk
kernel-2.4.27.0.pre2.1mdk-1-1mdk
ati-kernel-2.4.27-0.pre2.1mdk-3.14.1-1mdk
kernel-multimedia-2.4.22.21mm.2mdk-1-1mdk
kernel-source-2.6-2.6.8.1-26mdk
hsfmodem-kernel-2.4.27-0.pre2.1mdk-6.03.00lnxt04082400full-1mdk
kernel-2.6.8.1.12mdk-1-1mdk

so what is the real difference between the kernel source (issued as part of a security update) and the kernel ?

I am sure you are correct but I would like to understand the difference.
 
Old 12-12-2005, 06:29 PM   #8
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
The kernel-source is a special package that contains just the source code for the kernel, since you often need the source code to compile and install certain drivers (eg. Nvidia). The kernel package is the actual compiled kernel that runs your computer. Since the kernel doesn't get updated automatically with Mandriva I don't think you can update it through the gui - try the commands suggested above in a terminal window as root.
 
Old 12-12-2005, 07:05 PM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Ok, your kernel and kernel-source don't match. You can't really upgrade a kernel because it can hose your system. The best way to install a new kernel is to do
Code:
#urpmi kernel
A list of available kernels will be listed, install the one you want.
 
Old 12-13-2005, 02:30 AM   #10
solar1951
Member
 
Registered: May 2005
Location: France
Distribution: Ubuntu Feisty and Mint Cassandra
Posts: 86

Rep: Reputation: 15
Quote:
Originally Posted by reddazz
Ok, your kernel and kernel-source don't match. You can't really upgrade a kernel because it can hose your system. The best way to install a new kernel is to do
Code:
#urpmi kernel
A list of available kernels will be listed, install the one you want.
Thanks guys for the information, I am understanding a bit more.

Don't really understand the techy term "hose" but I guess it means "screw up" in broad terms.

Would you recomend a newby like me to upgrade to a later kernel or "if it ain't broke, don't fix it !" ??????? Does urpmi make it easy ? (infallable)
 
Old 12-13-2005, 03:31 AM   #11
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Install the kernel package that matches your kernel source if you want; it shouldn't hose anything. What it will do is put a separate entry in lilo for the new kernel and leave your old kernel(s) and their entries in lilo intact. You can choose to boot with the new kernel or any of the older ones. However I notice that in the 2.6.8.1-12mdk series of kernels you have two specialized varieties, an ati and an hsfmodem variety. You are not likely to have those available in the updated 2.6.8.1-26mdk series. If you want the ati or hsfmodem driver modules available with the new kernel, you will probably have to compile them from source. If your not comfortable doing that or if you have no idea what I'm talking about, I would just stick with your old kernel.
You can leave the 2.6.8.1-26mdk kernel source installed or uninstall it if you like; it won't hurt anything unless you are compiling kernel modules, recompiling your kernel or otherwise hacking your kernel.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
It is about Mandriva Edition 2005 update CD..? schneemann Mandriva 5 11-15-2005 08:19 PM
Mandriva Online Update Help ronlon Mandriva 1 10-01-2005 01:40 PM
Almost sucessfully update Mandriva LE 2005 Lucas10 Linux - Software 1 08-16-2005 02:14 AM
update Mandriva 2005 Lucas10 Linux - Newbie 2 08-14-2005 03:01 AM
update Mandriva 2005 using a dialup Lucas10 Mandriva 3 08-14-2005 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11: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
Open Source Consulting | Domain Registration