Score:0

How to install dbgsym to AWS Server?

co flag

I would like to use SystemTap to debug in AWS Linux server

here is my AWS Linux server kernel version

root:/# uname -r
5.11.0-1019-aws

I know that I need to install dbgsym to help me do the debug, I had searched this link

https://launchpad.net/ubuntu/+search?text=linux-image

I found there is a package which might I need linux-image-5.11.0-1019-aws-dbgsym.

But I have no idea how to add this package or install it on my computer.

First, I use apt-get update and apt-get install linux-image-5.11.0-1019-aws-dbgsym to install that, but it can't be found.

root:/# apt-get install linux-image-5.11.0-1019-aws-dbgsym
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-image-5.11.0-1019-aws-dbgsym
E: Couldn't find any package by glob 'linux-image-5.11.0-1019-aws-dbgsym'
E: Couldn't find any package by regex 'linux-image-5.11.0-1019-aws-dbgsym'

I had tried to use PPA but still fail.

root:/# add-apt-repository -s ppa:ubuntu/linux-image-5.11.0-1019-aws-dbgsym
Cannot add PPA: 'ppa:~ubuntu/ubuntu/linux-image-5.11.0-1019-aws-dbgsym'.
ERROR: '~ubuntu' user or team does not exist.

Is there any way I can install linux-image-5.11.0-1019-aws-dbgsym to my AWS server?

Thanks.

Knud Larsen avatar
by flag
You *can* download the package `linux-image-5.11.0-1019-aws_5.11.0-1019.20~20.04.1_amd64.deb` from https://launchpad.net/~canonical-kernel-security-team/+archive/ubuntu/ppa2/+build/22099088
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.