Re: Testing: install new amd64 kernel in parallel

2013-12-30 Thread Bob Proulx
Reco wrote:
 Felix Natter wrote:
  Can you really recommend 'apt-get dist-upgrade' over 'apt-get upgrade'?
 
 Both are useful, just for different use cases:

Yes.  But actually both are required and used together.  (I know you
know this because you said tried first in the below.)

 a) apt-get upgrade
 You want to be sure that nothing will be removed on upgrade, and
 nothing unneeded will be installed. Considered a safe option, should be
 tried first.
 
 b) apt-get dist-upgrade
 You want your upgrades here and now and willing to tolerate some
 collateral damage (joking :). Considered you've read everything it
 wrote to you option.

Yes to the above.   But I want to emphasize that it isn't either/or.
It is one then the other.  First keep things simple by only doing
package upgrades that don't change installed packages.  Then when all
of that is done do a dist-upgrade where package migrations are needed.

  apt-get update
  apt-get upgrade
  apt-get dist-upgrade

 Please consider reading man 8 apt-get. It's all there.

Yes.  Documentation.  Good stuff!

Bob


signature.asc
Description: Digital signature


Testing: install new amd64 kernel in parallel

2013-12-25 Thread Felix Natter
hi,

my USB is broken on current Testing (it worked a few days ago) and I
suspect it's due to a kernel update:

$ uname -a
Linux bitburger 3.10-2-amd64 #1 SMP Debian 3.10.7-1 (2013-08-17) x86_64 
GNU/Linux

Now I can see that a new 3.11+54 would come in with a apt-get upgrade
(http://packages.debian.org/search?keywords=linux-image-amd64searchon=namessuite=testingsection=all).

But I suspect that this upgrade will overwrite my previous (3.10) kernel
(like it did previously) --- how can I tell apt to install the 3.11
kernel in parallel so that I can go back to to 3.10 at the grub prompt?

Is it enough to install linux-image-3.11-2-amd64 manually and then do
the apt-get upgrade?

Thanks (and Merry Christmas to all who celebrate this)!!
-- 
Felix Natter


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87mwjptdfn@bitburger.home.felix



Re: Testing: install new amd64 kernel in parallel

2013-12-25 Thread Reco
 Hi.

On Wed, 25 Dec 2013 11:47:24 +0100
Felix Natter fnat...@gmx.net wrote:

 hi,
 
 my USB is broken on current Testing (it worked a few days ago) and I
 suspect it's due to a kernel update:
 
 $ uname -a
 Linux bitburger 3.10-2-amd64 #1 SMP Debian 3.10.7-1 (2013-08-17) x86_64 
 GNU/Linux
 
 Now I can see that a new 3.11+54 would come in with a apt-get upgrade
 (http://packages.debian.org/search?keywords=linux-image-amd64searchon=namessuite=testingsection=all).
 
 But I suspect that this upgrade will overwrite my previous (3.10) kernel
 (like it did previously) --- how can I tell apt to install the 3.11
 kernel in parallel so that I can go back to to 3.10 at the grub prompt?

In Debian they put different versions of kernel into different
packages.
Kernel 3.10-2-amd64 belongs to a package linux-image-3.10-2-amd64.
Kernel 3.11-2-amd64 belongs to a package linux-image-3.11-2-amd64.

The package 'linux-image-amd64' is a metapackage which depends on the
current linux-image-insert-version-here-amd64 package.


 Is it enough to install linux-image-3.11-2-amd64 manually and then do
 the apt-get upgrade?

There is no need to complicate things. 'apt-get dist-upgrade' will
suffice, and it will keep your current kernel along with a new one.


 Thanks (and Merry Christmas to all who celebrate this)!!

Merry Christmas to you too.

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20131225150040.524065e60c6b6e0ce7527...@gmail.com



Re: Testing: install new amd64 kernel in parallel

2013-12-25 Thread Felix Natter
Reco recovery...@gmail.com writes:

  Hi.

hi Reco,

 On Wed, 25 Dec 2013 11:47:24 +0100
 Felix Natter fnat...@gmx.net wrote:

 hi,
 
 my USB is broken on current Testing (it worked a few days ago) and I
 suspect it's due to a kernel update:
 
 $ uname -a
 Linux bitburger 3.10-2-amd64 #1 SMP Debian 3.10.7-1 (2013-08-17) x86_64 
 GNU/Linux
 
 Now I can see that a new 3.11+54 would come in with a apt-get upgrade
 (http://packages.debian.org/search?keywords=linux-image-amd64searchon=namessuite=testingsection=all).
 
 But I suspect that this upgrade will overwrite my previous (3.10) kernel
 (like it did previously) --- how can I tell apt to install the 3.11
 kernel in parallel so that I can go back to to 3.10 at the grub prompt?

 In Debian they put different versions of kernel into different
 packages.
 Kernel 3.10-2-amd64 belongs to a package linux-image-3.10-2-amd64.
 Kernel 3.11-2-amd64 belongs to a package linux-image-3.11-2-amd64.

 The package 'linux-image-amd64' is a metapackage which depends on the
 current linux-image-insert-version-here-amd64 package.


 Is it enough to install linux-image-3.11-2-amd64 manually and then do
 the apt-get upgrade?

 There is no need to complicate things. 'apt-get dist-upgrade' will
 suffice, and it will keep your current kernel along with a new one.

I guess the same goes for 'apt-get upgrade'?

And the reason why I got automatic (replacing) updates for linux-image
3.10 is that it was minor version update (3.10.x)?

Can you really recommend 'apt-get dist-upgrade' over 'apt-get upgrade'?

 Thanks (and Merry Christmas to all who celebrate this)!!

 Merry Christmas to you too.

Many Thanks!
-- 
Felix Natter


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8761qdt7mi@bitburger.home.felix



Re: Testing: install new amd64 kernel in parallel

2013-12-25 Thread Reco
 Hi.

On Wed, 25 Dec 2013 13:52:53 +0100
Felix Natter fnat...@gmx.net wrote:

  Is it enough to install linux-image-3.11-2-amd64 manually and then do
  the apt-get upgrade?
 
  There is no need to complicate things. 'apt-get dist-upgrade' will
  suffice, and it will keep your current kernel along with a new one.
 
 I guess the same goes for 'apt-get upgrade'?

No. 'apt-get upgrade' will never install or remove package. So it'll
just 'keep back' (apt says so usually in these cases) linux-image-amd64
and do nothing.


 
 And the reason why I got automatic (replacing) updates for linux-image
 3.10 is that it was minor version update (3.10.x)?

The same package name is the reason.
Well, technically they put some patches to the source and rebuilt it,
but presumably it didn't change kernel ABI at all. So, instead of
putting it to a separate linux-image-3.10-3-amd64 (note the last '3'),
they put it into the same linux-image-3.10-2-amd64 (note the last '2')
and bumped version.

'apt-get upgrade' was permitted to upgrade the kernel because it's a
package version change, not installing new one.


 Can you really recommend 'apt-get dist-upgrade' over 'apt-get upgrade'?

Both are useful, just for different use cases:

a) apt-get upgrade
You want to be sure that nothing will be removed on upgrade, and
nothing unneeded will be installed. Considered a safe option, should be
tried first.

b) apt-get dist-upgrade
You want your upgrades here and now and willing to tolerate some
collateral damage (joking :). Considered you've read everything it
wrote to you option.

Please consider reading man 8 apt-get. It's all there.

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20131225171217.9da10bba48aa629a13a04...@gmail.com