Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OneGet Installation of chocolatey installs to wierd path
PS C:\src\xbox> install-package chocolatey -verbose -ProviderName Chocolatey
DEBUG: 00:00:00.0000002 Calling 'Chocolatey::GetDynamicOptions' 'Provider'
DEBUG: 00:00:00.0056436 Calling 'Chocolatey::GetDynamicOptions' 'Source'
DEBUG: 00:00:00.0164123 Calling 'Chocolatey::GetDynamicOptions' 'Package'
DEBUG: 00:00:00.0220975 Calling 'Chocolatey::GetDynamicOptions' 'Install'
DEBUG: 00:00:00.0269860 Calling SearchForPackages. Name='chocolatey'
VERBOSE: Using the provider 'Chocolatey' for searching packages.
DEBUG: 00:00:00.0287840 PackageProvider::FindPackage with name chocolatey
DEBUG: 00:00:00.0293678 Calling SearchForPackages After Select 1
DEBUG: 00:00:00.0331302 Calling 'Chocolatey::FindPackage' 'chocolatey','','','','0'
DEBUG: 00:00:00.0332079 Iterating
DEBUG: 00:00:01.3359688 Yielding
DEBUG: 00:00:01.3366662 Done Iterating
DEBUG: 00:00:01.3831496 Calling 'Chocolatey::GetInstalledPackages' 'chocolatey','0.10.3','',''
DEBUG: 00:00:01.3850452 Calling 'ProviderService::CreateFolder'
VERBOSE: CreateFolder Success C:\Chocolatey\lib
VERBOSE: Performing the operation "Install Package" on target "Package 'chocolatey' version '0.10.3' from 'chocolatey'.".
The package(s) come(s) from a package source that is not marked as trusted.
Are you sure you want to install software from 'chocolatey'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): y
DEBUG: 00:00:03.4591296 Calling 'Chocolatey::InstallPackage' '$aHR0cDovL2Nob2NvbGF0ZXkub3JnL2FwaS92Mi8=\Y2hvY29sYXRleQ==\MC4xMC4z\'
VERBOSE: NuGet: Installing 'chocolatey 0.10.3'.
VERBOSE: NuGet: Successfully installed 'chocolatey 0.10.3'.
VERBOSE: Initialize-Chocolatey
VERBOSE: Host version is 5.1.14931.1000, PowerShell Version is '5.1.14931.1000' and CLR Version is '4.0.30319.42000'.
VERBOSE: Get-ChocolateyInstallFolder
VERBOSE: Create-DirectoryIfNotExists
VERBOSE: Ensure-Permissions
VERBOSE:
VERBOSE:
VERBOSE: Create-DirectoryIfNotExists
VERBOSE: Create-DirectoryIfNotExists
VERBOSE: Install-ChocolateyFiles
VERBOSE: Removing install files in chocolateyInstall, helpers, redirects, and tools
VERBOSE: Attempting to move choco.exe to choco.exe.old so we can place the new version here.
VERBOSE: Unpacking files required for Chocolatey.
VERBOSE: Copying the contents of 'C:\Chocolatey\lib\chocolatey.0.10.3\tools\chocolateyInstall' to 'False '.
VERBOSE: Ensure-ChocolateyLibFiles
VERBOSE: Create-DirectoryIfNotExists
VERBOSE: First the zip file at 'C:\Users\benran\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip'.
VERBOSE: Then from a neighboring chocolatey.*nupkg file 'C:\Chocolatey\lib\chocolatey.0.10.3\tools/../../'.
VERBOSE: Install-ChocolateyBinFiles
VERBOSE: Installing the bin file redirects
VERBOSE:
VERBOSE: Initialize-ChocolateyPath
VERBOSE: Initializing Chocolatey Path if required
VERBOSE: Test-ProcessAdminRights: returning False
VERBOSE: Administrator installing so using Machine environment variable target instead of User.
VERBOSE: Running 'Install-ChocolateyPath' with pathToInstall:'False \bin'
VERBOSE: Running Update-SessionEnvironment
VERBOSE: Refreshing environment variables from the registry.
VERBOSE:
VERBOSE: Choosing not to expand environment names
VERBOSE: Test-ProcessAdminRights: returning False
VERBOSE: Process-ChocolateyBinFiles
VERBOSE: Upgrade-OldChocolateyInstall
VERBOSE:
VERBOSE:
VERBOSE: Install-ChocolateyBinFiles
VERBOSE: Installing the bin file redirects
VERBOSE:
VERBOSE: Add-ChocolateyProfile
VERBOSE: Install-DotNet4IfMissing called with $forceFxInstall=False
VERBOSE: Remove-OldChocolateyInstall
VERBOSE:
VERBOSE: Removing lib unless matches .log
VERBOSE:
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: We are setting up the Chocolatey package repository.
The packages themselves go to 'False \lib'
(i.e. False \lib\yourPackageName).
A shim file for the command line goes to 'False \bin'
and points to an executable in 'False \lib\yourPackageName'.
Creating Chocolatey folders if they do not already exist.
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: chocolatey.nupkg file not installed in lib.
Attempting to locate it from bootstrapper.
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: Attempting to upgrade 'C:\Chocolatey' to 'False '.
VERBOSE: False
VERBOSE: If it fails, just manually copy the rest of the items out and then delete the folder.
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: Not setting tab completion: Profile variable ($profile) resulted in an empty string.
VERBOSE: False
VERBOSE: Chocolatey (choco.exe) is now ready.
You can call choco from anywhere, command line or powershell by typing choco.
Run choco /? for a list of functions.
You may need to shut down and restart powershell and/or consoles
first prior to using choco.
VERBOSE: False
VERBOSE: False
VERBOSE: False
VERBOSE: Attempting to remove 'C:\Chocolatey'. This may fail if something in the folder is being used or locked.
VERBOSE: False
Name Version Source Summary
---- ------- ------ -------
chocolatey 0.10.3 chocolatey Chocolatey is the package manager for Windows (like apt-get but for Windows)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.