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
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?.
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.
Originally Posted by apgp 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?
I do not think so. But I may have done it by trying to remove linux-image-5.15.0-117-generic
Will you please include this, it might give us a better clue: Code: sudo dpkg --configure -a Paste that back here to see.
sudo dpkg --configure -a
With that command it doesn't return anything
Alright then show this: Code: sudo apt update && sudo apt upgrade Something just smells wrong here.
sudo apt update && sudo apt upgrade
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?
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]
Ubuntu Forums Code of Conduct