Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #184216
| From | Dejan Jocic <jodejka@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Need to upgrade to jessie need help |
| Date | 2017-07-25 15:40 +0200 |
| Message-ID | <u78e5-3nc-9@gated-at.bofh.it> (permalink) |
| References | <u71FD-7Lw-3@gated-at.bofh.it> <u72Lo-8oY-19@gated-at.bofh.it> <u76Fk-2je-11@gated-at.bofh.it> <u77Bn-2Vd-13@gated-at.bofh.it> <u784q-3jY-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 25-07-17, Cindy-Sue Causey wrote: > On 7/25/17, Dejan Jocic <jodejka@gmail.com> wrote: > > On 25-07-17, Greg Wooledge wrote: > >> On Tue, Jul 25, 2017 at 09:41:24AM +0200, Dejan Jocic wrote: > >> > When you upgrade to Jessie, it will install new kernel automatically. > >> > However, it should not remove your Wheezy kernel, because upgrading > >> > kernels always leaves one old one there, in case that you can not boot > >> > into your new kernel for some reason. You can then mark that kernel via > >> > grub options as one you would like to boot in. You can do it during > >> > boot > >> > in grub, or by setting it as default in /etc/default/grub. > >> > >> All true. > >> > >> > You will also > >> > have to use apt-mark to put that kernel on hold, to prevent removing it > >> > on future updates, or to do some apt pinning. > >> > >> False. The kernel will simply sit there forever, unless you take some > >> explicit action to remove it. No holds or pinning or other wrestling > >> required. > >> > > > > That is not true, if you use autoremove. Only 2 last kernels will be > > kept. This is upgrade from Jessie here. I have 4.9.0.2 and 4.9.0.3 > > kernels. Jessie kernel is long gone with autoremove. > > > Well, that's a little... scary. *frown* > > Except that... I just deleted the rest of what I first wrote because > it hit me. Autoremove is what apt-get tells me to use to remove > packages..... that are no longer needed.... that are no longer > "dependencies". What it actually tells *me* is something like "apt > autoremove" (not "apt-get autoremove"). > > Aaaahhhh... So in autoremove's mind... It might touch on that previous > kernel and say... hm, nothing's using it now, nothing needs it to > function properly, so trash it........ > > Or something like that.... there...... :) > > Cindy :) > -- > Cindy-Sue Causey > Talking Rock, Pickens County, Georgia, USA > > * runs with duct tape * > What it touch is /etc/kernel/postinst.d/apt-auto-removal that generates /etc/apt/apt.conf.d/01autoremove-kernels file. Those decide what kernels to keep. And, in case of /etc/kernel/postinst.d/apt-auto-removal it is clearly stated: # Mark as not-for-autoremoval those kernel packages that are: - the # currently booted version - the kernel version we've been called for - # the latest kernel version (as determined by debian version number) - # the second-latest kernel version # # In the common case this results in two kernels saved (booted into the # second-latest kernel, we install the latest kernel in an upgrade), but # can save up to four. Kernel refers here to a distinct release, which # can potentially be installed in multiple flavours counting as one # kernel.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Need to upgrade to jessie need help VigneshDhanraj G <vigneshdhanraj.g@gmail.com> - 2017-07-25 08:40 +0200
Re: Need to upgrade to jessie need help Dejan Jocic <jodejka@gmail.com> - 2017-07-25 09:50 +0200
Re: Need to upgrade to jessie need help VigneshDhanraj G <vigneshdhanraj.g@gmail.com> - 2017-07-25 09:50 +0200
Re: Need to upgrade to jessie need help Greg Wooledge <wooledg@eeg.ccf.org> - 2017-07-25 14:00 +0200
Re: Need to upgrade to jessie need help Dejan Jocic <jodejka@gmail.com> - 2017-07-25 15:00 +0200
Re: Need to upgrade to jessie need help Cindy-Sue Causey <butterflybytes@gmail.com> - 2017-07-25 15:30 +0200
Re: Need to upgrade to jessie need help Dejan Jocic <jodejka@gmail.com> - 2017-07-25 15:40 +0200
Re: Need to upgrade to jessie need help Cindy-Sue Causey <butterflybytes@gmail.com> - 2017-07-25 16:00 +0200
Re: Need to upgrade to jessie need help Dejan Jocic <jodejka@gmail.com> - 2017-07-25 16:10 +0200
Re: Need to upgrade to jessie need help Greg Wooledge <wooledg@eeg.ccf.org> - 2017-07-25 16:10 +0200
Re: Need to upgrade to jessie need help Dejan Jocic <jodejka@gmail.com> - 2017-07-25 16:20 +0200
Re: Need to upgrade to jessie need help David Wright <deblis@lionunicorn.co.uk> - 2017-07-27 17:50 +0200
Re: Need to upgrade to jessie need help Dejan Jocic <jodejka@gmail.com> - 2017-07-28 17:50 +0200
Re: Need to upgrade to jessie need help Greg Wooledge <wooledg@eeg.ccf.org> - 2017-07-28 18:10 +0200
Re: Need to upgrade to jessie need help Dejan Jocic <jodejka@gmail.com> - 2017-07-28 18:20 +0200
Re: Need to upgrade to jessie need help Mark Fletcher <mark27q1@gmail.com> - 2017-07-29 17:30 +0200
Re: Need to upgrade to jessie need help Brian <ad44@cityscape.co.uk> - 2017-07-25 20:50 +0200
Re: Need to upgrade to jessie need help Greg Wooledge <wooledg@eeg.ccf.org> - 2017-07-25 21:00 +0200
Re: Need to upgrade to jessie need help Gene Heskett <gheskett@shentel.net> - 2017-07-26 02:40 +0200
Re: Need to upgrade to jessie need help Georgi Naplatanov <gosho@oles.biz> - 2017-07-25 10:30 +0200
Re: Need to upgrade to jessie need help Patrick Bartek <nemommxiv@gmail.com> - 2017-07-25 16:10 +0200
Re: Need to upgrade to jessie need help Brian <ad44@cityscape.co.uk> - 2017-07-25 21:10 +0200
Re: Need to upgrade to jessie need help Patrick Bartek <nemommxiv@gmail.com> - 2017-07-26 01:20 +0200
Re: Need to upgrade to jessie need help Brian <ad44@cityscape.co.uk> - 2017-07-26 01:30 +0200
Re: Need to upgrade to jessie need help Patrick Bartek <nemommxiv@gmail.com> - 2017-07-26 06:00 +0200
Re: Need to upgrade to jessie need help David Wright <deblis@lionunicorn.co.uk> - 2017-07-27 18:50 +0200
Re: Need to upgrade to jessie need help Greg Wooledge <wooledg@eeg.ccf.org> - 2017-07-26 14:30 +0200
Re: Need to upgrade to jessie need help Brian <ad44@cityscape.co.uk> - 2017-07-26 15:10 +0200
Re: Need to upgrade to jessie need help David Christensen <dpchrist@holgerdanske.com> - 2017-07-26 02:30 +0200
csiph-web