网站推广的方法和手段,江西久久建筑工程有限公司,安全的网站,“网站制作”Ubuntu版本#xff1a;24.04.1
报错信息#xff1a;
Clearsigned file isnt valid, got NOSPLIT (does the network require authentication?)
如果你在执行以上命令的时候也出现了上面这样的错误提示#xff0c;先检查一下是不是网络问题#xff0c;如果确定不是…Ubuntu版本24.04.1
报错信息
Clearsigned file isnt valid, got NOSPLIT (does the network require authentication?)
如果你在执行以上命令的时候也出现了上面这样的错误提示先检查一下是不是网络问题如果确定不是可以尝试一下我这个解决办法。
这个错误说明目前使用的下载源不能用这个时候可以尝试一下换源具体命令如下
sudo cd /etc/apt/sources.list.d
sudo cp sources.list.d sources.list.d.bak
sodu vi sources.list.d
这里需要注意的是ubuntu24的源配置文件路径已经改为了/etc/apt/sources.list.d源配置文件为sources.list.d而之前版本的Ubuntu源配置文件路径是/etc/apt源配置文件为sources.list。
#清华源
Types: deb
URIs: http://mirrors.tuna.tsinghua.edu.cn/ubuntu/
Suites: noble noble-updates noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg将以上内容粘贴到打开的sources.list.d文件中PS可以将之前的源码注释掉然后关闭文本编辑器更新源。
sudo apt-get update
一些其他国内源
#中科大源
Types: deb
URIs: http://mirrors.ustc.edu.cn/ubuntu/
Suites: noble noble-updates noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg#阿里云
Types: deb
URIs: http://mirrors.aliyun.com/ubuntu/
Suites: noble noble-updates noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg#网易163
Types: deb
URIs: http://mirrors.163.com/ubuntu/
Suites: noble noble-updates noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg