FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-27-2008, 08:24 AM
Bret Busby
 
Default How do I update kernel in Debian 4

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.

--
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

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-27-2008, 09:54 AM
Bob Cox
 
Default How do I update kernel in Debian 4

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

and, if it exists, this one:

cat /etc/apt/preferences

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/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-27-2008, 09:58 AM
Jonathan Kaye
 
Default How do I update kernel in Debian 4

Bret Busby 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.
>
> --
> Bret Busby
>
Hi Bret,
1. At the console type "aptitude search linux-image" You will see a list of
kernels.
2. Pick the kernel of you choice, say, linux-image-2.6.25-2-686, and AS ROOT
or using sudo type "aptitude install linux-image-2.6.25-2-686" (if that's
the kernel you want).
Then reboot and you should see the newly installed kernel appear on your
boot menu.
Cheers,
Jonathan

--
Registerd Linux user #445917 at http://counter.li.org/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-27-2008, 10:08 AM
Bret Busby
 
Default 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

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-27-2008, 10:13 AM
Bret Busby
 
Default 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



Sorry.
Last posting was file(s) from this workstation, not from the server in
question.


cat /etc/apt/sources.list
# deb http://mirror.wa.3fl.net/debian/ etch main contrib non-free
# deb http://mirror.wa.3fl.net/debian/ etch/updates 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.au.debian.org/debian/ etch main contrib non-free

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



# deb http://secure-testing.debian.net/debian-secure-testing
etch/security-updates main contrib non-free

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


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



and, if it exists, this one:

cat /etc/apt/preferences

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

aptitude search ~ahold



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



--
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

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-27-2008, 10:28 AM
Bret Busby
 
Default How do I update kernel in Debian 4

On Sun, 27 Jul 2008, Jonathan Kaye wrote:



Bret Busby 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.

--
Bret Busby


Hi Bret,
1. At the console type "aptitude search linux-image" You will see a list of
kernels.
2. Pick the kernel of you choice, say, linux-image-2.6.25-2-686, and AS ROOT
or using sudo type "aptitude install linux-image-2.6.25-2-686" (if that's
the kernel you want).
Then reboot and you should see the newly installed kernel appear on your
boot menu.
Cheers,
Jonathan



"
aptitude search linux-image
v linux-image
-
v linux-image-2.6
-
p linux-image-2.6-486
- Linux kernel 2.6 image on x86
p linux-image-2.6-486-etchnhalf
- Linux 2.6-etchnhalf image on x86
p linux-image-2.6-686
- Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6-686-bigmem
- Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6-686-bigmem-etchnhalf
- Linux 2.6-etchnhalf image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6-686-etchnhalf
- Linux 2.6-etchnhalf image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6-686-smp
- Linux 2.6 image on PPro/Celeron/PII/PIII/P4 SMP - transition package
p linux-image-2.6-amd64
- Linux kernel 2.6 image on AMD64
p linux-image-2.6-amd64-etchnhalf
- Linux 2.6-etchnhalf image on AMD64
p linux-image-2.6-k7
- Linux kernel 2.6 image on AMD K7
p linux-image-2.6-k7-smp
- Linux 2.6 image on AMD K7 SMP - transition package
p linux-image-2.6-vserver-686
- Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6-vserver-k7
- Linux kernel 2.6 image on AMD K7
p linux-image-2.6-xen-686
- Linux kernel 2.6 image on i686
p linux-image-2.6-xen-vserver-686
- Linux kernel 2.6 image on i686
p linux-image-2.6.18-4-486
- Linux 2.6.18 image on x86
p linux-image-2.6.18-4-686
- Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6.18-4-686-bigmem
- Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6.18-4-amd64
- Linux 2.6.18 image on AMD64
p linux-image-2.6.18-4-k7
- Linux 2.6.18 image on AMD K7
p linux-image-2.6.18-4-vserver-686
- Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6.18-4-vserver-k7
- Linux 2.6.18 image on AMD K7
p linux-image-2.6.18-4-xen-686
- Linux 2.6.18 image on i686
p linux-image-2.6.18-4-xen-vserver-686
- Linux 2.6.18 image on i686
p linux-image-2.6.18-5-486
- Linux 2.6.18 image on x86
p linux-image-2.6.18-5-686
- Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6.18-5-686-bigmem
- Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6.18-5-amd64
- Linux 2.6.18 image on AMD64
p linux-image-2.6.18-5-k7
- Linux 2.6.18 image on AMD K7
p linux-image-2.6.18-5-vserver-686
- Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6.18-5-vserver-k7
- Linux 2.6.18 image on AMD K7
p linux-image-2.6.18-5-xen-686
- Linux 2.6.18 image on i686
p linux-image-2.6.18-5-xen-vserver-686
- Linux 2.6.18 image on i686
p linux-image-2.6.18-6-486
- Linux 2.6.18 image on x86
p linux-image-2.6.18-6-686
- Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6.18-6-686-bigmem
- Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6.18-6-amd64
- Linux 2.6.18 image on AMD64
p linux-image-2.6.18-6-k7
- Linux 2.6.18 image on AMD K7
p linux-image-2.6.18-6-vserver-686
- Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6.18-6-vserver-k7
- Linux 2.6.18 image on AMD K7
p linux-image-2.6.18-6-xen-686
- Linux 2.6.18 image on i686
p linux-image-2.6.18-6-xen-vserver-686
- Linux 2.6.18 image on i686
p linux-image-2.6.24-etchnhalf.1-486
- Linux 2.6.24 image on x86
p linux-image-2.6.24-etchnhalf.1-686
- Linux 2.6.24 image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6.24-etchnhalf.1-686-bigmem
- Linux 2.6.24 image on PPro/Celeron/PII/PIII/P4
p linux-image-2.6.24-etchnhalf.1-amd64
- Linux 2.6.24 image on AMD64
p linux-image-486
- Linux kernel image on x86
p linux-image-686
- Linux kernel image on PPro/Celeron/PII/PIII/P4
p linux-image-686-bigmem
- Linux kernel image on PPro/Celeron/PII/PIII/P4
p linux-image-amd64
- Linux kernel image on AMD64
p linux-image-k7
- Linux kernel image on AMD K7
p linux-image-vserver-686
- Linux kernel image on PPro/Celeron/PII/PIII/P4
p linux-image-vserver-k7
- Linux kernel image on AMD K7
p linux-image-xen-686
- Linux kernel image on i686
p linux-image-xen-vserver-686
- Linux kernel image on i686

"

"
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 4
model name : Pentium MMX
stepping : 3
cpu MHz : 233.866
fdiv_bug : no
hlt_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 mmx
bogomips : 466.94
"

But, which image?

The CPU appears to be a Pentium MMX.

The above list of images, have images for 486 CPU's, and for 686 CPU's,
and for "PPro/Celeron/PII/PIII/P4" CPU's, but not for either a straight
Pentium CPU, or for a Pentium MMX CPU.


From memory, a Pentium MMX CPU is different to a Pentium Pro CPU, and is

certainly less than a P2 CPU.

--
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

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-27-2008, 10:31 AM
Bob Cox
 
Default How do I update kernel in Debian 4

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

> 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
>>
>
> Sorry.
> Last posting was file(s) from this workstation, not from the server in
> question.
>
> cat /etc/apt/sources.list
> # deb http://mirror.wa.3fl.net/debian/ etch main contrib non-free
> # deb http://mirror.wa.3fl.net/debian/ etch/updates 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.au.debian.org/debian/ etch main contrib non-free
>
> deb http://security.debian.org/ etch/updates main contrib non-free
>
>
>
> # deb http://secure-testing.debian.net/debian-secure-testing
> etch/security-updates main contrib non-free
> # deb http://ftp.wa.au.debian.org/debian/ testing main non-free contrib
> # deb http://ftp.au.debian.org/debian/ testing main non-free contrib
>
>
> #deb http://ftp.wa.au.debian.org/debian/ stable main non-free contrib
> #deb http://ftp.au.debian.org/debian/ stable main non-free contrib
> #deb http://security.debian.org/ stable/updates main contrib non-free
>
>
>> and, if it exists, this one:
>>
>> cat /etc/apt/preferences
>>
>> If these are ok, one other possibility is that the kernel package is on
>> 'hold'. Try this:
>>
>> aptitude search ~ahold
>>
>
> cat /etc/apt/preferences
> cat: /etc/apt/preferences: No such file or directory

Ok, well the sources file looks ok.

I was going to repeat asking you to try:

aptitude search ~ahold

but maybe instead, as suggested by Jonathan, try:

aptitude search linux-image

and post the output here please.

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-27-2008, 11:08 AM
Bob Cox
 
Default How do I update kernel in Debian 4

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

> On Sun, 27 Jul 2008, Jonathan Kaye wrote:
>
>>
>> Bret Busby 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.
>>>
>>> --
>>> Bret Busby
>>>
>> Hi Bret,
>> 1. At the console type "aptitude search linux-image" You will see a list of
>> kernels.
>> 2. Pick the kernel of you choice, say, linux-image-2.6.25-2-686, and AS ROOT
>> or using sudo type "aptitude install linux-image-2.6.25-2-686" (if that's
>> the kernel you want).
>> Then reboot and you should see the newly installed kernel appear on your
>> boot menu.
>> Cheers,
>> Jonathan
>>
>
> "
> aptitude search linux-image
> v linux-image -
> v linux-image-2.6 -
> p linux-image-2.6-486 - Linux kernel 2.6 image on x86
> p linux-image-2.6-486-etchnhalf - Linux 2.6-etchnhalf image on x86
> p linux-image-2.6-686 - Linux kernel 2.6 image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6-686-bigmem - Linux kernel 2.6 image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6-686-bigmem-etchnhalf - Linux 2.6-etchnhalf image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6-686-etchnhalf - Linux 2.6-etchnhalf image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6-686-smp - Linux 2.6 image on PPro/Celeron/PII/PIII/P4
> SMP - transition package
> p linux-image-2.6-amd64 - Linux kernel 2.6 image on AMD64
> p linux-image-2.6-amd64-etchnhalf - Linux 2.6-etchnhalf image on AMD64
> p linux-image-2.6-k7 - Linux kernel 2.6 image on AMD K7
> p linux-image-2.6-k7-smp - Linux 2.6 image on AMD K7 SMP - transition
> package
> p linux-image-2.6-vserver-686 - Linux kernel 2.6 image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6-vserver-k7 - Linux kernel 2.6 image on AMD K7
> p linux-image-2.6-xen-686 - Linux kernel 2.6 image on i686
> p linux-image-2.6-xen-vserver-686 - Linux kernel 2.6 image on i686
> p linux-image-2.6.18-4-486 - Linux 2.6.18 image on x86
> p linux-image-2.6.18-4-686 - Linux 2.6.18 image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6.18-4-686-bigmem - Linux 2.6.18 image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6.18-4-amd64 - Linux 2.6.18 image on AMD64
> p linux-image-2.6.18-4-k7 - Linux 2.6.18 image on AMD K7
> p linux-image-2.6.18-4-vserver-686 - Linux 2.6.18 image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6.18-4-vserver-k7 - Linux 2.6.18 image on AMD K7
> p linux-image-2.6.18-4-xen-686 - Linux 2.6.18 image on i686
> p linux-image-2.6.18-4-xen-vserver-686 - Linux 2.6.18 image on i686
> p linux-image-2.6.18-5-486 - Linux 2.6.18 image on x86
> p linux-image-2.6.18-5-686 - Linux 2.6.18 image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6.18-5-686-bigmem - Linux 2.6.18 image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6.18-5-amd64 - Linux 2.6.18 image on AMD64
> p linux-image-2.6.18-5-k7 - Linux 2.6.18 image on AMD K7
> p linux-image-2.6.18-5-vserver-686 - Linux 2.6.18 image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6.18-5-vserver-k7 - Linux 2.6.18 image on AMD K7
> p linux-image-2.6.18-5-xen-686 - Linux 2.6.18 image on i686
> p linux-image-2.6.18-5-xen-vserver-686 - Linux 2.6.18 image on i686
> p linux-image-2.6.18-6-486 - Linux 2.6.18 image on x86
> p linux-image-2.6.18-6-686 - Linux 2.6.18 image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6.18-6-686-bigmem - Linux 2.6.18 image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6.18-6-amd64 - Linux 2.6.18 image on AMD64
> p linux-image-2.6.18-6-k7 - Linux 2.6.18 image on AMD K7
> p linux-image-2.6.18-6-vserver-686 - Linux 2.6.18 image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6.18-6-vserver-k7 - Linux 2.6.18 image on AMD K7
> p linux-image-2.6.18-6-xen-686 - Linux 2.6.18 image on i686
> p linux-image-2.6.18-6-xen-vserver-686 - Linux 2.6.18 image on i686
> p linux-image-2.6.24-etchnhalf.1-486 - Linux 2.6.24 image on x86
> p linux-image-2.6.24-etchnhalf.1-686 - Linux 2.6.24 image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6.24-etchnhalf.1-686-bigmem - Linux 2.6.24 image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-2.6.24-etchnhalf.1-amd64 - Linux 2.6.24 image on AMD64
> p linux-image-486 - Linux kernel image on x86
> p linux-image-686 - Linux kernel image on PPro/Celeron/PII/PIII/P4
> p linux-image-686-bigmem - Linux kernel image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-amd64 - Linux kernel image on AMD64
> p linux-image-k7 - Linux kernel image on AMD K7
> p linux-image-vserver-686 - Linux kernel image on
> PPro/Celeron/PII/PIII/P4
> p linux-image-vserver-k7 - Linux kernel image on AMD K7
> p linux-image-xen-686 - Linux kernel image on i686
> p linux-image-xen-vserver-686 - Linux kernel image on i686
> "
>
> "
> cat /proc/cpuinfo
> processor : 0
> vendor_id : GenuineIntel
> cpu family : 5
> model : 4
> model name : Pentium MMX
> stepping : 3
> cpu MHz : 233.866
> fdiv_bug : no
> hlt_bug : no
> f00f_bug : yes
> coma_bug : no
> fpu : yes
> fpu_exception : yes
> cpuid level : 1
> wp : yes
> flags : fpu vme de pse tsc msr mce cx8 mmx
> bogomips : 466.94
> "
>
> But, which image?
>
> The CPU appears to be a Pentium MMX.
>
> The above list of images, have images for 486 CPU's, and for 686 CPU's,
> and for "PPro/Celeron/PII/PIII/P4" CPU's, but not for either a straight
> Pentium CPU, or for a Pentium MMX CPU.

I am pretty sure 486 is the one to go for. (I use it on a P266 MMX
laptop).

Your list above shows no packages marked 'A' for auto which explains why
it was not upgrading.

Regarding etch, this article might be of interest/use:

http://www.debian.org/News/2008/20080726


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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-27-2008, 04:30 PM
Bret Busby
 
Default How do I update kernel in Debian 4

On Sun, 27 Jul 2008, Bob Cox wrote:


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


On Sun, 27 Jul 2008, Jonathan Kaye wrote:



Bret Busby 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.

--
Bret Busby


Hi Bret,
1. At the console type "aptitude search linux-image" You will see a list of
kernels.
2. Pick the kernel of you choice, say, linux-image-2.6.25-2-686, and AS ROOT
or using sudo type "aptitude install linux-image-2.6.25-2-686" (if that's
the kernel you want).
Then reboot and you should see the newly installed kernel appear on your
boot menu.
Cheers,
Jonathan



"
aptitude search linux-image


<snip>


p linux-image-2.6.18-6-486 - Linux 2.6.18 image on x86


<snip>


"
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 4
model name : Pentium MMX
stepping : 3
cpu MHz : 233.866
fdiv_bug : no
hlt_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 mmx
bogomips : 466.94
"

But, which image?

The CPU appears to be a Pentium MMX.

The above list of images, have images for 486 CPU's, and for 686 CPU's,
and for "PPro/Celeron/PII/PIII/P4" CPU's, but not for either a straight
Pentium CPU, or for a Pentium MMX CPU.


I am pretty sure 486 is the one to go for. (I use it on a P266 MMX
laptop).

Your list above shows no packages marked 'A' for auto which explains why
it was not upgrading.

Regarding etch, this article might be of interest/use:

http://www.debian.org/News/2008/20080726





It got too complicated, as the process came up with a message about
having to modify lilo.conf to accommodate initrd and to modify the
file further, to stop the warning message about initrd in future kernel

upgrades.

So, I took the abort option, which still installed some of the 8 new
packages to be installed as part of the kernel upgrade process.


I am hoping that the server still works, as it is our mailserver.

I am sure that I will soon find whether the server still works.

Thanks anyway.

It is just to complicated for me at present.

I guess we will just stick with the 2.4 kernel, until upgrading it gets
easier, or we replace the computer.


--
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

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-27-2008, 04:33 PM
Bret Busby
 
Default How do I update kernel in Debian 4

On Mon, 28 Jul 2008, Bret Busby wrote:



On Sun, 27 Jul 2008, Bob Cox wrote:


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


On Sun, 27 Jul 2008, Jonathan Kaye wrote:



Bret Busby 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.

--
Bret Busby


Hi Bret,
1. At the console type "aptitude search linux-image" You will see a list
of

kernels.
2. Pick the kernel of you choice, say, linux-image-2.6.25-2-686, and AS
ROOT

or using sudo type "aptitude install linux-image-2.6.25-2-686" (if that's
the kernel you want).
Then reboot and you should see the newly installed kernel appear on your
boot menu.
Cheers,
Jonathan



"
aptitude search linux-image


<snip>


p linux-image-2.6.18-6-486 - Linux 2.6.18 image on x86


<snip>


"
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 4
model name : Pentium MMX
stepping : 3
cpu MHz : 233.866
fdiv_bug : no
hlt_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 mmx
bogomips : 466.94
"

But, which image?

The CPU appears to be a Pentium MMX.

The above list of images, have images for 486 CPU's, and for 686 CPU's,
and for "PPro/Celeron/PII/PIII/P4" CPU's, but not for either a straight
Pentium CPU, or for a Pentium MMX CPU.


I am pretty sure 486 is the one to go for. (I use it on a P266 MMX
laptop).

Your list above shows no packages marked 'A' for auto which explains why
it was not upgrading.

Regarding etch, this article might be of interest/use:

http://www.debian.org/News/2008/20080726





It got too complicated, as the process came up with a message about having to
modify lilo.conf to accommodate initrd and to modify the file further, to
stop the warning message about initrd in future kernel

upgrades.

So, I took the abort option, which still installed some of the 8 new packages
to be installed as part of the kernel upgrade process.


I am hoping that the server still works, as it is our mailserver.

I am sure that I will soon find whether the server still works.

Thanks anyway.

It is just to complicated for me at present.

I guess we will just stick with the 2.4 kernel, until upgrading it gets
easier, or we replace the computer.


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




The ouput (apart from the dialogue box that convinced me to abort the
upgrade) is here:


"
aptitude install linux-image-2.6.18-6-486
Reading package lists... Done
Building dependency tree... Done
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be automatically installed:
busybox initramfs-tools klibc-utils libklibc libvolume-id0
module-init-tools udev

The following NEW packages will be installed:
busybox initramfs-tools klibc-utils libklibc libvolume-id0
linux-image-2.6.18-6-486 module-init-tools udev

0 packages upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.2MB of archives. After unpacking 51.3MB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://ftp.uwa.edu.au etch/main module-init-tools 3.3-pre4-2
[82.8kB]

Get:2 http://ftp.uwa.edu.au etch/main libklibc 1.4.34-2 [43.0kB]
Get:3 http://ftp.uwa.edu.au etch/main klibc-utils 1.4.34-2 [158kB]
Get:4 http://ftp.uwa.edu.au etch/main busybox 1:1.1.3-4 [286kB]
Get:5 http://ftp.uwa.edu.au etch/main libvolume-id0 0.105-4 [62.5kB]
Get:6 http://ftp.uwa.edu.au etch/main udev 0.105-4 [263kB]
Get:7 http://ftp.wa.au.debian.org etch/main initramfs-tools 0.85i
[62.7kB]
Get:8 http://ftp.wa.au.debian.org etch/main linux-image-2.6.18-6-486
2.6.18.dfsg.1-22 [16.2MB]

Fetched 17.2MB in 54s (313kB/s)
Use of uninitialized value in substitution (s///) at
/usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 6933.
Use of uninitialized value in substitution (s///) at
/usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 6935.
Use of uninitialized value in substitution (s///) at
/usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 6937.

Preconfiguring packages ...
Use of uninitialized value in substitution (s///) at
/usr/share/perl5/Debconf/Format/822.pm line 83.
Use of uninitialized value in concatenation (.) or string at
/usr/share/perl5/Debconf/Format/822.pm line 84.
Use of uninitialized value in substitution (s///) at
/usr/share/perl5/Debconf/Format/822.pm line 83.
Use of uninitialized value in concatenation (.) or string at
/usr/share/perl5/Debconf/Format/822.pm line 84.
Use of uninitialized value in substitution (s///) at
/usr/share/perl5/Debconf/Format/822.pm line 83.
Use of uninitialized value in concatenation (.) or string at
/usr/share/perl5/Debconf/Format/822.pm line 84.

Selecting previously deselected package module-init-tools.
(Reading database ... 9674 files and directories currently installed.)
Unpacking module-init-tools (from
.../module-init-tools_3.3-pre4-2_i386.deb) ...

Selecting previously deselected package libklibc.
Unpacking libklibc (from .../libklibc_1.4.34-2_i386.deb) ...
Selecting previously deselected package klibc-utils.
Unpacking klibc-utils (from .../klibc-utils_1.4.34-2_i386.deb) ...
Selecting previously deselected package busybox.
Unpacking busybox (from .../busybox_1%3a1.1.3-4_i386.deb) ...
Selecting previously deselected package libvolume-id0.
Unpacking libvolume-id0 (from .../libvolume-id0_0.105-4_i386.deb) ...
Selecting previously deselected package udev.
Unpacking udev (from .../archives/udev_0.105-4_i386.deb) ...
Selecting previously deselected package initramfs-tools.
Unpacking initramfs-tools (from .../initramfs-tools_0.85i_all.deb) ...
Selecting previously deselected package linux-image-2.6.18-6-486.
Unpacking linux-image-2.6.18-6-486 (from
.../linux-image-2.6.18-6-486_2.6.18.dfsg.1-22_i386.deb) ...

Ok, Aborting
dpkg: error processing
/var/cache/apt/archives/linux-image-2.6.18-6-486_2.6.18.dfsg.1-22_i386.deb
(--unpack):

subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:

/var/cache/apt/archives/linux-image-2.6.18-6-486_2.6.18.dfsg.1-22_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up module-init-tools (3.3-pre4-2) ...

Setting up libklibc (1.4.34-2) ...
Setting up klibc-utils (1.4.34-2) ...
Setting up libvolume-id0 (0.105-4) ...

Setting up udev (0.105-4) ...
/sys/class/net/ is not available, persistent interface names not saved.
udev requires a kernel >= 2.6.15, not started.

Setting up busybox (1.1.3-4) ...
Setting up initramfs-tools (0.85i) ...

"

--
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

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 06:56 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org