如何修复以下brew医生错误?

时间:2013-09-14 22:09:02

标签: homebrew

我对自制软件和终端是新手,但我很享受学习。我最近开始接受以下错误,当我运行brew医生并且无法找到解决方案时:

   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

有什么想法吗?

2 个答案:

答案 0 :(得分:13)

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

brew tap --repair

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

答案 1 :(得分:6)

试试这个:

brew tap josegonzalez/homebrew-php; brew untap josegonzalez/homebrew-php