Impossibile installare hiera da brew

1

Sono su macOS High Sierra

Il primo comando ( link )

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

sembra OK

Il secondo comando genera l'errore:

brew install caskroom/cask/brew-cask

Tuttavia, come ho capito, non è necessario ora.

Il terzo comando genera l'errore:

brew cask install hiera
==> Satisfying dependencies
==> Downloading https://downloads.puppetlabs.com/mac/hiera-1.3.4.dmg
Already downloaded: /Users/anarinsky/Library/Caches/Homebrew/Cask/hiera--1.3.4.dmg
==> Verifying checksum for Cask hiera
==> Installing Cask hiera
==> Running installer for hiera; your password may be necessary.
==> Package installers may write to any location; options such as -- 
appdir are ignored.
Password: 
==> installer: Package name is hiera-1.3.4
==> installer: Installing at base path /
==> installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
==> Purging files for version 1.3.4 of Cask hiera
Error: Command failed to execute!
==> Failed command:
/usr/bin/sudo -E -- /usr/sbin/installer -pkg 
/usr/local/Caskroom/hiera/1.3.4/hiera-1.3.4.pkg -target /

==> Standard Output of failed command:
installer: Package name is hiera-1.3.4
installer: Installing at base path /
installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
==> Standard Error of failed command:
==> Exit status of failed command:
#<Process::Status: pid 10228 exit 1>

Sospetto che l'installazione alla base path / non funzioni.

    
posta Alex 17.04.2018 - 16:39
fonte

1 risposta

1

Risposta breve

Prova brew cask install puppet-agent . Hiera è incluso.

Maggiori dettagli

Ho provato ad installare il link file che la ricetta di cask installa manualmente e ha ricevuto il seguente avviso :

This package is incompatible with this version of OS X and may fail to >install.

Installing this package may damage your system, and the installation may >fail. To stop the program and the installation, click “Cancel >Installation”.

Ho fatto qualche ricerca su google e ho scoperto che 1.3.4 è molto vecchio.

da: link

Hiera 1.3.4 is old (> 2 years). Much older than OSx 10.11.6. There are >later releases of hiera,"

da: link

To get started with Hiera, you’ll need to do all of the following:

Make sure it’s installed. Hiera ships with Puppet agent, so install the >puppet-agent package if you haven’t already. (Linux, Windows, OS X.)

    
risposta data 26.04.2018 - 04:44
fonte

Leggi altre domande sui tag