Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

375
Views
postgresql-client-13: Depende: libpq5 (>= 13~beta2) pero se instalará 12.3-1.pgdg18.04+1

Quiero probar el nuevo PostgreSQL y seguir estas instrucciones. Pero la instalación falla:

 $ sudo apt install postgresql-client-13 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: postgresql-client-13 : Depends: libpq5 (>= 13~beta2) but 12.3-1.pgdg18.04+1 is to be installed E: Unable to correct problems, you have held broken packages.

También probé esta instrucción para resolver dependencias unmet .

¿Qué hice mal y cómo instalar psql 13?

UPD
Contenido de mi sources.list.d :

 kes@kes-X751SA /etc/apt/sources.list.d $ cat pgdg.list deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main kes@kes-X751SA /etc/apt/sources.list.d $ cat pgdg-testing.list deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg-testing main 13

También:

 $ sudo apt-cache policy postgresql-13 postgresql-13: Installed: (none) Candidate: 13~beta2-1.pgdg18.04+1 Version table: 13~beta2-1.pgdg18.04+1 100 100 http://apt.postgresql.org/pub/repos/apt bionic-pgdg-testing/13 amd64 Packages
over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Tenía el mismo problema.
en /etc/apt/sources.list.d/pgdg.list donde tienes

 deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main

cambiarlo a

 deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main 13

entonces corre

 sudo apt update

y luego puedes hacer

 sudo apt install postgresql-13 postgresql-client-13

que funcionó en mi máquina.

Solo para tu información :

ADVERTENCIA: El formato de los datos puede cambiar entre las versiones beta. Esté preparado para pg_dump el contenido de la base de datos antes de actualizar el paquete a una versión beta más reciente oa una versión final. Consulte las notas de la versión antes de actualizar.

over 4 years ago · Santiago Trujillo Report

0

prueba aptitude en lugar de apt-get

 sudo apt-get install aptitude sudo aptitude install <package-name>

https://askubuntu.com/a/1056378/1087086

over 4 years ago · Santiago Trujillo Report

0

Finalmente, en mi contenedor docker, hago los siguientes comandos:

 RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm RUN yum -y install llvm5.0-devel RUN yum -y install centos-release-scl-rh RUN yum -y install llvm-toolset-7-clang #RUN rpm -Uvh https://yum.postgresql.org/11/redhat/rhel-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm --replacepkgs #RUN yum-config-manager --enable pgdg13-updates-testing RUN yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm RUN yum -y install postgresql13 postgresql13-devel

Las líneas comentadas eran para el caso antes de que se lanzara 13.1

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!