在安装Easy-creds工具的时候出错了,网上说安装appitude能解决,于是就把apt替换成了appitude。结果现在连appitude update都不能使用了,有关信息如下。
root@kali:~# aptitude update
E: 无法找到获取软件包的渠道 /usr/lib/apt/methods/http 所需的驱动程序。
E: 无法找到获取软件包的渠道 /usr/lib/apt/methods/http 所需的驱动程序。
W: 无法下载 http://mirrors.ustc.edu.cn/kali/dists/kali/InRelease:
W: 无法下载 http://mirrors.ustc.edu.cn/kali- ... i/updates/InRelease:
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@kali:~# aptitude update && apt-get dist-upgrade -y
E: 无法找到获取软件包的渠道 /usr/lib/apt/methods/http 所需的驱动程序。
E: 无法找到获取软件包的渠道 /usr/lib/apt/methods/http 所需的驱动程序。
W: 无法下载 http://mirrors.ustc.edu.cn/kali/dists/kali/InRelease:
W: 无法下载 http://mirrors.ustc.edu.cn/kali- ... i/updates/InRelease:
E: Some index files failed to download. They have been ignored, or old ones used instead.
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
我更换了/etc/apt/sources.list中的源许多次都不行,照出错信息在网上搜索,说要安装apt-transport-https,结果也不行,有关信息如下:
aptitude install apt-transport-https
"apt-transport-https" exists in the package database, but it is not a real package and no package provides it
Unable to apply some actions, aborting
实在是找不到办法了,望大神解答。 |