diff --git a/docs/core/install/includes/package-manager-failed-to-find-deb.md b/docs/core/install/includes/package-manager-failed-to-find-deb.md index dd1738619cda3..96a765ccff471 100644 --- a/docs/core/install/includes/package-manager-failed-to-find-deb.md +++ b/docs/core/install/includes/package-manager-failed-to-find-deb.md @@ -1,5 +1,5 @@ -If you receive an error message similar to **Unable to locate package {netcore-package}**, run the following commands. +If you receive an error message similar to **Unable to locate package {netcore-package}** or **Some packages could not be installed**, run the following commands. There are two placeholders in the following set of commands. @@ -9,12 +9,11 @@ This represents the .NET Core package you're installing, such as `aspnetcore-run - `{os-version}`\ This represents the Linux version you are on. This is used in the `wget` command below. -Try purging the package list: +First, try purging the package list: ```bash sudo dpkg --purge packages-microsoft-prod && sudo dpkg -i packages-microsoft-prod.deb sudo apt-get update -sudo apt-get install {dotnet-package} ``` -If that doesn't work, you can run a manual install with the following commands: +Then, try to install .NET Core again. If that doesn't work, you can run a manual install with the following commands: diff --git a/docs/core/install/linux-debian.md b/docs/core/install/linux-debian.md index 308c505db28ea..516d97216a6e1 100644 --- a/docs/core/install/linux-debian.md +++ b/docs/core/install/linux-debian.md @@ -94,7 +94,7 @@ sudo apt-get upgrade This section provides information on common errors you may get while using APT to install .NET Core. -### Unable to locate +### Unable to locate \\ Some packages could not be installed [!INCLUDE [package-manager-failed-to-find-deb](includes/package-manager-failed-to-find-deb.md)] diff --git a/docs/core/install/linux-ubuntu.md b/docs/core/install/linux-ubuntu.md index 19dd10426ef61..4c4568fc072cd 100644 --- a/docs/core/install/linux-ubuntu.md +++ b/docs/core/install/linux-ubuntu.md @@ -168,7 +168,7 @@ sudo apt-get upgrade This section provides information on common errors you may get while using APT to install .NET Core. -### Unable to locate +### Unable to locate \\ Some packages could not be installed [!INCLUDE [package-manager-failed-to-find-deb](includes/package-manager-failed-to-find-deb.md)]