[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I update kernel in Debian 4



On Sun, 27 Jul 2008, Bob Cox wrote:


On Sun, Jul 27, 2008 at 16:24:00 +0800, Bret Busby (bret@busby.net) wrote:


Hello.

We have Debian 4.0 running on one of our computers; a server of sorts.

Accessing that computer, for system updates, etc, is done through
telnet.

Running uname -a, which I understand returns the kernel version, returns
2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i586 GNU/Linux

In searching on the Internet, I cannot find an easy way, using apt-get,
of updating (or upgrading) the kernel, and it is clearly not
automatically done when running apt-get update followed by
apt-get-upgrade.

The GUI system update/upgrade facility on my workstation (also Debian
4.0), automatically includes kernel updates; the last one done today
(from Synaptic File -> History, "linux-image-2.6.18-6-k7
(2.6.18.dfsg.1-18etch6) to 2.6.18.dfsg.1-22").

How do I get what automatically works with the GUI update/upgrade
facility, to work with a command line apt-get update then apt-get
dist-upgrade facility, to update/upgrade the kernel?

Thank you in anticipation.

To start with, could you post the output of:

cat /etc/apt/sources.list


cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-1 20070407-11:40]/ etch contrib main

# deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-1 20070407-11:40]/ etch contrib main

# deb http://ftp.uwa.edu.au/mirrors/linux/debian/ stable main contrib non-free


# deb http://ftp.wa.au.debian.org/debian/ stable/updates main contrib non-free # deb http://ftp.wa.au.debian.org/debian/dists/stable/ stable main contrib non-free

# deb http://ftp.wa.au.debian.org/debian/dists/etch/ main contrib non-free

# deb http://ftp.wa.au.debian.org/debian/pool/ main contrib non-free

deb http://ftp.uwa.edu.au/mirrors/linux/debian/ etch main contrib non-free
# deb http://ftp.wa.au.debian.org/debian/ etch main contrib non-free


deb http://ftp.wa.au.debian.org/debian/ etch main contrib non-free
# deb http://ftp.wa.au.debian.org/debian/ etch/updates main contrib non-free

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib



and, if it exists, this one:

cat /etc/apt/preferences


cat /etc/apt/preferences
cat: /etc/apt/preferences: No such file or directory


If these are ok, one other possibility is that the kernel package is on
'hold'.  Try this:

aptitude search ~ahold

--
Bob Cox.  Stoke Gifford, near Bristol, UK.
Registered user #445000 with the Linux Counter - http://counter.li.org/


--
Bret Busby
Armadale
West Australia
..............

"So once you do know what the question actually is,
 you'll know what the answer means."
- Deep Thought,
  Chapter 28 of Book 1 of
  "The Hitchhiker's Guide to the Galaxy:
  A Trilogy In Four Parts",
  written by Douglas Adams,
  published by Pan Books, 1992

....................................................


Reply to: