簡體   English   中英

如何從 macOS Big Sur(英特爾)中刪除 PostgreSQL 9.6 - 卸載程序失敗並顯示“可執行文件中的 CPU 類型錯誤”

[英]How to remove PostgreSQL 9.6 from macOS Big Sur(intel) - Uninstaller fails with "Bad CPU type in executable"

我想知道是否有人可以提供幫助....我升級到 macOS BigSur(英特爾)。 我試圖通過卸載程序腳本刪除 PostgreSQL 9.6 並收到以下錯誤:

$ cd /Library/PostgreSQL/9.6/uninstall-postgresql.app/Contents/MacOS/
$ sudo ./installbuilder.sh

./installbuilder.sh: line 20: ./osx-intel: Bad CPU type in executable

我認為是postgreSQL的EnterpriseDB版本....

如何手動刪除 PostgreSQL EnterpriseDB?

它對我有用

  1. 在 https 下載最新的 PostgreSql 9.6 補丁://www.enterprisedb.com/downloads/postgres-postgresql-downloads

  2. 重新安裝PostgreSql 9.6下載

  3. 打開/Library/PostgreSQL/9.6/uninstall-postgresql.app/

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM