If you’re running an older Ubuntu version and you want to upgrade to the latest 14.10 Utopic Unicorn, there are two ways of doing it. You can upgrade from the Ubuntu Gnome desktop via Software & Updates or you can run the upgrade via the Terminal using this command.
Be sure the backup your previous work. There’s a third option. Install Ubuntu 14.10 from scratch.