Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #234732
| From | Kenneth Parker <sea7kenp@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: When to reboot after dist-upgrade? |
| Date | 2021-05-03 06:20 +0200 |
| Message-ID | <CaydQ-18Y-1@gated-at.bofh.it> (permalink) |
| References | <CavSG-82a-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Sun, May 2, 2021, 9:42 PM riveravaldez <riveravaldezmail@gmail.com> wrote: > Hi, sorry if this is not the place to ask (and in that case please > point me in the proper direction). > > I'm trying to distinguish when a system reboot is an absolute need > and when it is absolutely safe to keep the system running/working > after a `sudo apt-get update && sudo apt-get dist-upgrade`, once > I have already performed a complete restart of all needed services > through `sudo needrestart' options in Debian testing. > In general, if the Kernel is updated, plan to Restart. Usually, dist-upgrade is required, when Version Numbers change, requiring addition of new packages. The Linux Kernel is a common (but not the only) reason for this. Also beware, because Debian occasionally will update the Kernel without updating the Version Number. So it is possible that a Restart is required, without a dist-upgrade. Good luck! Kenneth Parker > So, in a situation like this: > > $ sudo apt-get dist-upgrade > Reading package list ... Done > Creating dependency tree ... Done > Reading status information ... Done > Calculating the update ... Done > The following packages have been withheld: > imagemagick inkscape libc-bin libc6 libc6-dbg libcrypt1 > libpoppler-glib8 local openssh-client openssh-server > openssh-sftp-server ssh > 0 updated, 0 new will be installed, 0 to remove, and 12 not updated. > > $ sudo needrestart > Scanning processes... > Scanning processor microcode... > Scanning linux images... > > Running kernel seems to be up-to-date. > > Failed to check for processor microcode upgrades. > > No services need to be restarted. > > No containers need to be restarted. > > No user sessions are running outdated binaries. > > $ sudo checkrestart > lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs > Output information may be incomplete. > Found 6 processes using old versions of upgraded files > (1 distinct program) > (0 distinct packages) > No packages seem to need to be restarted. > (please read checkrestart(8)) > > , would be perfectly safe and right to keep the system running or on > the contrary should I perform a (warm/cold?) reboot to be safe? > > Thanks a lot in advance for any hint or info. > > Kind regards. > > PS: `apt-get dist-upgrade` output is translated to English..., system is > in Spanish and I keep not-remembering how to force console output > to English, sorry... > >
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
When to reboot after dist-upgrade? riveravaldez <riveravaldezmail@gmail.com> - 2021-05-03 03:50 +0200
Re: When to reboot after dist-upgrade? David <bouncingcats@gmail.com> - 2021-05-03 04:00 +0200
Re: When to reboot after dist-upgrade? Kenneth Parker <sea7kenp@gmail.com> - 2021-05-03 06:20 +0200
Re: When to reboot after dist-upgrade? "Rick Thomas" <rbthomas@pobox.com> - 2021-05-03 08:10 +0200
Re: When to reboot after dist-upgrade? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-03 09:00 +0200
Re: When to reboot after dist-upgrade? Stefan Monnier <monnier@iro.umontreal.ca> - 2021-05-03 15:20 +0200
Re: When to reboot after dist-upgrade? Greg Wooledge <greg@wooledge.org> - 2021-05-03 15:20 +0200
csiph-web