You are not logged in.
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
glibc, systemd, linux and nvidia are packages that require a system reboot...
That statement is only true for the kernel.
Offline
Take a look at needrestart.
Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
It's a big club...and you ain't in it -- George Carlin
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '
Offline
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
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?
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
I personally update (and whatever is required after that) before rebooting, not while I use/work on my computer.
Offline
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
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
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