Skip to content

Commit 29b0655

Browse files
authored
clarify greps (#38921)
1 parent 9a552da commit 29b0655

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/core/install/linux-package-mixup.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Troubleshoot .NET package mix ups on Linux
33
description: Learn about how to troubleshoot strange .NET package errors on Linux. These errors may occur when you run the dotnet command.
44
author: omajid
5+
ms.author: adegeo
56
ms.date: 03/01/2023
67
no-loc: ['usr','lib64','share','dotnet','libhostfxr.so', 'fxr', 'FrameworkList.xml', 'System.IO.FileNotFoundException']
78
zone_pivot_groups: operating-systems-set-two
@@ -202,7 +203,7 @@ Configure your package manager to ignore the .NET packages from the distribution
202203
> Use the `apt-cache policy` command to find the source:
203204
>
204205
> ```bash
205-
> apt-cache policy '~ndotnet.*' | grep -v microsoft | grep '/ubuntu' | cut -d"/" -f3 | sort -u
206+
> apt-cache policy '~ndotnet.*' | grep -v microsoft | grep '/ubuntu' | grep updates | cut -d"/" -f3 | sort -u
206207
> ```
207208
208209
01. Reinstall .NET from the Microsoft package feed. For more information, see [Install .NET on Linux](linux.md). If using Ubuntu, see [My Ubuntu distribution doesn't include the .NET version I want, or I need an out-of-support .NET version](linux-ubuntu.md#my-ubuntu-distribution-doesnt-include-the-net-version-i-want-or-i-need-an-out-of-support-net-version).

0 commit comments

Comments
 (0)