doc: update linux update/upgrade instructions

Linux package update/upgrade instuctions were incomplete (on
Ubuntu the instructions updated the local database but didn't
actually do the upgrade).  On Fedora, the dnf update command was
deprecated in favor of dnf upgrade.

Change-Id: I83e126cf924d9c3720fcfb77b0d5abda943a6af5
Jira: ZEP-516
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
David B. Kinder 2016-08-01 10:08:04 -07:00 committed by Inaky Perez-Gonzalez
commit c9663f5424

View file

@ -23,17 +23,25 @@ are beyond the scope of this document.
Update Your Operating System
****************************
Before proceeding with the build, ensure your OS is up to date. On Ubuntu:
Before proceeding with the build, ensure your OS is up to date. On Ubuntu,
you'll first need to update the local database list of available packages
before upgrading:
.. code-block:: console
$ sudo apt-get update
$ sudo apt-get upgrade
On Fedora:
.. code-block:: console
$ sudo dnf update
$ sudo dnf upgrade
Note that having a newer version available for an installed package
(and reported by ``dnf check-update``) does not imply a subsequent
``dnf upgrade`` will install it, because it must also ensure dependencies
and other restrictions are satisfied.
.. _linux_required_software: