Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

What questions are asked during the update or upgrade process? It would be good to know beforehand in case we choose the wrong option when asked and there is no turning back.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

I don't know if you're talking about a normal upgrade, which you do about once a week - perhaps more often, or an upgrade from one major version to another, but the answer is the same for both:

  • Normally, no questions at all are asked

There are some, rare, cases (in both upgrades and release-upgrades), where a service or a post-install script will ask something, examples for this are

  • msttcorefonts asking you to accept the microsoft license agreement

  • mysql asking you to set up a root password

There also can be cases where you need to decide whether to keep an old configuration file or replace it with a new one. You will be asked to either replace, keep or compare, in any case - if you didn't change a configuration file manually, it's normally safe to replace it with the new one.

If a question is asked of you, and you really don't know what to do, just hit enter (or Y).
The default option will almost certainly be sensible.

share|improve this answer
    
That is not true if you are upgrading from livecd. –  Benjamin Feb 8 '12 at 5:38

Ubuntu, with it's installer, tries hard to ask few questions only.

From my experience that works quite well;

There are two kinds of questions that are asked from time to time,
(depending on the complexity and welstructuredness of the system being updated).

The questions can moastly be separated into two categories:

Trivial queries:

  • Packages that are being installed query the user for information
    • on decisions like choosing an X11 display managers after installing an additional one,
    • or things like "confirming" "license agreements".

Configuration change conflicts:

  • The installer attempts to update a package, but when routinely checking that, it notices that a configuration file was changed since the replaced package version, and the same file has been changed or replaced locally compared to the file the earlier version would have installed by default.

Obviously, the second category requires much more attention than the first, but they are not very frequent. When I updated my Ubuntu 13.10 to 14.4, I had to handle maybe four of these, plus two more "obviously irrelevant" (that was for a system in less-than-perfect state of administration).

In terms of, referring to your question, "better being prepared": These conflicts are sometimes hard to resolve, ie if the "diff" is noisy, or the background of the manual change is not clear. But it is possible to keep both file variants as backup and resolve it manually later. (That could leave the configuration of an important service incomplete or broken, so do take a note.)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.