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 Linux搜尋軟體包Linux
- 建立本地APT軟體包倉庫APT
- linux 報錯 E: 無法定位軟體包 python-lzmaLinuxPython
- ubuntu apt-get install xxx報錯無法下載的解決方法Ubuntuapt-get
- Kali apt報錯E: 無法獲得鎖 /var/cache/apt/archives/lock - open (11: 資源暫時不可用)APTHive
- sudo: apt-get: command not foundapt-get
- Ubuntu出現“E: 無法定位軟體包問題”解決方法Ubuntu
- sudo apt-get update | grep "Failed"apt-getAI
- Ubuntu 20.04中建立本地APT軟體包倉庫UbuntuAPT
- install java javac on kali linux, raspberry piJavaLinux
- sudo apt update時報錯 E: Unable to lock directory /var/lib/apt/lists/APT
- Install linux mint apt to Ubuntu 18.04 LTSLinuxAPTUbuntu
- apt-get install **安裝opencvapt-getOpenCV
- E: 無法定位軟體包、E: 無法獲得鎖 /var/lib/dpkg/lock - open (11: 資源暫時不可用)、E: 無法鎖定管理目錄(/var/lib/dpkg/)
- Kali Linux 如何使用 軟體商店Linux
- linuxmint apt-get install error:Depends...?Linuxapt-getError
- Ubuntu 軟體安裝命令:aptUbuntuAPT
- 在無 sudo 許可權的 linux 伺服器上安裝軟體Linux伺服器
- 從 apt 升級中排除/保留/阻止特定軟體包的三種方法APT
- Kali Linux軟體更新日報20190623Linux
- Kali Linux軟體更新日報20190622Linux
- 使用apt install安裝本地deb檔案APT
- Kali Linux更新後無法啟動解決了Linux
- 解決Kali Linux XFCE桌面Tab無法補全Linux
- Ubuntu 系統下 apt-get 徹底解除安裝軟體包的方法Ubuntuapt-get
- apt-sortpkgs ——Debian Linux下對軟體包索引檔案進行排序的工具APTLinux索引排序
- E: 無法獲得鎖 /var/lib/apt/lists/lock - openAPT
- Linux學習之出現無法apt-get updateLinuxapt-get
- 軟碟通製作win10映象,無法開啟install.wim的問題Win10
- 解決Kali LinuxVI編輯器無法複製問題Linux
- ubutnu:apt安裝時報下列軟體包有未滿足的依賴關係APT
- 執行yum install 的時候提示【沒有可用的軟體包】的解決方案
- 【Linux】apt軟體管理和遠端登入LinuxAPT
- 換ip軟體無法連線如何解決
- win10映象install.wim無法開啟怎麼處理_win10安裝系統無法開啟install解決方法Win10
- Windows 軟體包Windows
- kali linux 2020.3無法使用root使用者登陸GUI介面LinuxGUI
- apt-get update 和 apt-get install 寫在同一個 RUN 指令的解讀apt-get
- Kali Linux安裝第三方軟體Linux