Linux安装软件时出现无法修正错误的解决方法

来源:互联网 发布:淘宝客服怎么设置多个 编辑:程序博客网 时间:2024/05/22 14:11

在WIN10子系统装软件时,报如下错误:
这里写图片描述
经过查找资料,解决方法就是更换系统的源:

# 1.备份原来的数据源配置文件cp /etc/apt/sources.list /etc/apt/sources.list_backup# 2.编辑数据源配置文件vi /etc/apt/sources.list# 在这里我使用的是阿里云的数据源:#==============================================================================================# 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#===============================================================================================# 3.更新配置apt-get update

另外提供Ubuntu官方的源

deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiversedeb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiversedeb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse

引用:> http://www.jianshu.com/p/bc38ed12da1d

阅读全文
0 0
原创粉丝点击