使用国内的软件源解决升级Linux Mint una 20.3缓慢或升级失败的问题

我访问阿里云的服务器是最快的,我发现阿里云2022年1月10日中午出现了Linux Mint una的镜像,我使用该镜像进行升级提示如下错误信息:

E: 仓库 “

https://mirrors.aliyun.com/linuxmint una Release” 没有 Release 文件。

N: 无法安全地用该源进行更新,所以默认禁用该源。

说明这个镜像是不完整的,不能够作为升级源使用,我查看了我已经使用中国电信 络升级成功的Linux Mint una,搜索发现中科大软件源是最快的,我就用这个服务器作为更新源,后来发现是可行的,速度还令人满意。以下为操作的步骤:

一、修改操作系统中的

/etc/apt/sources.list.d/official-package-repositories.list文件,将LinuxMint una的源修改为中科大的,将ubuntu focal源修改为速度最快的阿里云的镜像,具体文件内容如下:

deb https://mirrors.ustc.edu.cn/linuxmint una main upstream import backport

deb http://mirrors.aliyun.com/ubuntu focal main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu focal-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu focal-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse

deb http://archive.canonical.com/ubuntu/ focal partner

二、执行 sudo apt-get update

三、执行 sudo apt-get upgrade

几分钟以内,操作系统就更新到最新的Linux Mint了,使用后未发现异常。

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2022年5月9日
下一篇 2022年5月9日

相关推荐