2016-09-17 3 views
5

最近brew doctorまたはbrew upgrade --all(私はスクリプトの中でそれらを実行する、わからないんだけど)、次を報告:なぜ私の自作パッケージは突然 "リンク解除"されていますか?それをどうやって修正するのですか?

Homebrew from 5371359 to e3fe270. 
Updated 3 taps (caskroom/cask, homebrew/boneyard, homebrew/core). 
Error: Could not symlink bin/dvipdf 
Target /usr/local/bin/dvipdf 
already exists. You may want to remove it: 
    rm '/usr/local/bin/dvipdf' 

To force the link and overwrite all conflicting files: 
    brew link --overwrite ghostscript 

To list all files that would be deleted: 
    brew link --overwrite --dry-run ghostscript 
Error: Could not symlink bin/easy_install 
Target /usr/local/bin/easy_install 
already exists. You may want to remove it: 
    rm '/usr/local/bin/easy_install' 

To force the link and overwrite all conflicting files: 
    brew link --overwrite python 

To list all files that would be deleted: 
    brew link --overwrite --dry-run python: 

私は実行することにより、これらの指示に従っ:

brew link --overwrite python 
brew link --overwrite ghostscript 

しかし今はいつでもI

Warning: You have unlinked kegs in your Cellar 
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on 
those kegs to fail to run properly once built. Run `brew link` on these: 
    # A list of EVERYTHING listed by brew list 

です:今brew doctorショーbrew doctor GETを実行しますインストール済みのもの - すべてがbrew listでリストされています - リンクされていません!

ここでは何が起こっていますか? Homebrewを使って私が今までにインストールしたことのすべてが突然リンクを解除されたのはなぜですか?彼らはどうやってそのようになりましたか?私は(安全に)これを整理する必要がありさておき、手動で私がインストールしたすべてのもの?(2回必要に応じて)brew updateを実行

答えて

3

に個別brew link --overwrite ...を実行しているから(私の自作のインストールを修正するために何を行うことができます。

ない場合は、 brew unlink $(brew list); brew link $(brew list)意志。

+0

任意のアイデアこれは突然移行コードに? – orome

+1

@raxacoricofallapatoriusバグが起き始めた理由は。(マイクと私の両方が自作メンテナです)。 – 4ae1e1

+0

私はxxxxは樽のみである 'の多くを取得してリンクする必要があります--force'。それらについて私はどうしたらいいですか?私は 'リンクを拒否する:openssl'を得ます;そこには何がベストプラクティスですか? – orome

関連する問題