我正在尝试安装联发科 MT7630E 驱动程序https://github.com/neurobin/MT7630E,
当我尝试
sudo apt install build-essential linux-headers-amd64
我明白了:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers-amd64 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'linux-headers-amd64' has no installation candidate
我该如何解决这个问题?
答案1
github 网站上给出的说明是通用的、一刀切的步骤。它们可能适用于每个 Linux 发行版,也可能不适用。对于 Ubuntu,正确的命令是:
sudo apt install linux-headers-generic
安装“通用”包还将安装适合您正在运行的内核版本的标题,而且还将确保对内核版本的更新也将触发对标题包的相应更新。