关于修改更新源遇到的问题

重复贴和参考价值不大的帖子,版主维护
回复
james0213
帖子: 28
注册时间: 2007-06-23 15:38
送出感谢: 0
接收感谢: 0

关于修改更新源遇到的问题

#1

帖子 james0213 » 2008-03-03 22:24

系统默认的更新源列表被我删除了,也没有备份......从网上找了更新源.覆盖后更新不了.

提示说:安装源配置文件/etc/apt/sources.list 第一行的格式有误(URI)
无法读取安装源列表

覆盖以前的更新源列表的时候没有注意具体的格式,就直接把网上的那些地址COPY进去了.

能不能贴一个你们的给我参考一下啊.多谢了! :cry:
头像
wavydoom
帖子: 1081
注册时间: 2008-02-15 0:08
送出感谢: 0
接收感谢: 0

#2

帖子 wavydoom » 2008-03-03 23:11

#8.04的源!!!












# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Alpha i386 (20080205)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy main restricted
deb-src http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy-updates main restricted
deb-src http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy universe
deb-src http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy universe
deb http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy-updates universe
deb-src http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy multiverse
deb-src http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy multiverse
deb http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy-updates multiverse
deb-src http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://cn.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy-security main restricted
deb-src http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy-security main restricted
deb http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy-security universe
deb-src http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy-security universe
deb http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy-security multiverse
deb-src http://ubuntu.csie.nctu.edu.tw/ubuntu/ hardy-security multiverse
上次由 wavydoom 在 2008-03-03 23:13,总共编辑 1 次。
头像
wavydoom
帖子: 1081
注册时间: 2008-02-15 0:08
送出感谢: 0
接收感谢: 0

#3

帖子 wavydoom » 2008-03-03 23:12

其实你在 系统-》系统管理-》软件源-》下载自-》其他-》选择最佳服务器

就可以了。

或者在这个里面可以选择服务器源阿。
james0213
帖子: 28
注册时间: 2007-06-23 15:38
送出感谢: 0
接收感谢: 0

#4

帖子 james0213 » 2008-03-04 11:08

多谢楼上的两位XD,已经搞定了。 :P
james0213
帖子: 28
注册时间: 2007-06-23 15:38
送出感谢: 0
接收感谢: 0

#5

帖子 james0213 » 2008-03-04 11:08

多谢楼上的两位XD,已经搞定了。
头像
yaoms
帖子: 4953
注册时间: 2007-10-19 14:51
来自: 深圳
送出感谢: 0
接收感谢: 2 次

#6

帖子 yaoms » 2008-03-04 11:55

james0213 写了:多谢楼上的两位XD,已经搞定了。
:D :shock: 我怎么只看到一个?哈哈
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
xiaoqian
帖子: 6
注册时间: 2008-08-16 15:19
送出感谢: 0
接收感谢: 0

#7

帖子 xiaoqian » 2008-08-16 15:34

安装源配置文件“/etc/apt/sources.list”第 65 行有错误 (dist parse)
zen me ban?
回复

回到 “归档贴”