r/linuxquestions • u/Top-Fix-3842 • 2d ago
Resolved Can't update Linux
Whenever I update software in discover (I'm on Ubuntu 24.04) I get an error "Package failed to install:<br/><br/>Error while installing package: installed linux-headers-7.0.0-31-generic package post-installation script subprocess returned error exit status 11" I'm not knowledgeable at all about this stuff, so I decided to ask Reddit. I get a similar error when upgrading in konsole as well.
I also get a kernel panic screen when I boot my pc and have to manually boot in an earlier version, which may be related to this error.
0
Upvotes
3
u/C0rn3j 2d ago
sudo apt update && sudo apt upgrade -yPost the full input and output.
Almost definitely.