卸载 dpkg --list | grep postgresql dpkg --purge <insert packagehere> or sudo apt-get --purge autoremove postgresql*