vmware workstation虚拟机(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 

 接着安装就可以了。注意要连网。


  
  
  1. deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free
  2. deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free
  3. deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
  4. deb http://http.kali.org/kali kali-rolling main non-free contrib
  5. #中科大kali源
  6. deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib
  7. deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib
  8. deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free
  9. #阿里云kali源
  10. deb http://mirrors.aliyun.com/kali kali main non-free contrib
  11. deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
  12. 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
 
 

apt-get install flashplugin-nonfree下载软件报错

root@kali:~# apt-get install flashplugin-nonfree
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package flashplugin-nonfree 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 'flashplugin-nonfree' has no installation candidate

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值