There are situations where Ubuntu or Xubuntu without the need to update the GUI.On the server is the standard update procedure, but also users of personal computers this method may be useful.For example, if for some reason a graphical utility is not available, or you want to force to check and install updates.For all commands, you must run the terminal.
- account with rights to run programs as root via sudo.Typically, the first account created on Ubuntu has such rights.
- computer must be connected to the Internet.
- During the update is downloaded considerable amount of data from the Internet, so it is advisable to make your internet connection charged at flat rate.
Run terminal emulator.For example, in Xubuntu, this program is called Terminal.
first step is to update the list of available packages.This is done in the command sudo apt-get update.When you first run sudo will ask to enter the password of the current user account, for the confirmation of the comm
and as root.Subsequent launches within the same session will be carried out without requiring a password.
After the update package is finished, type update all installed packages sudo apt-get upgrade.
If the package manager apt finds available updates it displays a list of upgradeable packages and ask you to continue.Press Y, to begin the process of downloading and installing updates.Please note that not all packages will be updated after this command.
Depending on the speed of your Internet connection, your PC's performance and the number of updates, the update process may last for a long time - up to several hours.Have patience.As a rule, at an average PC, even the volume update takes 15-20 minutes.At the end, make sure that the update was without error, and restart the computer by typing sudo reboot, or otherwise.
After rebooting, run the terminal emulator and enter the command sudo apt-get dist-upgrade.This command will update those packages that have not been updated command sudo apt-get upgrade because of unresolved dependencies.All actions are similar to step 4. After just restart your computer.This update procedure is completed.
steps above allows you to upgrade packages within the current distribution, which the company produces canonical at intervals of 6 months.And once in 2 years in April, the distribution is available to support long-term (LTS).I recommend that you use only the LTS distributions.However, in the case of intermediate distributions in the case of LTS on a single upgrade to a new distribution using the following command sudo do-release-upgrade.This master upgrade to the latest available distribution.Note that by default, using this wizard, you can update the LTS distribution only until the next LTS distribution.After running the command, follow the on-screen instructions and carefully read all the messages.
Upgrading to a new version of the distribution can cause malfunction of some programs.For example, many mistakes were after updating Ubuntu 10.04 on 12.04 in mind changes in the desktop environment.While most everything goes smoothly, this nuance is necessary to bear in mind.
To enter each time sudo before each command, you can enter the session command as root sudo -i.Then follow all the commands without sudo at the beginning of the line.