1.打开终端,使用root用户
2.把系统原本的sources.list源文件,改名为sources.list.bak
mv /etc/apt/sources.list /etc/apt/sources.list.bak
3.把下载新的sources.list源文件放到桌面
以下为替换的源文件内容:
## Generated by deepin-installer deb [by-hash=force] https://professional-packages.chinauos.com/desktop-professional eagle main contrib non-free #deb-src [by-hash=force] https://professional-packages.chinauos.com/desktop-professional eagle main contrib non-free
4.把用户桌面上的源文件,移动到/etc/apt/目录下
mv /home/uos/Desktop/sources.list /etc/apt/
uos——是用户名,这个是需要修改的,每个用户名都不同
注意事项:
apt源文件在/etc/apt/目录中,有区分apt源与应用商店的源
:~$ cat /etc/apt/sources.list ## Generated by deepin-installer deb [by-hash=force] https://professional-packages.chinauos.com/desktop-professional eagle main contrib non-free #deb-src [by-hash=force] https://professional-packages.chinauos.com/desktop-professional eagle main contrib non-free :~$ cat /etc/apt/sources.list.d/appstore.list deb https://professional-store-packages.chinauos.com/appstore eagle appstore :~$
更新于 2021-04-28 由于以上办法需要使用一些命令行,而当用户不懂的时候,是比较麻烦,遂推出以下处理办法:
链接: https://pan.baidu.com/s/19SpV6oSVZ4oIiUT8k4Wgpg 密码: 5ofw
里面包含操作步骤
1、双击安装 signed_update_uos.deb
2、双击 updat
3、到控制中心看看是否正在下载更新