Reading package lists... Done
Building dependency tree
Reading state information... Done
N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unable to locate package update
我的etc / apt / sources.list看起来像这样:
deb http://repo.kali.org/kali kali-rolling main non-free contrib
deb-src http://repo.kali.org/kali kali-rolling main non-free contrib
答案 0 :(得分:0)
步骤:
命令:
rm /etc/apt/sources.list.d/getdeb.list.bck
apt-get update
答案 1 :(得分:0)
我经常遇到这样的问题。搏一搏。在sources.list文件中,剪切所有回购列表,然后简单地添加以下内容:-
deb http://http.kali.org/kali kali-rolling主贡献非免费
然后重新启动 它像乐趣一样。