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 ...
随机推荐
- CodeForces - 867E Buy Low Sell High (贪心 +小顶堆)
https://vjudge.net/problem/CodeForces-867E 题意 一个物品在n天内有n种价格,每天仅能进行买入或卖出或不作为一种操作,可以同时拥有多种物品,问交易后的最大利益 ...
- Oracle和Mysql的安装
Oracle12C的安装:https://blog.csdn.net/qubeleyz/article/details/79451192 Mysql安装:
- Elasticsearch入门之从零开始安装ik分词器
起因 需要在ES中使用聚合进行统计分析,但是聚合字段值为中文,ES的默认分词器对于中文支持非常不友好:会把完整的中文词语拆分为一系列独立的汉字进行聚合,显然这并不是我的初衷.我们来看个实例: POST ...
- 使用 JS 实现图片左右跑马灯
Ø 前言 之前写了一篇使用 JS 实现文字上下跑马灯,现在乘热打铁在把图片左右跑马灯一起贴出来,不多说直接看代码. 1. 首先定义 css 样式 <style type="tex ...
- 13.CrawlSpider类爬虫
1.CrawlSpider介绍 Scrapy框架中分两类爬虫,Spider类和CrawlSpider类. 此案例采用的是CrawlSpider类实现爬虫. 它是Spider的派生类,Spider类的设 ...
- zookeeper客户端 zkCli使用及常用命令
上篇(http://www.cnblogs.com/yangzhenlong/p/8270835.html)zk伪集群搭建好后,使用zkCli连接zk服务 切换到zk1/bin 目录,执行zkCli. ...
- Ubuntu、Windows输入命令appium-doctor提示未找到命令
输入命令:appium-doctor时,一直报错,提示“未找到命令”,但是输入命令:appium -v能够正确输出我安装版本,这是怎么回事呢? 原来appiu-doctor在1.5.3版本之后没有了需 ...
- vue学习之template标签
HTML5提供的新标签,具有以下特性: 1.该元素天生display:none,同时模板元素内部内容也是隐藏的 2.位置任意,可以在<head>中,也可以在<body>或者&l ...
- 高性能IO之Reactor模式
The reactor design pattern is an event handling pattern for handling service requests delivered conc ...
- mongodb 系列 ~ mongo的副本集(2)
一 简介:来试试更改副本集的oplog问题二 背景: oplog的作用类似于mysql的binlog,传递增量操作到从节点 三 oplog介绍 1 oplog在local库: 1 mas ...