Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Impossible to update packages in Ubuntu 24.04

  1. #1
    Join Date
    Mar 2024
    Beans
    19

    Impossible to update packages in Ubuntu 24.04

    Hello. After installing Ubuntu 24.04 I cannot update packages. When I try with apt it returns:
    dpkg: error processing package linux-image-5.15.0-117-generic (--remove):
    thread installed package linux-image-5.15.0-117-generic script post-remo
    val returned error exit code 127
    dpkg: too many errors, stopping
    Errors found when processing:
    linux-image-5.15.0-117-generic
    Process stopped due to too many errors.
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Help is appreciated

  2. #2
    Join Date
    Jun 2014
    Beans
    7,694

    Re: Impossible to update packages in Ubuntu 24.04

    Is this a new install of Ubuntu 24.04 and the first attempt to update? Post the exact command you ran. I'm curious as to where this error comes in:

    error processing package linux-image-5.15.0-117-generic
    as the default kernel on 24.04 should be 6.8?.

  3. #3
    Join Date
    Mar 2024
    Beans
    19

    Re: Impossible to update packages in Ubuntu 24.04

    I updated from Ubuntu 22.04, with the command sudo apt update and then apt-upgrade
    Last edited by apgp; August 6th, 2024 at 03:46 PM.

  4. #4
    Join Date
    May 2010
    Beans
    3,445

    Re: Impossible to update packages in Ubuntu 24.04

    Quote Originally Posted by apgp View Post
    I updated from Ubuntu 22.04, with the command sudo apt update and then apt-upgrade
    That won't change you to the next LTS. There is more to it than that. Did you by any chance, maually edit your sources to point to the newer release and then run those commands?

  5. #5
    Join Date
    Mar 2024
    Beans
    19

    Re: Impossible to update packages in Ubuntu 24.04

    I do not think so. But I may have done it by trying to remove linux-image-5.15.0-117-generic

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

    Re: Impossible to update packages in Ubuntu 24.04

    Will you please include this, it might give us a better clue:
    Code:
    sudo dpkg --configure -a
    Paste that back here to see.

  7. #7
    Join Date
    Mar 2024
    Beans
    19

    Re: Impossible to update packages in Ubuntu 24.04

    With that command it doesn't return anything

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

    Re: Impossible to update packages in Ubuntu 24.04

    Alright then show this:
    Code:
    sudo apt update && sudo apt upgrade
    Something just smells wrong here.

  9. #9
    Join Date
    Mar 2024
    Beans
    19

    Re: Impossible to update packages in Ubuntu 24.04

    Obj:1 http://security.ubuntu.com/ubuntu noble-security InRelease
    Obj:2 http://es.archive.ubuntu.com/ubuntu noble InRelease
    Obj:3 https://ppa.launchpadcontent.net/yan...-repair/ubuntu noble InRelease
    Obj:4 http://es.archive.ubuntu.com/ubuntu noble-updates InRelease
    Obj:5 http://es.archive.ubuntu.com/ubuntu noble-backports InRelease
    Reading package list... Done
    Creating dependency tree... Done
    Reading status information... Done
    3 packages can be upgraded. Run "apt list --upgradable" to see them.
    W: https://ppa.launchpadcontent.net/yan...ble/InRelease: Signature by key 3C48D16124B50277AF10D27F32B18A1260D8DA0B uses weak algorithm (rsa1024)
    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?

  10. #10
    Join Date
    Mar 2024
    Beans
    19

    Re: Impossible to update packages in Ubuntu 24.04

    With apt list --upgradable
    libcurl3t64-gnutls/noble-updates,noble-security 8.5.0-2ubuntu10.2 amd64 [actualizable desde: 8.5.0-2ubuntu10.1]
    libcurl4-gnutls-dev/noble-updates,noble-security 8.5.0-2ubuntu10.2 amd64 [actualizable desde: 8.5.0-2ubuntu10.1]
    libcurl4t64/noble-updates,noble-security 8.5.0-2ubuntu10.2 amd64 [actualizable desde: 8.5.0-2ubuntu10.1]

Page 1 of 2 12 LastLast

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
  •