How can I tell what package requires a reboot of my system?


Based on Olli's earlier answer, I came up with a method to find all currently installed packages on your system that requires a reboot.

~$ mkdir debs ~$ cd debs ~/debs$ apt-get download $(dpkg -l | tail -n +7 | awk '{print $2}')

Wait for the download to complete, on my system it was around 900 MB so it might take a while depending on your connection. Then:

~/debs$ for x in $(ls); do y=$(dpkg-deb -I "$x" postinst 2>/dev/null | grep 'reboot-required'); if [ -n "$y" ]; then echo "$x" | grep -Poe '^.*?(?=_)'; fi; done

The output may look something like this:

dbus gconf2 initscripts libc6 libpam0g libpam-systemd libssl1.0.0 linux-image-3.19.0-47-generic linux-image-3.19.0-49-generic network-manager upstart

Of course, this method is not foolproof. There might be packages that notifies about the required reboot through other means than 'notify-reboot-required', and while this shows which currently installed packages require or doesn't require a reboot, it is not...

0 0

The only thing that absolutely requires a reboot is modifying the kernel. Any process can be killed if the program (or some library or other file that it depends on) has been upgraded, but that isn't the case for the kernel.

Actually, it's possible to patch a Linux kernel directly in memory sometimes. There are several tools that work at least in some cases: Ksplice, Kpatch, kGraft… Each of them works in some simple cases but not all; they typically work with security updates, as those don't change any internal interface (especially data structure formats), but not to upgrade between kernel versions. Ubuntu doesn't support them by default (the technology hasn't been available as free software for very long).

Although anything that isn't in the kernel can be upgraded on a running system, it still requires restarting the affected processes. On a server this means restarting the servers that use an executable, library, plugin, data file, configuration or other dependency...

0 0

If you have the reboot-notifier or update-notifier-common packages installed, then you get the files /var/run/reboot-required and /var/run/reboot-required.pkgs

reboot-notifier is newer in Ubuntu Wily and Xenial. Debian stretch, but in jessie-backports

update-notifier-common Is older, in all Ubuntu versions including Xenial and Debian Wheezy. Not in Debian Stretch or Jessie.

( There is some background to the reboot-notifier package at )

If you don’t have these packages installed then you can compare the version of the linux package installed, with the version running:

tim@tramp:~$ dpkg -l linux-image-* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description...
0 0

[Summary]reboot my system my system is automatic reboot after 2 hours no any error was found befor reboot system @ after only black screen befor reboot plz help me me wait for you answer system information Operating System: Windows 7 Ultimate 32-bit (6.1, Bui


reboot my system

my system is automatic reboot after 2 hours

no any error was found befor reboot system @ after only black screen befor reboot plz help me me wait for you answer

system information

Operating System: Windows 7 Ultimate 32-bit (6.1, Build 7260) (7260.win7_rtm.090612-2110)
Language: English (Regional Setting: English)
System Manufacturer: Hewlett-Packard
System Model: Compaq 610
BIOS: KBC Version 26.08
Processor: Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz (2 CPUs), ~2.0GHz
Memory: 3072MB RAM
Available OS Memory: 3064MB RAM
Page File: 1319MB used, 4805MB available
Windows Dir: C:\Windows

0 0


I'm not sure my english is enough to explain my complains.

I know computer needs sometime to reboot : i used computer since 1981, Mac since 1989 and i'm a developer (C, C++, Python, PHP, HTML, CSS...). So i considere my to have enough experience

But for example restarting the computer to update Safari is completly new, it NEVER happens on any Mac until Safari 4 (and i've used a lot of browsers : Mosaic, Netscape Communicator, Internet Explorer, iCab, Opera, Safari, Firefox, Chrome...).
So it seems i'm the only one to notice that (need to rebott the computer to update the browser) and to complain.
If you found this *NEW FEATURE* fine and OK for you, nothing to add.

For me it's very annoying ; but perhaps may be i'm just an old stupid mac...

0 0
Edit the /etc/default/grub and replace GRUB_DEFAULT=0 with GRUB_DEFAULT=saved sudo update-grub

your command will be:

sudo grub-reboot "$(grep -i 'windows' /boot/grub/grub.cfg|cut -d"'" -f2)" && sudo reboot

a pretty function in your ~/.bashrc will look like

# ****************************************************************** # reboot directly to windows # Inspired by # ****************************************************************** function my_reboot_to_windows { WINDOWS_TITLE=`grep -i 'windows' /boot/grub/grub.cfg|cut -d"'" -f2` sudo grub-reboot "$WINDOWS_TITLE" sudo reboot }

In case, your grub.conf contains multiple lines for Windows, following functions will take care only about lines starting by menuentry and picking just the first one, referring to Windows:

function my_reboot_to_windows { WINDOWS_TITLE=`grep -i "^menuentry 'Windows"...
0 0

One of the common questions I get from customers who are trying to redistribute the .NET Framework with their setup package is how to handle reboots that might happen during .NET Framework setup. I'll try to address the various questions I've seen so far in this blog post.

When does .NET Framework setup require a reboot?

The .NET Framework setup will require a reboot when one of the files it needs to install is in use during installation. There are a handful of files that are shared by all versions of the .NET Framework, so if there is an earlier version of the .NET Framework installed on the system than the one that is currently being installed, and a managed application is running and holding one of the shared files in use, then a reboot could be required at the end of installation.

How can I tell if .NET Framework setup requires a reboot?

The .NET Framework setup will return code 3010 if it detects that a reboot is required in order to complete...

0 0
Please read the FAQ and search before posting.

Want your device type and iOS version next to your username? Assign your device and iOS flair here!

iOS 10.2.1 BETA jailbreak for some 64-bit devices here.

iOS 10.0.1-10.2 jailbreak for 64-bit devices here.

iOS 9.3.5 jailbreak for 32-bit devices here.

iOS 10.3.x and later do not have a jailbreak.

Visit the wiki for a full list of firmwares and jailbreak tools.

Reset Post Filtering ?

Upgrade/downgrade/restore: you can find out what your options are on the downgrade wiki page.

Escape Plan: you can contribute to our list of recommended tweaks.

More: subreddit styling options, volunteer translators for tweaks, developers on Twitter.

YouTube: iTweakz, EverythingApplePro

Jailbreak Discord

/r/jailbreak does not allow piracy tools, sources, or websites. No pirated tweaks, apps, etc. Please also do not post or advertise products or services that are in...

0 0

> On 10/08/2010 04:47 AM, R Kimber wrote:


>> Is there a definitive list somewhere that shows which packages, when

>> upgraded, require you to restart the computer? Long ago, it used to be just

>> the kernel, but now it seems to embrace various packages. It would help if

>> the upgrade manager announced clearly, before you upgrade, that a restart is

>> required if you go ahead, but it doesn't.


>> If there isn't a webpage somewhere, maybe it would be useful if this list

>> compiled one (?). I'm guessing, but a start might be:


>> kernel

>> dbus

>> libc6

>> openssl


> lisbssl


> I think that it depends on the patch, so it's hard to determine. For

> security updates the USN announcement will show whether a reboot is

> required, example:



> After a standard system update you...

0 0

About Ksplice

Linux distributions require a reboot about once a month to stay up to date with important kernel and user-space security and bug fix updates. Ksplice allows you to apply these important updates published by your Linux vendor for the kernel and critical user-space components, without rebooting.

Do I need to reboot to install Ksplice Uptrack?

Ksplice Uptrack works with the unmodified versions of the kernels we support. Even the initial installation process is completely rebootless, so Ksplice can bring your kernel up-to-date without any downtime.

For user-space patching on Oracle Linux 6 and Oracle Linux 7, the components that Ksplice patches with zero-downtime need to be first upgraded to a Ksplice-aware version and the system restarted.

Which kernels does Ksplice Uptrack support?

Ksplice Uptrack supports Oracle Linux as a feature of Oracle Linux Premier Support. Ksplice also supports a 30 day trial for Red Hat Enterprise...

0 0


This morning we had 150 restarts in the most of our servers.

In the event viewer of one of the server, i saw the following event:

The process winlogon.exe has initiated the restart of computer "servername" on behalf of user NT AUTHORITY\SYSTEM for the following reason: No title for this reason could be found Reason Code: 0x80020001 Shutdown Type: restart Comment: Microsoft Configuration Manager has restarted your computer after installing a Software Package or a Software Update that requires a reboot. For more information, see Help and Support Center at

How can i find what (package) initiate the restart in all of our servers?

Thank you

0 0
Apr 19, 2011

Sometimes when we update/upgrade packages we get the restart required icon on the desktop panel which means we need to reboot for the update to complete. Is there someway to know which or what package required the reboot to happen ?

Debian Multimedia :: Packages Required For Fluxbox Debian :: Minimun Packages Required To Build Kde Apps Debian Configuration :: Openssh-server Fails To Restart During Update? General :: What Are Required Rpm Packages Ubuntu Installation :: Anjuta 3.0.0 & GTK+ 3 As Well As All The Required Packages Be Able To Run? Fedora :: Strange Packages Required To Install Skype Ubuntu Installation :: Broken Packages Required For Upgrade? General :: How To Know Required Packages Of One Package Before Installing In Ubuntu? Slackware :: Minimum Packages Required To Install Kde Or Gnome? Slackware :: What Packages Are Required For Compiling Source On Slack 13? CentOS 5 :: Unable To Download Required Packages With Yum Install Debian...
0 0
Related to : How can I tell what package requires a reboot of my system?How can I tell what package requires a reboot of my system? by DesiPower in Development
I have unattended-upgrade set up on my Ubuntu systems. Occasionally I will log in remotely to one of them and I'll see a message informing me that I need to reboot the system (in order to complete an upgrade). Is there a way to determine the specific package (or set of packages) which is trigger
Flash 6 Player - Requires System reboot!? by artvscommerce in Development
hi, i am unaware of this being an issue already, and if it hasnt i would like to make it one.
Upgrading your Flash plyaer to #6 requires a system reboot???
I just had to explain to my clients that they wouldnt be able to see their new flash 6 content before they restarted their system, AFT
[lubuntu] wifi drop out requires reboot of system by gorbiz in Development
I've checked many forum posts on this problem. It seems...
0 0
0 0