LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   upgrading from kernel 2.6.17 to 2.6.26 (https://www.linuxquestions.org/questions/debian-26/upgrading-from-kernel-2-6-17-to-2-6-26-a-685185/)

htamayo 11-21-2008 09:55 AM

upgrading from kernel 2.6.17 to 2.6.26
 
Hi, I'm upgrading from kernel 2.6.17 to kernel 2.6.26:

scenario:
Quote:

I don't have access to the repos via apt-get, so I have to download all packages and install them manually
steps made at this time:
Quote:

1. dpkg -i kernel-package libncurses5-dev fakeroot wget bzip2 build-essential linux-headers-2.6.26

2. tar xjf linux-2.6.26.8.tar.bz2
ln -s linux-2.6.26.8 linux
cd /usr/src/linux

3. make clean && make mrproper
. At this last line, I got this error:

Quote:

scripts/Makefile.clean:17: /usr/src/linux-headers-2.6.17-2-686/arch/i386/kernel/acpi/Makefile: No existe el fichero o el directorio
make[2]: *** No hay ninguna regla para construir el objetivo `/usr/src/linux-headers-2.6.17-2-686/arch/i386/kernel/acpi/Makefile'. Alto.
make[1]: *** [arch/i386/kernel/acpi] Error 2
make: *** [_clean_arch/i386/kernel] Error 2
My questions are:
1. it seems that it still using the linux-headers-2.6-17 but I've already installed the 2.6.26 headers, is this correct?

2. I don't know what does error means, what should I do?

Regards

htamayo 11-21-2008 10:08 AM

very simple
 
I've figured out that first I have to delete the previous linux directory, because it seems that I was doing reference to the 2.6.17, so the steps were:

Quote:

-tar xjf linux-2.6.26.8.tar.bz2
-rm linux
-ln -s linux-2.6.26.8 linux
-cd /usr/src/linux
- make clean && make mrproper
I'm rookie in this issues,


regards

farslayer 11-21-2008 11:04 AM

Since you don't have access to the internet on that machine you may want to look into apt-zip may save you trouble in the future.

Apt-Zpi_Tutorial


All times are GMT -5. The time now is 08:45 PM.