The ubuntu16 Firefox download file prompts "Unable to save, because the source file cannot be read"

Back to school, I want to configure my laboratory desktop computer with a deep deep learning environment. I suspect this computer will persuade me to quit school! ubuntu crashed once, and then can only be reinstalled. After reinstalling, I am ready to install cuda and cudnn. Who knows that files cannot be downloaded in firefox, and an error is reported:

`无法保存,因为无法读取源文件,请稍后再试,或者联系服务器管理员。

I tried various methods on Baidu on the Internet, and even downloaded a Google (Google prompt failure, network error)
toss all morning, just change the source, it is strange.
1. Back up the original source

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

2. Replace the source

sudo getdit /etc/apt/sources.list

3. Aliyuan (the one I use)

deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse 
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse 
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse 
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse 
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse 
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse 
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse 
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse 
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse 
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse 

4. Update source

sudo apt-get update

5. Update the software

sudo apt-get upgrade

6. Other sources
Tsinghua source

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse

deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse

deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse

deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse

deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse


Guess you like

Origin blog.csdn.net/qq_43265072/article/details/107958191