Giter Site home page Giter Site logo

Comments (4)

ChrisMagnuson avatar ChrisMagnuson commented on September 4, 2024

Running choco upgrade prometheus-blackbox-exporter --version 0.5.0.20170621 -y I got the following:

C:\ProgramData\chocolatey\lib\prometheus-blackbox-exporter\tools
ERROR: Cannot process argument transformation on parameter 'fileFullPath'. Cannot convert value to type System.String.
The upgrade of prometheus-blackbox-exporter was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\prometheus-blackbox-exporter\tools\chocolateyinstall.ps1'.
 See log for details.

Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - prometheus-blackbox-exporter (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\prometheus-blackbox-exp
orter\tools\chocolateyinstall.ps1'.
 See log for details.

from au-packages.

andrewmostello avatar andrewmostello commented on September 4, 2024

Hmm, what did the log report? I ran the install process on the chocolatey test vagrant box but I didn't run through an upgrade.

from au-packages.

andrewmostello avatar andrewmostello commented on September 4, 2024

It might be the case that during $File = Get-ChildItem -File -Path $env:ChocolateyInstall\lib\$packageName\tools\ -Filter *.tar it found multiple .tar files. That would account for the conversion to string error, since Get-ChildItem would return an array.

from au-packages.

ChrisMagnuson avatar ChrisMagnuson commented on September 4, 2024

Uninstalled and reinstalled and it worked without errors, hopefully that was just an issue on my side. Thanks for sending the pull request!

from au-packages.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.