7 votes

Pourquoi ne puis-je pas installer telnet sur mon MacOS catalina avec Homebrew ?

Voici les informations relatives à l'erreur :

shawnstationdeMacBook-Pro:~ shawnstation$ brew install telnet
==> Downloading https://opensource.apple.com/tarballs/remote_cmds/remote_cmds-54.50.1.tar.gz
Already downloaded: /Users/shawnstation/Library/Caches/Homebrew/telnet-54.50.1.tar.gz
==> Downloading https://opensource.apple.com/tarballs/libtelnet/libtelnet-13.tar.gz
Already downloaded: /Users/shawnstation/Library/Caches/Homebrew/telnet--libtelnet-13.tar.gz
==> xcodebuild SYMROOT=build
Last 15 lines from /Users/shawnstation/Library/Logs/Homebrew/telnet/01.xcodebuild:
2020-02-29 03:04:09 +0800

xcodebuild
SYMROOT=build

Build settings from command line:
    SYMROOT = build

note: Using new build system
note: Planning build
note: Constructing build description
error: The i386 architecture is deprecated. You should update your ARCHS build setting to remove the i386 architecture. (in target 'libtelnet' from project 'libtelnet')

** BUILD FAILED **

Do not report this issue to Homebrew/brew or Homebrew/core!

/usr/local/Homebrew/Library/Homebrew/utils/github.rb:222:in `raise_api_error': curl failed!  (GitHub::Error)
curl: (7) Failed to connect to api.github.com port 443: Connection refused
curl: (3) URL using bad/illegal format or missing URL
    from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:180:in `open_api'
    from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:294:in `search'
    from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:227:in `search_issues'
    from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:240:in `issues_for_formula'
    from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:368:in `fetch_issues'
    from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:364:in `issues'
    from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:418:in `dump'
    from /usr/local/Homebrew/Library/Homebrew/brew.rb:137:in `rescue in <main>'
    from /usr/local/Homebrew/Library/Homebrew/brew.rb:29:in `<main>

Quelqu'un sait-il pourquoi ? Merci beaucoup.


Ma version de catalina est 10.15.2 (19C57) La version maison est

shawnstationdeMacBook-Pro:~ shawnstation$ brew --version
Homebrew 1.6.9
Homebrew/homebrew-core (git revision fab7d; last commit 2018-07-07)

5voto

shawnliu Points 121

Effectuez d'abord la mise à jour du brassage.

$ brew update
Fast-forwarded master to origin/master.
==> Downloading https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby-2.6.3.mavericks.bottle.tar.gz
################################################################################################################# 100.0%
==> Pouring portable-ruby-2.6.3.mavericks.bottle.tar.gz
==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics have been recorded yet (or will be during this `brew` run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations
Updated 1 tap (homebrew/core).

Alors c'est bon !

$ brew install telnet
==> Downloading https://homebrew.bintray.com/bottles/telnet-63.catalina.bottle.tar.gz
######################################################################## 100.0%
==> Pouring telnet-63.catalina.bottle.tar.gz
  /usr/local/Cellar/telnet/63: 4 files, 138.1KB

-4voto

Ajeet Khan Points 113

L'installation du client telnet sur MAC OSX est très simple. Il suffit d'exécuter quelques commandes, puis de lancer le programme :

 brew install telnet

Il faut d'abord installer telnet. Vous pouvez suivre les instructions à l'adresse suivante https://brewinstall.org . Vous pouvez rechercher n'importe quelle application Mac que vous souhaitez installer et obtenir les étapes simples pour l'installer.

LesApples.com

LesApples est une communauté de Apple où vous pouvez résoudre vos problèmes et vos doutes. Vous pouvez consulter les questions des autres utilisateurs d'appareils Apple, poser vos propres questions ou résoudre celles des autres.

Powered by:

X