3

总的来说,我是自制软件和终端的新手,但我很享受学习。我最近在运行 brew doctor 并且无法找到解决方案时开始收到以下错误:

   Error: Failed to import: php53-chdb
   No available formula for php53-chdb 
   Error: Failed to import: php53-graphdat
   No available formula for php53-graphdat 
   Error: Failed to import: php53-pdflib
   No available formula for php53-pdflib 
   Error: Failed to import: php53-raphf
   No available formula for php53-raphf 
   Error: Failed to import: php53-riak
   No available formula for php53-riak 
   Error: Failed to import: php53-xhp
   No available formula for php53-xhp 
   Error: Failed to import: php54-chdb
   No available formula for php54-chdb 
   Error: Failed to import: php54-graphdat
   No available formula for php54-graphdat 
   Error: Failed to import: php54-pdflib
   No available formula for php54-pdflib 
   Error: Failed to import: php54-raphf
   No available formula for php54-raphf 
   Error: Failed to import: php54-riak
   No available formula for php54-riak 
   Error: Failed to import: php54-xhp
   No available formula for php54-xhp 
   Error: Failed to import: php55-chdb
   No available formula for php55-chdb 
   Error: Failed to import: php55-graphdat
   No available formula for php55-graphdat 
   Error: Failed to import: php55-pdflib
   No available formula for php55-pdflib 
   Error: Failed to import: php55-raphf
   No available formula for php55-raphf 
   Error: Failed to import: php55-riak
   No available formula for php55-riak 
   Error: Failed to import: php55-xhp
   No available formula for php55-xhp

有什么想法吗?

4

2 回答 2

13

自制 PHP 作者的 git 页面的一个简单修复是:

brew tap --repair

更常见的问题:https ://github.com/josegonzalez/homebrew-php#common-upgrade-issues

于 2014-01-25T01:02:30.053 回答
6

尝试这个:

brew tap josegonzalez/homebrew-php; brew untap josegonzalez/homebrew-php
于 2013-10-28T14:27:37.770 回答