Score:0

Cannot download kernel source code for rebuilding

ve flag

I need to download kernel source code for rebuilding. using command: sudo apt install linux-source-$(uname -r)

It failed: E: Unable to locate package linux-source-5.19.0-32-generic Is there a link to source code repository for downloading?

Thank you,

tiger

waltinator avatar
it flag
Try `apt-cache search linux-source`.
dxyzhou-tiger avatar
ve flag
got source from git repository: git clone git://kernel.ubuntu.com/ubuntu/ubuntu-<release codename>.git
dxyzhou-tiger avatar
ve flag
But I am confused and not sure which branch of code to use. Currently I have 5.19.0-43-generic kernel. Should I use Ubuntu-hwe-5.19.0-43.44~22.04.1 branch or from ubuntu-stable/ubuntu-stable-jammy.git, which only 5.13.0-43 version?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.