KaliLinux新增更新源 七夕小子 新浪部落格

2021-10-10 12:14:36 字數 943 閱讀 1990

路徑:/etc/apt/sources.list

新增以下更新源:

#官方源

#deb kali-rolling main non-free contrib

#deb-src kali-rolling main non-free contrib

#中科大kali源

deb kali-rolling main non-free contrib

deb-src kali-rolling main non-free contrib

deb -security kali-current/updates main contrib non-free

deb-src -security kali-current/updates main contrib non-free

#阿里雲kali源

deb kali-rolling main non-free contrib

deb-src kali-rolling main non-free contrib

deb -security kali-rolling/updates main contrib non-free

deb-src -security kali-rolling/updates main contrib non-free

將新的kali源貼上進去,同時將官方源用#號注釋掉。

再執行更新命令:

apt-get clean && apt-get update -y && apt-get -f upgrade -y

或以下:

apt-get update

//使主機上軟體包的索引資訊與伺服器進行同步

apt-get upgrade

//公升級所有軟體為最新版本

apt-get dist-upgrade

//公升級整個系統

apt-get clean

KaliLinux新增更新源

路徑 etc apt sources.list 新增以下更新源 官方源 deb kali rolling main non free contrib deb src kali rolling main non free contrib 中科大kali源 deb kali rolling main n...

kali linux 修改更新源和更新命令

vim etc apt sources.list aliyun 阿里雲 deb kali rolling main non free contrib deb src kali rolling main non free contrib ustc 中科大 deb kali rolling main n...

Kali更新源新增

1.使用vim命令開啟更新源sources.list檔案,命令如下 vim etc apt sources.list 2.按鍵盤a進行對更新源的輸入 3.常見的更新源如下 3.1中科大 deb kali rolling main non free contrib deb src kali rolli...