在安装xrdp的时候,一直抱 connect to mirrors.opencas.cn fail,解决方案是替换掉原来的安装源
1) 修改 /etc/apt/sources.list 文件
sudo vim /etc/apt/sources.list
1#deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi <<---屏蔽该源
2 # Uncomment line below then 'apt-get update' to enable 'apt-get source'
3 #deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
4 #替换为 http://mirrors.shu.edu.cn/raspbian/raspbian/
5 deb http://mirrors.shu.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi #<---增加
2) 更新列表
sudo apt-get update&& sudo apt-get -y dist-upgrade&&sudo apt-get update
之后重新安装xrdp的时候,下载源就更新到了http://mirrors.shu.edu.cn/raspbian/raspbian/
还看到一个网友安装git不成功,通过这个方法解决问题了