码迷,mamicode.com
首页 > 系统相关 > 详细

Linux 更新apt-get源 出现错误

时间:2015-11-02 22:53:32      阅读:320      评论:0      收藏:0      [点我收藏+]

标签:

报错:E: Malformed line 1 in source list /etc/apt/sources.list(dist list)

   E: The list of sources could not be read [duplicate]

原因:对着下面的源敲,没注意到 ubuntu/ precese 之间有一个空格,主要也是自己对source list的格式不理解造成的

deb http://mirrors.163.com/ubuntu/ precise-updates main restricted
deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted
deb http://mirrors.163.com/ubuntu/ precise universe
deb-src http://mirrors.163.com/ubuntu/ precise universe
deb http://mirrors.163.com/ubuntu/ precise-updates universe
deb-src http://mirrors.163.com/ubuntu/ precise-updates universe
deb http://mirrors.163.com/ubuntu/ precise multiverse
deb-src http://mirrors.163.com/ubuntu/ precise multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-updates multiverse
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse

Linux 更新apt-get源 出现错误

标签:

原文地址:http://www.cnblogs.com/caoniezi/p/4931634.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!