From c9663f5424d59d8156a551fa8f654db7a521ed4b Mon Sep 17 00:00:00 2001 From: "David B. Kinder" Date: Mon, 1 Aug 2016 10:08:04 -0700 Subject: [PATCH] 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 --- doc/getting_started/installation_linux.rst | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/getting_started/installation_linux.rst b/doc/getting_started/installation_linux.rst index 4a9c597cf75..2842d37025c 100644 --- a/doc/getting_started/installation_linux.rst +++ b/doc/getting_started/installation_linux.rst @@ -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: