Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Impossible to update packages in Ubuntu 24.04

  1. #11
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Impossible to update packages in Ubuntu 24.04

    just to be sure you copied and pasted those commands i gave right?
    I ask because of this:
    Code:
    E: Could not open lock file "/var/lib/dpkg/lock-frontend" - open (13: Permission denied)
    E: Failed to obtain dpkg interface lock (/var/lib/dpkg/lock-frontend). Are you a superuser?
    So was "sudo" used in those commands?

  2. #12
    Join Date
    Mar 2024
    Beans
    19

    Re: Impossible to update packages in Ubuntu 24.04

    I have used sudo with those commands and this is the response.

  3. #13
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Impossible to update packages in Ubuntu 24.04

    Please try this:
    Code:
    sudo mv /var/lib/dpkg/lock-frontend /var/lib/dpkg/lock-frontend.bk
    Now run this:
    Code:
    sudo apt update
    Show me only the bottom command "sudo apt update"

  4. #14
    Join Date
    Mar 2024
    Beans
    19

    Re: Impossible to update packages in Ubuntu 24.04

    Obj:1 http://es.archive.ubuntu.com/ubuntu noble InRelease
    Obj:2 http://es.archive.ubuntu.com/ubuntu noble-updates InRelease
    Obj:3 http://es.archive.ubuntu.com/ubuntu noble-backports InRelease
    Obj:4 http://security.ubuntu.com/ubuntu noble-security InRelease
    Obj:5 https://ppa.launchpadcontent.net/yan...-repair/ubuntu noble InRelease
    Leyendo lista de paquetes... Hecho
    Creando árbol de dependencias... Hecho
    Leyendo la información de estado... Hecho
    Se pueden actualizar 3 paquetes. Ejecute «apt list --upgradable» para verlos.
    W: https://ppa.launchpadcontent.net/yan...ble/InRelease: Signature by key 3C48D16124B50277AF10D27F32B18A1260D8DA0B uses weak algorithm (rsa1024)

  5. #15
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Impossible to update packages in Ubuntu 24.04

    Ok now upgrade:
    Code:
    sudo apt upgrade
    Post any errors back here please

  6. #16
    Join Date
    Mar 2024
    Beans
    19

    Re: Impossible to update packages in Ubuntu 24.04

    /etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries: libcrypto.s
    o.1.1: cannot open shared object file: No such file or directory
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
    dpkg: error al procesar el paquete linux-image-5.15.0-117-generic (--remove):
    el subproceso instalado paquete linux-image-5.15.0-117-generic script post-remo
    val devolvió el código de salida de error 127
    dpkg: demasiados errores, parando
    Se encontraron errores al procesar:
    linux-image-5.15.0-117-generic
    Proceso detenido por haber demasiados errores.
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  7. #17
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Impossible to update packages in Ubuntu 24.04

    I thought so, **Grub Customizer**, That tool has caused so many problems for users.

    Here is just one of the many posts here: https://ubuntuforums.org/showthread.php?t=2198824

    Or another on AU :https://askubuntu.com/questions/1403...pt-dpkg-broken

  8. #18
    Join Date
    Mar 2024
    Beans
    19

    Re: Impossible to update packages in Ubuntu 24.04

    Already solved. The problem was in Grub Costumizer. Thank you so much.

  9. #19
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Impossible to update packages in Ubuntu 24.04

    Nice, and happy to help.

    EDIT there is one thing we need to do is remove this "/var/lib/dpkg/lock-frontend.bk"
    Code:
    sudo rm -r /var/lib/dpkg/lock-frontend.bk
    Last edited by #&thj^%; August 7th, 2024 at 06:27 PM. Reason: remove un-nessacary back up

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •