Notes on upgrade from 11.04 to 11.10

Asked by Charles Pergiel

No major problems on Zotac ZBOX. Installation went smoothly and system rebooted successfully on first attempt.

I did notice a couple of things:
- the window that pops up announcing this thing (is it an upgrade or an installation, or an installation of an upgrade?) cannot be resized.
- complete upgrade took between one and two hours. Took one hour (!) just to do the download. I suspect the server of being the bottleneck. Might have been deliberate as this is the first day this thing is available.
- 40 minutes into the one hour download it stopped and asked a question. Something about if I wanted to replace a preferences file. For grins I say show me the differences, and it shows me an encrypted version of the differences between the two files. Really ugly, but mostly a really bad place to ask a question like this. Ask it before you start, or after you have completed the download. Or maybe this was a deliberate attempt to ease the load on the server?
- at one point a terminal window opened and started reporting errors. Something about how it couldn't create such and such a file. Scrolled on and on and on. Infinite number of files would be my guess.
- the terminal window expanded past the bottom edge of the screen. If there had been anything down there I needed to click, I would have been in trouble.
- wanted my password when I rebooted. Does this mean I am logged on as super? Regular login is not supposed to have a password. If I was super, that would be cool, then I wouldn't have to type sudo before every command I issue in the terminal window.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Eliah Kagan (degeneracypressure) said :
#1

You might want to post your reactions at http://ubuntuforums.org, as that better facilitates discussion. This forum works best for technical support.

"wanted my password when I rebooted. Does this mean I am logged on as super? Regular login is not supposed to have a password. If I was super, that would be cool, then I wouldn't have to type sudo before every command I issue in the terminal window."

I am not sure where you got the idea that regular (non-root) login should not have a password, but it does by default on Ubuntu and also on almost all, if not all, other GNU/Linux distributions. But you can set things up so that you are automatically logged on. If you need help doing that, please feel free to post a question about that.

The password you enter to perform administrative tasks is not root's password (i.e., is *not* the superuser's password). It is the password for your non-root user account. Your account is an administrative account, which means that it can perform actions *as* root (by multiple mechanisms, primarily sudo and PolicyKit), but it is *not* root. On an Ubuntu system, the root account is disabled. It is strongly recommended to keep it this way. Please see https://help.ubuntu.com/community/RootSudo for details.

"If I was super, that would be cool, then I wouldn't have to type sudo before every command I issue in the terminal window."

You don't have to type sudo before every command you run in the Terminal -- just before commands you want ran as root. Even when performing administrative tasks, a number of commands, like cd and ls, do not usually need to be run as root, and should not be (it is good practice only to run things as root when necessary).

However, it comes to mind that you might prefer to configure things so that you don't need to enter your password to run commands as root with sudo (and so that graphical sudo frontends, such as gksu, also don't require you to enter your password). Before doing this, you should be aware of the disadvantages:

(1) You are more likely to accidentally perform an action as root that you didn't intend to, especially graphically, where you do not actually have to type "sudo" to perform an administrative action.

(2) Someone else using your machine is more likely to accidentally or intentionally perform an administrative action that you do not want.

If you are willing to accept this elevated risk, then you can edit your sudoers file with visudo (see https://help.ubuntu.com/community/Sudoers) and change the line that says

%admin ALL=(ALL) ALL

so that it instead says:

%admin ALL=(ALL) NOPASSWD: ALL

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#2

By the way, as detailed in https://help.ubuntu.com/community/RootSudo, if you want to simulate a root shell (where the shell and also everything you run in it will run by default as root), you can do that with "sudo -i" or (if you don't want root's environment variables) "sudo -s".

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#3

It occurs to me to ask -- did you have Ubuntu 11.04 set up so that you were automatically logged in when you booted up? If so, then for Ubuntu 11.10 not to be configured that way after upgrade would probably be considered a bug. Have you searched to see if a bug has been reported for this? While this bug could actually be fixed even though Ubuntu 11.10 has been released -- since it affects upgrading rather than installing from the CD -- I am not sure whether or not it would be considered to qualify for an SRU (see https://wiki.ubuntu.com/StableReleaseUpdates).

I'd guess that the reason for this behavior is that automatic graphical login is a function of the display manager, and Ubuntu 11.04 uses GDM as the default display manager, whereas Ubuntu 11.10 uses LightDM as the default display manager. So if this is a bug, I suppose it is a bug in LightDM (as the fix would be for LightDM to automatically import settings from GDM).

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.