Linux   发布时间:2022-04-01  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了在debian上安装linux-headers无法找到包大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

我正在尝试为我的内核版本3.4.61和Debian版本7.1安装 linux-headers 我输入了这个命令: apt-get update apt-get install linux-headers-$(uname -r) 在最后一个命令我总是得到一个错误: E: Unable to locate package linux-headers-3.4.61 E: Couldn't find an
我正在尝试为我的内核版本3.4.61和Debian版本7.1安装 linux-headers

我输入了这个命令:

apt-get update
apt-get install linux-headers-$(uname -r)

在最后一个命令我总是得到一个错误

E: Unable to locate package linux-headers-3.4.61
E: Couldn't find any package by regex 'linux-headers-3.4.61'

便说一句:这一切都基于Cubietruck / Cubieboard3

解决方法

您可以先搜索,然后选择最近的一个.

例如,在我的系统上:

$apt-cache search linux-headers
linux-headers-3.2.0-4-all - All header files for Linux 3.2 (Meta-packagE)
linux-headers-3.2.0-4-all-amd64 - All header files for Linux 3.2 (Meta-packagE)
linux-headers-3.2.0-4-amd64 - Header files for Linux 3.2.0-4-amd64

@R_418_9447@安装这三个中的任何一个.

大佬总结

以上是大佬教程为你收集整理的在debian上安装linux-headers无法找到包全部内容,希望文章能够帮你解决在debian上安装linux-headers无法找到包所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。