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?
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;
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
add a comment |
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
add a comment |
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
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
apt
edited 2 days ago
Stephen Kitt
180k25409488
180k25409488
asked Apr 5 at 3:55
RondoRondo
1436
1436
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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