我正在尝试安装 Mediatek MT7630E 驱动程序https://github.com/neurobin/MT7630E,
当我尝试
sudo apt install build-essential linux-headers-amd64
Run Code Online (Sandbox Code Playgroud)
我明白了:
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
Run Code Online (Sandbox Code Playgroud)
我该如何解决这个问题?
github 站点上给出的说明是通用的、可能适合所有步骤的通用步骤。对于每个 Linux 发行版,它们可能正确也可能不正确。对于 Ubuntu,正确的命令是:
sudo apt install linux-headers-generic
Run Code Online (Sandbox Code Playgroud)
安装“通用”包还将安装适合您正在运行的内核版本的头文件,但还将确保对内核版本的更新也会触发对头文件包的相应更新。
归档时间: |
|
查看次数: |
9111 次 |
最近记录: |