I was trying to install perf by sudo apt-get install linux-tools-common linux-tools-generic linux-tools-`uname -r`
, but this gives me an error saying
E: Unable to locate package linux-tools-5.4.0-120-generic
E: Couldn't find any package by glob 'linux-tools-5.4.0-120-generic'
E: Couldn't find any package by regex 'linux-tools-5.4.0-120-generic'
After some amount of digging I found that my kernel version is 5.4.0-120-generic but my linux-tools is of version 4.15.0. How can I get around this problem?