How can I find out, before upgrading, whether a reboot will be requiredHow to get “apt-get -y upgrade” within a PHP script to function as expected?Linux Mint 15 Olivia source listHow can I upgrade a complete list of packages from stable to backportsDebian: cannot install packagesHow to get prompted before restarting services after packages upgrades?apt-get update fails on debian squeeze with “File not found”apt-get --simulate dist-upgrade: What is the meaning of “Inst” and “Conf”?How to Upgrade or Downgrade MongoDBCan't download python-devHow to get list of to-be-upgraded packages using apt-get?

Multi tool use
Multi tool use

Does the radius of the Spirit Guardians spell depend on the size of the caster?

Email Account under attack (really) - anything I can do?

LED on same Pin as Toggle Switch, not illuminating

Circuitry of TV splitters

Why has Russell's definition of numbers using equivalence classes been finally abandoned? ( If it has actually been abandoned).

Download, install and reboot computer at night if needed

How to calculate implied correlation via observed market price (Margrabe option)

declaring a variable twice in IIFE

Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)

Could a US political party gain complete control over the government by removing checks & balances?

Why is this code 6.5x slower with optimizations enabled?

Infinite past with a beginning?

Prevent a directory in /tmp from being deleted

If Manufacturer spice model and Datasheet give different values which should I use?

Set-theoretical foundations of Mathematics with only bounded quantifiers

Why is an old chain unsafe?

Copycat chess is back

My colleague's body is amazing

Why don't electron-positron collisions release infinite energy?

Extreme, but not acceptable situation and I can't start the work tomorrow morning

Concept of linear mappings are confusing me

How to type dʒ symbol (IPA) on Mac?

Why is the design of haulage companies so “special”?

What do you call something that goes against the spirit of the law, but is legal when interpreting the law to the letter?



How can I find out, before upgrading, whether a reboot will be required


How to get “apt-get -y upgrade” within a PHP script to function as expected?Linux Mint 15 Olivia source listHow can I upgrade a complete list of packages from stable to backportsDebian: cannot install packagesHow to get prompted before restarting services after packages upgrades?apt-get update fails on debian squeeze with “File not found”apt-get --simulate dist-upgrade: What is the meaning of “Inst” and “Conf”?How to Upgrade or Downgrade MongoDBCan't download python-devHow to get list of to-be-upgraded packages using apt-get?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I'd like to know before-hand if a reboot will be required. I've tried to get verbose output during a simulated upgrade to grep for /run/reboot-required. But that doesn't seem to work.










share|improve this question






























    2















    I'd like to know before-hand if a reboot will be required. I've tried to get verbose output during a simulated upgrade to grep for /run/reboot-required. But that doesn't seem to work.










    share|improve this question


























      2












      2








      2








      I'd like to know before-hand if a reboot will be required. I've tried to get verbose output during a simulated upgrade to grep for /run/reboot-required. But that doesn't seem to work.










      share|improve this question
















      I'd like to know before-hand if a reboot will be required. I've tried to get verbose output during a simulated upgrade to grep for /run/reboot-required. But that doesn't seem to work.







      apt






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 days ago









      Stephen Kitt

      180k25409488




      180k25409488










      asked Apr 5 at 3:55









      RondoRondo

      1436




      1436




















          1 Answer
          1






          active

          oldest

          votes


















          3














          When you simulate an upgrade, the simulation doesn’t run any of the operations which lead to deciding whether a reboot is required or not; so it isn’t possible to determine automatically whether an upgrade would result in requesting a reboot.



          If you’re really interested, you could look at the maintainer scripts of all the packages which are about to be upgraded, figure out what conditions lead to a reboot request, and determine whether those conditions will be met during the upgrade. But that’s a rather unrealistic endeavour.






          share|improve this answer























          • I was hoping there was a convention of including the actual file in the package if the maintainers knew a reboot would be required... assuming you could determine the file was going to be included in the update actions.... but wishful thinking, I guess.

            – Rondo
            2 days ago






          • 1





            Interesting idea, but it wouldn’t work. For one thing, installing any two such packages would result in a conflict; for another, having a package which directly installs a file which is then removed would result in some tools considering the package to be broken.

            – Stephen Kitt
            2 days ago











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510620%2fhow-can-i-find-out-before-upgrading-whether-a-reboot-will-be-required%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          When you simulate an upgrade, the simulation doesn’t run any of the operations which lead to deciding whether a reboot is required or not; so it isn’t possible to determine automatically whether an upgrade would result in requesting a reboot.



          If you’re really interested, you could look at the maintainer scripts of all the packages which are about to be upgraded, figure out what conditions lead to a reboot request, and determine whether those conditions will be met during the upgrade. But that’s a rather unrealistic endeavour.






          share|improve this answer























          • I was hoping there was a convention of including the actual file in the package if the maintainers knew a reboot would be required... assuming you could determine the file was going to be included in the update actions.... but wishful thinking, I guess.

            – Rondo
            2 days ago






          • 1





            Interesting idea, but it wouldn’t work. For one thing, installing any two such packages would result in a conflict; for another, having a package which directly installs a file which is then removed would result in some tools considering the package to be broken.

            – Stephen Kitt
            2 days ago















          3














          When you simulate an upgrade, the simulation doesn’t run any of the operations which lead to deciding whether a reboot is required or not; so it isn’t possible to determine automatically whether an upgrade would result in requesting a reboot.



          If you’re really interested, you could look at the maintainer scripts of all the packages which are about to be upgraded, figure out what conditions lead to a reboot request, and determine whether those conditions will be met during the upgrade. But that’s a rather unrealistic endeavour.






          share|improve this answer























          • I was hoping there was a convention of including the actual file in the package if the maintainers knew a reboot would be required... assuming you could determine the file was going to be included in the update actions.... but wishful thinking, I guess.

            – Rondo
            2 days ago






          • 1





            Interesting idea, but it wouldn’t work. For one thing, installing any two such packages would result in a conflict; for another, having a package which directly installs a file which is then removed would result in some tools considering the package to be broken.

            – Stephen Kitt
            2 days ago













          3












          3








          3







          When you simulate an upgrade, the simulation doesn’t run any of the operations which lead to deciding whether a reboot is required or not; so it isn’t possible to determine automatically whether an upgrade would result in requesting a reboot.



          If you’re really interested, you could look at the maintainer scripts of all the packages which are about to be upgraded, figure out what conditions lead to a reboot request, and determine whether those conditions will be met during the upgrade. But that’s a rather unrealistic endeavour.






          share|improve this answer













          When you simulate an upgrade, the simulation doesn’t run any of the operations which lead to deciding whether a reboot is required or not; so it isn’t possible to determine automatically whether an upgrade would result in requesting a reboot.



          If you’re really interested, you could look at the maintainer scripts of all the packages which are about to be upgraded, figure out what conditions lead to a reboot request, and determine whether those conditions will be met during the upgrade. But that’s a rather unrealistic endeavour.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 2 days ago









          Stephen KittStephen Kitt

          180k25409488




          180k25409488












          • I was hoping there was a convention of including the actual file in the package if the maintainers knew a reboot would be required... assuming you could determine the file was going to be included in the update actions.... but wishful thinking, I guess.

            – Rondo
            2 days ago






          • 1





            Interesting idea, but it wouldn’t work. For one thing, installing any two such packages would result in a conflict; for another, having a package which directly installs a file which is then removed would result in some tools considering the package to be broken.

            – Stephen Kitt
            2 days ago

















          • I was hoping there was a convention of including the actual file in the package if the maintainers knew a reboot would be required... assuming you could determine the file was going to be included in the update actions.... but wishful thinking, I guess.

            – Rondo
            2 days ago






          • 1





            Interesting idea, but it wouldn’t work. For one thing, installing any two such packages would result in a conflict; for another, having a package which directly installs a file which is then removed would result in some tools considering the package to be broken.

            – Stephen Kitt
            2 days ago
















          I was hoping there was a convention of including the actual file in the package if the maintainers knew a reboot would be required... assuming you could determine the file was going to be included in the update actions.... but wishful thinking, I guess.

          – Rondo
          2 days ago





          I was hoping there was a convention of including the actual file in the package if the maintainers knew a reboot would be required... assuming you could determine the file was going to be included in the update actions.... but wishful thinking, I guess.

          – Rondo
          2 days ago




          1




          1





          Interesting idea, but it wouldn’t work. For one thing, installing any two such packages would result in a conflict; for another, having a package which directly installs a file which is then removed would result in some tools considering the package to be broken.

          – Stephen Kitt
          2 days ago





          Interesting idea, but it wouldn’t work. For one thing, installing any two such packages would result in a conflict; for another, having a package which directly installs a file which is then removed would result in some tools considering the package to be broken.

          – Stephen Kitt
          2 days ago

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510620%2fhow-can-i-find-out-before-upgrading-whether-a-reboot-will-be-required%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          ZON555L1ZYRAdGqposOhfTk Hur4btKr CmuNAr3j m,a3uIK7FKd
          KESH ZVfpohS4 u33WtTuOxvsfJ1qbcA1,HLn 0ib5rj,b7B 34MlCIcp,VkVkpwNaOBkHpva 30b1ZgJX

          Popular posts from this blog

          getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

          NetworkManager fails with “Could not find source connection”Trouble connecting to VPN using network-manager, while command line worksHow can I be notified about state changes to a VPN adapterBacktrack 5 R3 - Refuses to connect to VPNFeed all traffic through OpenVPN for a specific network namespace onlyRun daemon on startup in Debian once openvpn connection establishedpfsense tcp connection between openvpn and lan is brokenInternet connection problem with web browsers onlyWhy does NetworkManager explicitly support tun/tap devices?Browser issues with VPNTwo IP addresses assigned to the same network card - OpenVPN issues?Cannot connect to WiFi with nmcli, although secrets are provided

          Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.