这是indexloc提供的服务,不要输入任何密码
Skip to content

BUG #328

@29792375c

Description

@29792375c

PS C:\Users\rr\Desktop\commando-vm-main> .\install.ps1
[+] Retrieving available packages from MyGet. Please wait.
[+] Beginning graphical install
[+] Settings updated, beginning install. Please wait for a popup letting you know the installation is complete!
[+] Installing Boxstarter
Chocolatey is going to be downloaded and installed on your machine. If you do not have the .NET Framework Version 4 or greater, that will also be downloaded and installed.
Forcing web requests to allow TLS v1.2 (Required for requests to Chocolatey.org)
Getting latest version of the Chocolatey package for download.
Not using proxy.
Getting Chocolatey from https://community.chocolatey.org/api/v2/package/chocolatey/2.3.0.
Downloading https://community.chocolatey.org/api/v2/package/chocolatey/2.3.0 to C:\Users\rr\AppData\Local\Temp\chocolatey\chocoInstall\chocolatey.zip
Not using proxy.
Did not detect Chocolatey and unable to install. Installation of Boxstarter has been aborted.
Get-Content : Cannot find path 'C:\ProgramData\boxstarter\boxstarter.chocolatey\Chocolatey.ps1' because it does not
exist.
At C:\Users\rr\Desktop\commando-vm-main\install.ps1:1016 char:10

  • if ((Get-Content $fileToFix -raw) -contains $offendingString) {
    
  •      ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\ProgramData...\Chocolatey.ps1:String) [Get-Content], ItemNotFoundEx
      ception
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

Get-Content : Cannot find path 'C:\ProgramData\boxstarter\boxstarter.chocolatey\invoke-chocolatey.ps1' because it does
not exist.
At C:\Users\rr\Desktop\commando-vm-main\install.ps1:1022 char:10

  • if ((Get-Content $fileToFix -raw) -contains $offendingString) {
    
  •      ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\ProgramData...-chocolatey.ps1:String) [Get-Content], ItemNotFoundEx
      ception
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions