Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5035

Raspberry Pi OS • Cannot "sudo apt update" after failed Postgresql install

$
0
0
sudo apt upgrade now has error saying wrong signature key.

Before that, I tried to install postgresql. Installation aborted mid-way due to wrong signature.

How can I totally remove postgresql?

Code:

$ sudo apt updateE: Conflicting values set for option Signed-By regarding source https://apt.postgresql.org/pub/repos/apt/ bookworm-pgdg: /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc != /usr/share/postgresql-common/pgdg/apt.postgresql.org.gpgE: The list of sources could not be read.
I tried "sudo dpkg" and there are two entries starting with postgresql. Should I delete all files in those folders? I seem read that dpkg is a database storing which package is used and dependencies.

Code:

postgresql-client-common              248                                 all          manager for multiple PostgreSQL client versionspostgresql-common                     248                                 all          PostgreSQL database-cluster manager

Statistics: Posted by David16962 — Thu Nov 28, 2024 2:32 pm



Viewing all articles
Browse latest Browse all 5035

Trending Articles