Last active
March 25, 2025 21:46
-
-
Save NLKNguyen/2fd920e2a50fd4b9701f to your computer and use it in GitHub Desktop.
Ubuntu - Install Debug Symbol Package (-dbgsym) for the current Linux kernel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| codename=$(lsb_release -c | awk '{print $2}') | |
| sudo tee /etc/apt/sources.list.d/ddebs.list << EOF | |
| deb http://ddebs.ubuntu.com/ ${codename} main restricted universe multiverse | |
| deb http://ddebs.ubuntu.com/ ${codename}-security main restricted universe multiverse | |
| deb http://ddebs.ubuntu.com/ ${codename}-updates main restricted universe multiverse | |
| deb http://ddebs.ubuntu.com/ ${codename}-proposed main restricted universe multiverse | |
| EOF | |
| sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ECDCAD72428D7C01 | |
| sudo apt-get update | |
| sudo apt-get install linux-image-$(uname -r)-dbgsym |
ddebs.ubuntu.com/ ...... -updates doesn't exits no more, only " $(lsb_release -cs) " (without quotes) witch is your current version
and " $(lsb_release -cs) " -proposed
see list here: http://ddebs.ubuntu.com/dists/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It doesn't work on Ubuntu 12.04.