ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Read-only file system
dpkg: error al procesar el paquete libc-bin (--configure):
el subproceso instalado paquete libc-bin script post-installation devolvió el código de salida de error 1
Se encontraron errores al procesar:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
Actually, the instructions are here
https://wiki.postgresql.org/wiki/Apt
(if you go to https://apt.postgresql.org/ you get redirected to the
above wiki page, so the PostgreSQL folks have really taken pains
to make sure nobody misses it). Quoting from that page:
Quickstart
----------
Import the repository key from https://www.postgresql.org/media/keys/ACCC4CF8.asc:
sudo apt install curl ca-certificates gnupg
curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null
Create /etc/apt/sources.list.d/pgdg.list. The distributions are called codename-pgdg. In the example, replace buster with the actual distribution you are using. File contents:
Let us know whether there is still anything unclear.
Cheers
- t
With kindest regards, William. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄⠀⠀⠀⠀