#备份

cd /etc/apt/
 
cp sources.list sources.list.bk

cd /etc/apt/sources.list.d/

#写入文件

Types: deb
URIs: https://mirrors.aliyun.com/ubuntu/
Suites: noble noble-security noble-updates noble-proposed noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

#验证

 apt list --upgradable