Kali安装源切换以及Depends: libssl1.0.0 but it is not installable解决办法

运行:
leafpad /etc/apt/sources.list

添加如下内容:
#kali官方源
deb http://http.kali.org/kali kali-rolling main non-free contrib

#中科大kali源
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

#阿里云kali源
deb https://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src https://mirrors.aliyun.com/kali kali-rolling main non-free contrib

#163 DEBIAN源
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

阿里云的都换成了https。

运行更新
apt clean
apt update

运行 apt update或者安装其他东西的时候出现Depends: libssl1.0.0 but it is not installable依赖问题。
使用

apt -f -y install

解决依赖问题后,再做更新,安装等工作。

猜你喜欢

转载自www.cnblogs.com/weihongfei/p/10971300.html