macOS Monteray(12.1)でパッケージ管理はHomebrewを使用しております。
gnupg2, passの二つのパッケージをインストールしようと、
brewでbrew install gpg
を入力しました。
後から鍵パッケージもインストールしたいと思いbrew install gpg pass
を打ち込んでしまいましたので、重複してインストールされてしまったと思い、brew remove gpg
を入力すると以下。
Error: Refusing to uninstall /usr/local/Cellar/gnupg/2.3.4 because it is required by pass, which is currently installed. You can override this and force removal with: brew uninstall --ignore-dependencies gpg
と表示されました。
brew uninstall --ignore-dependencies gpg
によって強制的なremoveができるかとの事で入力すると
Uninstalling /usr/local/Cellar/gnupg/2.3.4... (149 files, 13.3MB) Warning: The following gnupg configuration files have not been removed! If desired, remove them manually with `rm -rf`: /usr/local/etc/gnupg /usr/local/etc/gnupg/scdaemon.conf
重複インストールしていたせいかと思い、もう一度
brew uninstall --ignore-dependencies gpg
を入力すると
Error: No such keg: /usr/local/Cellar/gpg
その後に同様のコマンドを打ち込んでも同じ表示が出てしまいます。
brew search gpg
でパッケージ状況を確認すると
==> Formulae gpg gpg2 gpa gpm gpg-tui gpgme gpx rpg gpg1 libgpg-error ✔ gpp
いまだに存在しています。
brew uninstall
やbrew remove
での一括削除ではなく、個別に特定のファイルなどを消していく必要があるのでしょうか。
ご意見いただけますと幸いです。
あなたの回答
tips
プレビュー