ubuntu出现WARNING: perf not found for kernel 5.15.0-41的解决方法

ubuntu出现WARNING: perf not found for kernel 5.15.0-41的解决方法

首先按照报错提示的解决方法去安装package,还是不行的话,应该是源的问题

添加源链接
sudo vim /etc/apt/source.list

阿里云链接:

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

重新update和upgrade,安装perf

上一篇:【滑动窗口】Leetcode 长度最小的子数组-算法讲解


下一篇:如何在智能交通系统中使用物联网技术提高道路安全和效率