码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2020-07-22 15:30:34      阅读:79      评论:0      收藏:0      [点我收藏+]

标签:bio   res   pytho   main   pos   python   upd   com   nic   

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无法定位

标签:bio   res   pytho   main   pos   python   upd   com   nic   

原文地址:https://www.cnblogs.com/zxnimud/p/13360028.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!