You are not logged in.

#1 2021-05-31 17:51:59

Valso
Member
Registered: 2021-04-22
Posts: 54

Packages requiring a system reboot?

Is there a way to make pacman display some sort of a note (or perhaps display the packages names in a different color) when the updated packages require a system reboot for the update to work? For the moment I know that glibc, systemd, linux and nvidia are packages that require a system reboot for the update process to be completed but there appear to be other packages of this kind as well. Sometimes, after an update, some apps begin misbehaving and I have to reboot the system manually. Which is why I think it would be useful if pacman could somehow let the user know which downloaded packages will require a system reboot.
Or, if there isn't such an option, can I make a suggestion to add it to pacman 6.0? It could be either a note in brackets after the package name or simply display the package name in a different color.

Offline

#2 2021-05-31 18:09:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,733
Website

Re: Packages requiring a system reboot?

Valso wrote:

glibc, systemd, linux and nvidia are packages that require a system reboot...

That statement is only true for the kernel.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2021-05-31 23:23:04

merlock
Member
Registered: 2018-10-30
Posts: 183

Re: Packages requiring a system reboot?

Take a look at needrestart.


It's a big club...and you ain't in it -- George Carlin
Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '

Offline

#4 2021-06-01 02:35:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 25,867
Website

Re: Packages requiring a system reboot?

Valso wrote:

Sometimes, after an update, some apps begin misbehaving and I have to reboot the system manually.

Which "apps"?  How do they "misbehave"?

The fact that a reboot is sufficient to resolves these unspecified problems does not mean it is necessary.  Reinstalling your entire OS would also solve the issues - but (hopefully) obviously, that is also not necessary.

Last edited by Trilby (2021-06-01 02:36:07)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2021-06-01 12:20:57

Valso
Member
Registered: 2021-04-22
Posts: 54

Re: Packages requiring a system reboot?

merlock wrote:

Take a look at needrestart.

Thanks, I will. Does it automatically restart the daemons or do I have to use needrestart manually (in terminal) in order to make it happen?

Trilby wrote:
Valso wrote:

Sometimes, after an update, some apps begin misbehaving and I have to reboot the system manually.

Which "apps"?  How do they "misbehave"?

The latest example since 2 days ago are Chrome and the panel in Cinnamon. After glibc updated, Chrome began freezing at random points of usage, wouldn't minimize if maximized (and vice versa), the panel of Cinnamon disappeared and then reappeared and after that it simply froze, only the menu app was working. I restarted the computer and everything went back to normal.
Sometimes, but not always, an update of several python packages causes the same or similar problems which is why I could use any available way to be notified when a package updates and it requires system reboot.

Offline

#6 2021-06-01 12:24:14

icar
Member
From: Catalunya
Registered: 2020-07-31
Posts: 243

Re: Packages requiring a system reboot?

I personally update (and whatever is required after that) before rebooting, not while I use/work on my computer.

Offline

#7 2021-06-01 12:44:10

seth
Member
Registered: 2012-09-03
Posts: 24,877

Re: Packages requiring a system reboot?

Sure it's been libc and not nvidia, causing you to lose access to the kernel module and thus resorting to SW GL?
glibc is at some 2.33 build since February…

Offline

#8 2021-06-01 12:55:59

Valso
Member
Registered: 2021-04-22
Posts: 54

Re: Packages requiring a system reboot?

glibc updated a few days ago. On packages.archlinux.org it reads it was updated on 17th May 2021 but I got the update a few days ago.

Offline

#9 2021-06-01 13:01:46

seth
Member
Registered: 2012-09-03
Posts: 24,877

Re: Packages requiring a system reboot?

It updated from 2.33-4 to 2.33-5 (though actually in a rebuild for gcc11 which in this case would be the biggest problem)

Offline

Board footer

Powered by FluxBB