kali sudo apt install 无法定位软件包
在etc/apt 的sources.list 添加镜像源
debhttp://http.kali.org/kali kali-rolling main non-free contrib 或
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
然后 sudo apt-get update/sudo apt update && sudo apt upgrade
接着安装就可以了。注意要连网。
- deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free
- deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free
- deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
- deb http://http.kali.org/kali kali-rolling main non-free contrib
- #中科大kali源
- deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib
- deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib
- deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free
- #阿里云kali源
- deb http://mirrors.aliyun.com/kali kali main non-free contrib
- deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
- deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free
more is better.haha
success.......
vmware出现无法定位Linux-headers。。。。。把官网源注释
- #deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free
- #deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free
- #中科大kali源
- deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib
- deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib
- deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free
- #阿里云kali源
- deb http://mirrors.aliyun.com/kali kali main non-free contrib
- deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
- deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free
- #debian_wheezy国内源
- deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
- deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
- deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
- deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
- deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
- deb http://mirrors.163.com/debian wheezy main non-free contrib
- deb-src http://mirrors.163.com/debian wheezy main non-free contrib
- deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
- deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
- deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
- deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
- deb http://http.kali.org/kali kali-rolling main non-free contrib
- # deb-src http://http.kali.org/kali kali-rolling main non-free contrib
可以进行测试:
apt-cache search linux-headers
kali sudo apt install 无法定位软件包的更多相关文章
- sudo apt install net-tools [sudo] zyw 的密码: 正在读取软件包列表... 完成 正在分析软件包的依赖关系树,正在读取状态信息... 完成,没有可用的软件包 net-tools,但是它被其它的软件包引用了。这可能意味着这个缺失的软件包可能已被废弃,或者只能在其他发布源中找到
截图: 先执行: sudo apt-get update 再执行: sudo apt install net-tools 即可安装成功!!
- Command 'ifconfig' not found, but can be installed with: sudo apt install net-tools
然后按照错误信息安安装网络工具: sudo apt install net-tools shl@shl-tx:~$ sudo apt install net-tools正在读取软件包列表... 完成正 ...
- Ubuntu18下sudo apt install xxx出现问题
当执行sudo apt install rpm时失败(apt-get也失败),输出如下报错信息: E: Could not get lock /var/lib/dpkg/lock - open (11 ...
- sudo apt install libreadline-dev Reading package lists... Error!
luo@luo-ThinkPad-W540:~$ luo@luo-ThinkPad-W540:~$ luo@luo-ThinkPad-W540:~$ luo@luo-ThinkPad-W540:~$ ...
- Ubuntu 16.04 安装 Wireshark分析tcpdump的pcap包——sudo apt install wireshark-qt
tcpdump 的抓包保存到文件的命令参数是-w xxx.cap 抓eth1的包 tcpdump -i eth1 -w /tmp/xxx.cap 抓 192.168.1.123的包 tc ...
- Command 'ifconfig' not found, but can be installed with: sudo apt install net-tools VM Ubuntu 解决方案
VMware下安装的Ubuntu 一开始由于Firefox连不上网,然后通过看了https://www.bbsmax.com/A/VGzlEGYJbq/这个文章之后,自己也测了一下,确实好用 但是if ...
- Command 'ifconfig' not found, but can be installed with: sudo apt install net-tools解决方法
VMware下安装的Ubuntu 当使用ifconfig命令查看网卡配置信息的时候出错 尝试了很多方法都解决不了,直到输入了下面的内容: 然后自己就更新了很多东西 之后重新输入ifconfig命令就能 ...
- 解决无法定位软件包 或 install net-tools
解决无法定位软件包 或 install net-tools 当我们安装好Linux后,因为里面有很多功能服务没有安装(如ifconfig.vsftpd) 所以出现一些command '**** ...
- ubuntu16.04安装cuda,无法定位软件包问题
为了学习深度学习,这几天在安装深度学习框架,cuda安装时却出现无法定位软件包的问题.cuda官网下载时提供了deb和run格式,今天只讲deb格式的安装包安装过程的问题. 按照官方教程,下载好cud ...
随机推荐
- ImageView的ScaleType属性
ImageView的ScaleType各种值代表的意义: CENTER:不进行任何缩放,将图片放在容器中间 CENTER_CROP:如果图片长宽都大于等于容器长宽,则图片不缩放,否则按固定长宽比缩放, ...
- EF开发程序经常用的几个东西
PM> Install-Package EntityFramework PM> Install-Package AutoFac PM> Install-Package AutoMap ...
- jeesite简单入口分析
这两天要开新项目 , 准备使用比较受欢迎的 jeesite框架 . jeesite是一个写好的网站 , 用到的框架比较多 具体请看 -- > github链接 下载下来之后 , 手动把maven ...
- windows python flask上传文件出现IOError: [Errno 13] Permission denied: 'E:\\git\\test\\static\\uploads'的解决方法
在浏览器中输入时,出现IOError: [Errno 13] Permission denied: 'E:\\git\\test\\static\\uploads' http://127.0.0.1: ...
- 极化码之tal-vardy算法(2)
上一节我们了解了tal-vardy算法的大致原理,对所要研究的二元输入无记忆对称信道进行了介绍,并着重介绍了能够避免输出爆炸灾难的合并操作,这一节我们来关注信道弱化与强化操作. [1]<Chan ...
- Azkaban-2.5及Plugins的安装配置
Azkaban是由LinkedIn开发的调度工具,可以用于调度Hadoop中的相互依赖的Job.有时候,在Hadoop集群中运行的Job是相互依赖的,某些任务需要顺序的执行,这种场景下使用Azkaba ...
- Python replace()方法
描述 Python replace() 方法把字符串中的 old(旧字符串) 替换成 new(新字符串),如果指定第三个参数max,则替换不超过 max 次. 语法 replace()方法语法: st ...
- EBS API及接口清单
https://www.cnblogs.com/lizicheng/p/9521742.html 模块 应用场景 类型 API/接口 AP 付款核销 API ap_pay_invoice_pkg.ap ...
- python 中numpy dot函数的使用方法
这个函数在的数字信号处理中用处还是比较广泛的,函数的具体定义如下所示: numpy.dot(a, b, out=None) 该函数的作用是获取两个元素a,b的乘积,表示的含义如下所示: dot(a, ...
- 详解javascript中this的工作原理
在 JavaScript 中 this 常常指向方法调用的对象,但有些时候并不是这样的,本文将详细解读在不同的情况下 this 的指向. 一.指向 window: 在全局中使用 this,它将会指向全 ...