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

1.2K
Views
Atascado con apt --fix-broken install (paquete libc6:amd64 posterior a la instalación)

Mi sistema se ejecuta dentro de WSL, lo actualizo al menos cada pocos días. Me quedé con la instalación de un paquete y busqué una manera de resolver esto:

 $ sudo apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: libbind9-161 libdns-export1107 libdns1107 libdns1109 libirs161 libisc-export1104 libisc1104 libisc1105 libisccc161 libisccfg163 liblwres161 liboauth0 Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libc-bin The following packages will be upgraded: libc-bin 1 upgraded, 0 newly installed, 0 to remove and 882 not upgraded. 6 not fully installed or removed. Need to get 0 B/633 kB of archives. After this operation, 8,192 B of additional disk space will be used. Do you want to continue? [Y/n] Setting up libc6:amd64 (2.31-0ubuntu6) ... Checking for services that may need to be restarted... Checking init scripts... Nothing to restart. sleep: cannot read realtime clock: Invalid argument dpkg: error processing package libc6:amd64 (--configure): installed libc6:amd64 package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: libc6:amd64 E: Sub-process /usr/bin/dpkg returned an error code (1)

¿Qué puedo probar a continuación?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Puede usar esta secuencia de comandos (hasta 3) para forzar una nueva descarga de los archivos parciales de los paquetes infractores. Los pasos restantes se realizan para fusionar los archivos nuevos con el anterior, para evitar advertencias y problemas en paquetes no infractores que no se descargan en este intento.

  1. sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_old
  2. sudo mkdir /var/lib/dpkg/info
  3. sudo apt-get update && sudo apt-get -f install
  4. sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info_old
  5. sudo rm -rf /var/lib/dpkg/info
  6. sudo mv /var/lib/dpkg/info_old /var/lib/dpkg/info
over 4 years ago · Santiago Trujillo Report

0

Me encontré con el mismo problema, y este procedimiento de este informe de error lo solucionó:

Edite /var/lib/dpkg/info/libc6\:amd64.postinst

y comentar la linea

# set -e

entonces $ apt-get -f install puede continuar.

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!