无法卸载brew postgres

时间:2016-03-01 17:56:52

标签: postgresql homebrew

我正在尝试运行brew uninstall postgres,但我收到了这些错误:

我曾经有过postgres.app和企业安装。

Contents  brew uninstall postgres
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Error: The current working directory doesn't exist, cannot proceed.

1 个答案:

答案 0 :(得分:1)

可能你正在从一个不存在的目录运行该命令(或者不再命名它在终端上出现的等待)。为什么不再次尝试cd .cd "$PWD"并尝试再次运行该命令。