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 05-07-2011, 04:51 PM
godo
 
Default Does "apt-get dist-upgrade" upgrade the kernel?

On 2011-05-07 18:18, Camaleón wrote:

Hello,

I'm running wheezy and it's since weeks that I started wondering when a
new kernel will come to testing :-)

root@debian:~# cat /etc/issue
Debian GNU/Linux wheezy/sid
l

test@debian:~$ uname -r
2.6.32-5-686

Now (by purely chance) I realized that there is indeed a new kernel
available in the repositories so that this means it was me making some
kind of mistake.

root@debian:~# apt-cache search linux-image
linux-headers-2.6.38-2-486 - Header files for Linux 2.6.38-2-486
linux-headers-2.6.38-2-686 - Header files for Linux 2.6.38-2-686
linux-headers-2.6.38-2-686-bigmem - Header files for Linux 2.6.38-2-686-bigmem
linux-headers-2.6.38-2-amd64 - Header files for Linux 2.6.38-2-amd64
linux-image-2.6.38-2-486 - Linux 2.6.38 for old PCs
linux-image-2.6.38-2-686 - Linux 2.6.38 for modern PCs
linux-image-2.6.38-2-686-bigmem - Linux 2.6.38 for PCs with 4GB+ RAM
linux-image-2.6.38-2-686-bigmem-dbg - Debugging infos for Linux 2.6.38-2-686-bigmem
linux-image-2.6.38-2-amd64 - Linux 2.6.38 for 64-bit PCs
linux-image-2.6-486 - Linux 2.6 for old PCs (meta-package)
linux-image-2.6-686 - Linux 2.6 for modern PCs (meta-package)
linux-image-2.6-686-bigmem - Linux 2.6 for PCs with 4GB+ RAM (meta-package)
linux-image-2.6-amd64 - Linux 2.6 for 64-bit PCs (meta-package)
linux-image-486 - Linux for old PCs (meta-package)
linux-image-686 - Linux for modern PCs (meta-package)
linux-image-686-bigmem - Linux for PCs with 4GB+ RAM (meta-package)
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
alsa-base - Archivos de configuración del controlador de ALSA
linux-image-2.6.32-5-686 - Linux 2.6.32 for modern PCs
linux-headers-2.6.32-5-686 - Header files for Linux 2.6.32-5-686

I use to upgrade the machine with this command:

apt-get update&& apt-get -V dist-upgrade

Should I have been using another one that automatically triggered the new
kernel? Or is that kernel needs to be manually pulled? :-?

Greetings,


Hi,
whenever I power on my boxes firs I go in single user mod and apt-get
update && apt-get dist-upgrade like you.

On my Wheezy box:
$ uname -r
2.6.38-2-686

I really doubt that I got it just because I was in single-user.
Maybe your box was just tired and made a small mistake? :-)

--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
English: www.dobosevic.com/en/
Registered Linux User #503414


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

Archive: 4DC578AC.9000008@dobosevic.com">http://lists.debian.org/4DC578AC.9000008@dobosevic.com
 
Old 05-07-2011, 04:59 PM
Camaleón
 
Default Does "apt-get dist-upgrade" upgrade the kernel?

On Sat, 07 May 2011 17:24:33 +0100, AG wrote:

> On 07/05/11 17:18, Camaleón wrote:

>> I use to upgrade the machine with this command:
>>
>> apt-get update&& apt-get -V dist-upgrade
>>
>> Should I have been using another one that automatically triggered the
>> new kernel? Or is that kernel needs to be manually pulled? :-?
>>
>>
>
> FWIW, I only ever use either the "Update Manager" or aptitude
> safe-upgrade and it pulls in the kernel and headers as well as far as I
> can ascertain.

I get the same:

root@debian:~# aptitude safe-upgrade
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

Nothing to do? :-?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.05.07.16.59.19@gmail.com">http://lists.debian.org/pan.2011.05.07.16.59.19@gmail.com
 
Old 05-07-2011, 04:59 PM
Dom
 
Default Does "apt-get dist-upgrade" upgrade the kernel?

On 07/05/11 17:18, Camaleón wrote:

Hello,

I'm running wheezy and it's since weeks that I started wondering when a
new kernel will come to testing :-)

root@debian:~# cat /etc/issue
Debian GNU/Linux wheezy/sid
l

test@debian:~$ uname -r
2.6.32-5-686

Now (by purely chance) I realized that there is indeed a new kernel
available in the repositories so that this means it was me making some
kind of mistake.

root@debian:~# apt-cache search linux-image

(snip list of packages)

linux-image-2.6-686 - Linux 2.6 for modern PCs (meta-package)
linux-image-686 - Linux for modern PCs (meta-package)

I use to upgrade the machine with this command:

apt-get update&& apt-get -V dist-upgrade

Should I have been using another one that automatically triggered the new
kernel? Or is that kernel needs to be manually pulled? :-?


Do you have the linux-image-686 package installed? (I see you're using
the 686 version) This package is a dummy package that depends on the
latest kernel, currently linux-image-2.6.38-2-686. If you do, then
apt-get dist-upgrade will install the new kernel when available (but it
won't remove your old kernel).


Regards

--
Dom


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

Archive: 4DC57A89.8070903@rpdom.net">http://lists.debian.org/4DC57A89.8070903@rpdom.net
 
Old 05-07-2011, 05:47 PM
Siard
 
Default Does "apt-get dist-upgrade" upgrade the kernel?

Camaleón wrote:
> # aptitude safe-upgrade
> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not
> upgraded. Need to get 0 B of archives. After unpacking 0 B will be
> used.
>
> Nothing to do? :-?

For a couple of days, a so-called 'hash tag mismatch' was reported when
updating in Wheezy (visible when trying to update in Synaptic), so
nothing was updated.
The problem seems to have gone now.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110507194739.b71dadfb.shiems146@kpnplanet.nl">ht tp://lists.debian.org/20110507194739.b71dadfb.shiems146@kpnplanet.nl
 
Old 05-07-2011, 06:36 PM
Camaleón
 
Default Does "apt-get dist-upgrade" upgrade the kernel?

On Sat, 07 May 2011 17:59:53 +0100, Dom wrote:

> On 07/05/11 17:18, Camaleón wrote:

(...)

>> I use to upgrade the machine with this command:
>>
>> apt-get update&& apt-get -V dist-upgrade
>>
>> Should I have been using another one that automatically triggered the
>> new kernel? Or is that kernel needs to be manually pulled? :-?
>
> Do you have the linux-image-686 package installed? (I see you're using
> the 686 version) This package is a dummy package that depends on the
> latest kernel, currently linux-image-2.6.38-2-686. If you do, then
> apt-get dist-upgrade will install the new kernel when available (but it
> won't remove your old kernel).

Hum... nope, it's not installed:

dpkg test@debian:~$ dpkg -l | grep linux-image
ii linux-image-2.6.32-5-686 2.6.32-31 Linux 2.6.32 for modern PCs

The question is, shouldn't this have to be done automatically?

Yes, I can now manually install the latest kernel (or the meta-package)
but I'd have expected the dist-upgrade routine would have managed out by
itself... well, as godo said, maybe this has been an exception but is not
the rule :-)

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.05.07.18.35.54@gmail.com">http://lists.debian.org/pan.2011.05.07.18.35.54@gmail.com
 
Old 05-07-2011, 11:54 PM
KS
 
Default Does "apt-get dist-upgrade" upgrade the kernel?

> On 07/05/11 17:18, Camaleón wrote:
>
> Do you have the linux-image-686 package installed? (I see you're
> using the 686 version) This package is a dummy package that depends
> on the latest kernel, currently linux-image-2.6.38-2-686. If you do,
> then apt-get dist-upgrade will install the new kernel when available
> (but it won't remove your old kernel).
>
> Regards
>
> -- Dom
>

I have that setting on my sid box, but after reading this thread I
checked again. Below are the results of dpkg, apt-cache, and uname.
Surprisingly, dpkg does not show 2.6.38 whereas apt says that it exists!

dpkg -l linux-image*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=============================-=============================-================================================== ========================
un linux-image <none> (no
description available)
un linux-image-2.6 <none> (no
description available)
un linux-image-2.6-486 <none> (no
description available)
un linux-image-2.6-686 <none> (no
description available)
un linux-image-2.6-686-bigmem <none> (no
description available)
un linux-image-2.6-amd64 <none> (no
description available)
un linux-image-2.6-k7 <none> (no
description available)
un linux-image-2.6-openvz-686 <none> (no
description available)
un linux-image-2.6-vserver-686 <none> (no
description available)
un linux-image-2.6-vserver-686-b <none> (no
description available)
un linux-image-2.6-xen-686 <none> (no
description available)
un linux-image-2.6.32-5-686 <none> (no
description available)
un linux-image-2.6.32-5-686-bigm <none> (no
description available)
un linux-image-2.6.32-trunk-486 <none> (no
description available)
rc linux-image-2.6.32-trunk-686 2.6.32-5 Linux
2.6.32 for modern PCs
un linux-image-2.6.32-trunk-686- <none> (no
description available)
un linux-image-2.6.32-trunk-amd6 <none> (no
description available)
un linux-image-2.6.32-trunk-vser <none> (no
description available)
un linux-image-2.6.32-trunk-vser <none> (no
description available)
un linux-image-2.6.37-1-686 <none> (no
description available)
un linux-image-2.6.37-1-686-bigm <none> (no
description available)
ii linux-image-2.6.37-2-686 2.6.37-2 Linux
2.6.37 for modern PCs
ii linux-image-2.6.37-2-686-bigm 2.6.37-2 Linux
2.6.37 for PCs with 4GB+ RAM
un linux-image-686-bigmem <none> (no
description available)


$> apt-cache search linux-image
alsa-base - ALSA driver configuration files
linux-headers-2.6.38-2-486 - Header files for Linux 2.6.38-2-486
linux-headers-2.6.38-2-686 - Header files for Linux 2.6.38-2-686
linux-headers-2.6.38-2-686-bigmem - Header files for Linux
2.6.38-2-686-bigmem
linux-headers-2.6.38-2-amd64 - Header files for Linux 2.6.38-2-amd64
linux-image-2.6.38-2-486 - Linux 2.6.38 for old PCs
linux-image-2.6.38-2-686 - Linux 2.6.38 for modern PCs
linux-image-2.6.38-2-686-bigmem - Linux 2.6.38 for PCs with 4GB+ RAM
linux-image-2.6.38-2-686-bigmem-dbg - Debugging infos for Linux
2.6.38-2-686-bigmem
linux-image-2.6.38-2-amd64 - Linux 2.6.38 for 64-bit PCs
linux-image-2.6-486 - Linux 2.6 for old PCs (meta-package)
linux-image-2.6-686 - Linux 2.6 for modern PCs (meta-package)
linux-image-2.6-686-bigmem - Linux 2.6 for PCs with 4GB+ RAM (meta-package)
linux-image-2.6-amd64 - Linux 2.6 for 64-bit PCs (meta-package)
linux-image-486 - Linux for old PCs (meta-package)
linux-image-686 - Linux for modern PCs (meta-package)
linux-image-686-bigmem - Linux for PCs with 4GB+ RAM (meta-package)
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
nvidia-kernel-2.6.32-5-486 - NVIDIA binary kernel module for Linux
2.6.32-5-486
nvidia-kernel-2.6.32-5-686 - NVIDIA binary kernel module for Linux
2.6.32-5-686
nvidia-kernel-2.6.32-5-amd64 - NVIDIA binary kernel module for Linux
2.6.32-5-amd64
nvidia-kernel-2.6.32-5-vserver-686 - NVIDIA binary kernel module for
Linux 2.6.32-5-vserver-686
nvidia-kernel-2.6.32-5-vserver-686-bigmem - NVIDIA binary kernel module
for Linux 2.6.32-5-vserver-686-bigmem
nvidia-kernel-2.6.37-2-686-bigmem - NVIDIA binary kernel module for
Linux 2.6.37-2-686-bigmem
nvidia-kernel-2.6.32-5-686-bigmem - NVIDIA binary kernel module for
Linux 2.6.32-5-686-bigmem
linux-headers-2.6.37-2-486 - Header files for Linux 2.6.37-2-486
linux-image-2.6.37-2-686-bigmem - Linux 2.6.37 for PCs with 4GB+ RAM
linux-headers-2.6.37-2-686-bigmem - Header files for Linux
2.6.37-2-686-bigmem
nvidia-kernel-2.6.37-1-686-bigmem - NVIDIA binary kernel module for
Linux 2.6.37-1-686-bigmem
linux-image-2.6.37-2-686 - Linux 2.6.37 for modern PCs


$> uname -a
Linux gurh 2.6.37-2-686-bigmem #1 SMP Sun Feb 27 11:44:12 UTC 2011 i686
GNU/Linux


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DC5DBD3.30202@fastmail.fm">http://lists.debian.org/4DC5DBD3.30202@fastmail.fm
 
Old 05-08-2011, 12:11 AM
Jochen Schulz
 
Default Does "apt-get dist-upgrade" upgrade the kernel?

KS:
>
> Surprisingly, dpkg does not show 2.6.38 whereas apt says that it exists!

Dpkg doesn't know packages that were never installed. Apt does.

J.
--
I wish I had been aware enough to enjoy my time as a toddler.
[Agree] [Disagree]
<http://www.slowlydownward.com/NODATA/data_enter2.html>
 
Old 05-08-2011, 01:36 AM
KS
 
Default Does "apt-get dist-upgrade" upgrade the kernel?

On 07/05/11 08:11 PM, Jochen Schulz wrote:
> KS:
>>
>> Surprisingly, dpkg does not show 2.6.38 whereas apt says that it exists!
>
> Dpkg doesn't know packages that were never installed. Apt does.
>
> J.

Ah, didn't realize that.

However, I did an update just around the time I saw the reply and apt is
not able to find the 2.6.38-2-686-bigmem (for for that matter 2.6.38-2)
either! It exists on packages.debian.org though.

KS.

----------
$> apt-cache search linux-image
nvidia-kernel-2.6.32-5-486 - NVIDIA binary kernel module for Linux
2.6.32-5-486
nvidia-kernel-2.6.32-5-686 - NVIDIA binary kernel module for Linux
2.6.32-5-686
nvidia-kernel-2.6.32-5-amd64 - NVIDIA binary kernel module for Linux
2.6.32-5-amd64
nvidia-kernel-2.6.32-5-vserver-686 - NVIDIA binary kernel module for
Linux 2.6.32-5-vserver-686
nvidia-kernel-2.6.32-5-vserver-686-bigmem - NVIDIA binary kernel module
for Linux 2.6.32-5-vserver-686-bigmem
nvidia-kernel-2.6.37-2-686-bigmem - NVIDIA binary kernel module for
Linux 2.6.37-2-686-bigmem
nvidia-kernel-2.6.32-5-686-bigmem - NVIDIA binary kernel module for
Linux 2.6.32-5-686-bigmem
linux-headers-2.6.37-2-486 - Header files for Linux 2.6.37-2-486
linux-image-2.6.37-2-686-bigmem - Linux 2.6.37 for PCs with 4GB+ RAM
linux-headers-2.6.37-2-686-bigmem - Header files for Linux
2.6.37-2-686-bigmem
nvidia-kernel-2.6.37-1-686-bigmem - NVIDIA binary kernel module for
Linux 2.6.37-1-686-bigmem
linux-image-2.6.37-2-686 - Linux 2.6.37 for modern PCs
alsa-base - ALSA driver configuration files


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DC5F398.5060601@fastmail.fm">http://lists.debian.org/4DC5F398.5060601@fastmail.fm
 
Old 05-08-2011, 08:21 AM
Andrei Popescu
 
Default Does "apt-get dist-upgrade" upgrade the kernel?

On Sb, 07 mai 11, 16:18:53, Camaleón wrote:
> Hello,
>
> I'm running wheezy and it's since weeks that I started wondering when a
> new kernel will come to testing :-)
>
> root@debian:~# cat /etc/issue
> Debian GNU/Linux wheezy/sid
l
>
> test@debian:~$ uname -r
> 2.6.32-5-686
>
> Now (by purely chance) I realized that there is indeed a new kernel
> available in the repositories so that this means it was me making some
> kind of mistake.

You need either the package linux-image-<flavour> or
linux-image-2.6-<flavour> and a new kernel will be installed as soon as
the Kernel Team updates the dependencies of these packages.

Whether one of these packages is installed by default depends on how you
installed that particular machine (example: it might not be installed in
expert mode since AFAIR you get a specific question about which kernel
package to install).

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
 
Old 05-08-2011, 09:55 AM
Camaleón
 
Default Does "apt-get dist-upgrade" upgrade the kernel?

On Sun, 08 May 2011 11:21:07 +0300, Andrei Popescu wrote:

> On Sb, 07 mai 11, 16:18:53, Camaleón wrote:

>> I'm running wheezy and it's since weeks that I started wondering when a
>> new kernel will come to testing :-)
>>
>> root@debian:~# cat /etc/issue
>> Debian GNU/Linux wheezy/sid
l
>>
>> test@debian:~$ uname -r
>> 2.6.32-5-686
>>
>> Now (by purely chance) I realized that there is indeed a new kernel
>> available in the repositories so that this means it was me making some
>> kind of mistake.
>
> You need either the package linux-image-<flavour> or
> linux-image-2.6-<flavour> and a new kernel will be installed as soon as
> the Kernel Team updates the dependencies of these packages.

Do I need "either" or do I need "both"? :-)

Curious is that, as I said before, it was installed it:

dpkg test@debian:~$ dpkg -l | grep linux-image
ii linux-image-2.6.32-5-686 2.6.32-31 Linux 2.6.32 for modern PCs

But the updated kernel was not showing to me as "available" until I manually
pulled the meta-package ;-(

> Whether one of these packages is installed by default depends on how you
> installed that particular machine (example: it might not be installed in
> expert mode since AFAIR you get a specific question about which kernel
> package to install).

I always use the expert installer so that can be the reason I didn't have
the meta-package installed by default.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.05.08.09.55.08@gmail.com">http://lists.debian.org/pan.2011.05.08.09.55.08@gmail.com
 

Thread Tools




All times are GMT. The time now is 07:04 PM.

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