Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 11-14-2008, 02:31 PM   #1
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Rep: Reputation: 30
upgrade the kernel manually

Hi, the proxy of my job block all trafic generated by apt-get, so I can't get to the repos and update my system, the way I do upgrades is to seek the packages at and then download them from the repos, doing this way sometimes is harder because of problem dependences but after fix them all works.

But at his moment I need to update my kernel (currently 2.6.17), my questions are:

1. is there another way to do the process automatically but without use apt-get? (I've tried several ways of configure it, with the proxy information, user, password and nothing)

2. If I choose to download the packages and install them with dpkg, is there a risk to crash my all system and even get a kernel panic?

3. if something goes wrong, like problem dependences for example, will I be able to work at least in console mode?

4. what are the packages necessary to update my kernel, at least tell me the most important

Old 11-14-2008, 03:33 PM   #2
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,284

Rep: Reputation: 64
if you leave your old kernel available in your boot manager, you should be able to boot it also, no matter how you mess up a new kernel.
Old 11-15-2008, 05:02 PM   #3
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
Sounds painful, have you played around with /etc/apt/sources.list?
Try ftp and http and regional servers.
Failing that, shout your network admin a beer or three...

If for some reason you do need to build your own kernel, have a look at make-kpkg.
There's heaps of debian howto's out there:
but I can't vouch for any of them personally, it's been a long while since i had to build a kernel.
Old 11-15-2008, 08:04 PM   #4
Senior Member
Registered: Nov 2006
Distribution: Debian Squeeze SMP AMD64
Posts: 3,333

Rep: Reputation: 126Reputation: 126
This should help you if you decide you need/want to compile a new kernel. Ignore the stuff about installing patches, and just download the kernel you want from The current kernel is, and I'm running from it. Click on the "F" on the line saying latest stable kernel or something like that. That will download the full kernel. Pay special attention to the config file. You should do both of the following steps within the directory of the unzipped kernel, no matter what the instructions say.
cp /boot/config-`uname -r`  .config      (NOTE: those are back quotes, not single quotes and don't forget the dot ".")
make oldconfig
Instructions on compiling:

Location of linux kernels:


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
upgrading Fedora Core 3 kernel 2.6.9-1.667 to manually+kernel panic error LinuxLovinNoob Linux - Newbie 7 12-17-2008 08:45 PM
How to manually add SATA driver manually when kernel boot? aixilin Linux - Kernel 6 08-15-2008 10:36 AM
Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? Akhran Debian 3 03-14-2006 02:40 PM
How do I update the kernel manually? christian_delaf Red Hat 1 02-09-2005 05:00 PM
Distribution that is (manually) upgrade-friendly? gundelgauk Linux - General 7 02-24-2004 08:19 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration