更新 kali sources.list 解决 python lzma无法定位

Posted 2h4ox1n9

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了更新 kali sources.list 解决 python lzma无法定位相关的知识,希望对你有一定的参考价值。

cd /etc/apt/

sudo cp sources.list sources.list.bb

sudo vi sources.list

 

复制下面这些

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

 

然后 apt update,提示密钥错误,记下错误的密钥

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32

然后在 apt update

以上是关于更新 kali sources.list 解决 python lzma无法定位的主要内容,如果未能解决你的问题,请参考以下文章

2020年kali最新国内更新源sources.list

kali/parrot更新源和安装vmtools

kali linux 更新软件源,安装中文输入法

[Linux]kali更新/etc/apt/sources.list

text 更新Kali NetHunter 3.0的sources.list文件

Kali2.0可用国内源更新sources.list