Skip to content

Update heading to drive error to section #19907

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -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:
2 changes: 1 addition & 1 deletion docs/core/install/linux-debian.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)]

Expand Down
2 changes: 1 addition & 1 deletion docs/core/install/linux-ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)]

Expand Down