Skip to content

Instantly share code, notes, and snippets.

@cjac
Created October 19, 2016 00:07
Show Gist options
  • Save cjac/6be4dbfb0ecd1612340ce46d4b061352 to your computer and use it in GitHub Desktop.
Save cjac/6be4dbfb0ecd1612340ce46d4b061352 to your computer and use it in GitHub Desktop.
PS /home/cjac> cjac@xenial0:~$ sudo powershell
[sudo] password for cjac:
PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
PS /home/cjac> Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force
Install-PackageProvider : No match was found for the specified search criteria
for the provider 'NuGet'. The package provider requires 'PackageManagement'
and 'Provider' tags. Please check if the specified package has the tags.
At line:1 char:1
+ Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (Microsoft.Power...PackageProvi
der:InstallPackageProvider) [Install-PackageProvider], Exception
+ FullyQualifiedErrorId : NoMatchFoundForProvider,Microsoft.PowerShell.Pac
kageManagement.Cmdlets.InstallPackageProvider
PS /home/cjac>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment