首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >apt-获取更新失败

apt-获取更新失败
EN

Unix & Linux用户
提问于 2019-08-23 13:40:22
回答 1查看 5.3K关注 0票数 4

当我试图在我的Kali虚拟机上运行sudo apt-get update时,我收到了以下消息。可能是什么原因?

代码语言:javascript
运行
复制
root@kali:~# sudo apt-get update
Get:1 http://http.kali.org/kali kali-rolling InRelease [3,415 B]
Err:1 http://http.kali.org/kali kali-rolling InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Reading package lists... Done       
E: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://http.kali.org/kali kali-rolling InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@kali:~#
代码语言:javascript
运行
复制
# cat /etc/resolv.conf
# Generated by NetworkManager
search *omitted*.com
nameserver 192.168.10.240
nameserver 192.168.32.215
EN

回答 1

Unix & Linux用户

发布于 2022-09-08 22:25:21

我解决了从http改为https的问题,方法是使用nano类型: nano /etc/apt/ solved .列表:从http ://改为https://

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/537051

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档