E: Conflicting values set for option Signed-By regarding source https://apt.postgresql.org/pub/repos/apt/ noble-pgdg: /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc != /usr/share/postgresql-common/pgdg/apt.postgresql.org.gpg
E: The list of sources could not be read.
如何消除这个错误?
当你不需要 postgresql 时,我会尝试像这样修复它。
sudo apt purge postgresql -y
其他:
sudo apt --fix-broken install
sudo rm /usr/share/postgresql-common/pgdg/apt.postgresql.org.gpg
sudo dpkg --configure -a
sudo apt update -y && sudo apt upgrade -y
如果有效请告诉我