Forked from NLKNguyen/Ubuntu install kernel -dbgsym
Created
September 4, 2018 11:05
-
-
Save antonio-petricca/e297d71230615c181db301cd488c071f to your computer and use it in GitHub Desktop.
Ubuntu - Install Debug Symbol Package (-dbgsym) for the current Linux kernel
This file contains 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment