Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #224255

Re: how to: apt --exclude=foo* upgrade

From Hans <hans.ullrich@loop.de>
Newsgroups linux.debian.user
Subject Re: how to: apt --exclude=foo* upgrade
Date 2020-07-01 14:20 +0200
Message-ID <AnJSy-8m9-21@gated-at.bofh.it> (permalink)
References <AnJfQ-7PS-17@gated-at.bofh.it> <AnJpv-7T9-7@gated-at.bofh.it> <AnJpv-7T9-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Am Mittwoch, 1. Juli 2020, 13:49:02 CEST schrieb grumpy@mailfence.com:
I believe, the best way is just to deinstall package "linux-image-amd64".

So you can let debian the actual debian kernel installed, but it won't 
overwrite and renew the actual kernels at upgrade/full-upgrade.

This has the advantage, you have either an old kernel at hand if something 
goes bad, and you can easily install a kernel from the debian repo
, if needed. It is never a bad idea, to have a working kernel at hand.

When you build your own kernel, take care of the version number, so that will 
not be overwritten by apt (if you build a kernel package of your own and not 
just simply built and install the kernel via a script or manually)

Have fun!

Best regards

Hans

> On Wed, 1 Jul 2020, Greg Wooledge wrote:
> > On Wed, Jul 01, 2020 at 01:22:29PM +0200, grumpy@mailfence.com wrote:
> >> i build my kernels
> >> how can i tell apt to never install a kernel when i upgrade
> > 
> > Remove all Debian kernel packages, including and most especially
> > the metapackages such as "linux-image-amd64".
> 
> thanks
> simple
> like me :)

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how to: apt --exclude=foo* upgrade grumpy@mailfence.com - 2020-07-01 13:40 +0200
  Re: how to: apt --exclude=foo* upgrade grumpy@mailfence.com - 2020-07-01 13:50 +0200
    Re: how to: apt --exclude=foo* upgrade Hans <hans.ullrich@loop.de> - 2020-07-01 14:20 +0200
  Re: how to: apt --exclude=foo* upgrade Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-01 13:50 +0200
  Re: how to: apt --exclude=foo* upgrade The Wanderer <wanderer@fastmail.fm> - 2020-07-01 13:50 +0200

csiph-web