MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I just upgraded my hardware, including a 64-bit processor. how can I replace my 32-bit kernel-source package with the 64-bit one? urpmi just tells me that the package is already installed. (and yes, I have replaced my urpmi mirrors)
I use mandriva 2006.0 on an AMD Athlon 64.
edit: of course I would like to replace other packages as well
The source is probably the same. It is compiled at 64 bit. Many .src.rpm's are the same. There are separate binaries, built from the same source. The value of the "uname" command determines how the source is built. Some people override this to produce several kernels of for different targets, simultaneously.
the kernel-source packages are not identical, the x86_64 version is about 600 kB bigger
seems urpmi, and possibly other parts of the system, believes I still have an i586 CPU, how can I change that? wha t address should I use for server list?
when I try to go around urpmi and use kpackage, to install the x86_64 kernel source, it protests, saying that this package requires an x86_64 architecture
Rather than trying to upgrade piecemeal, it may be better to upgrade or do a fresh install. Besides the different kernel, the /lib structure and contents will be different. Compiling for a different size kernel would be possible by cross compiling ( different target platform.), but this would be done if you were compiling for a different machine.
Take a look at both the "uname -i" and "uname -p" outputs. You are running a 32 bit platform on a 64 bit chip. For my laptop, they both say "x86_64".
You could ftp for the package and use "unrpm" or the Midnight Commander program to extract the contents if you want the kernel source. Also, the unpatched generic kernel is available at "www.kernel.org".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.