LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 538|回复: 0

FC5下的apt服务器来源配置文件怎么写?

[复制链接]
发表于 2006-7-10 16:44:41 | 显示全部楼层 |阅读模式
初学Linux,系统为FC5.今天装了apt,版本为apt-0.5.15lorg3.2-65.rhfc5.at.i386。装完之后写服务器来源配置文件/etc/apt/sources.list,写来写去也无法实现安装。以下是我写的文件格式:

# You can use the file:/ entries for creating your local repository mirrors.
rpm ftp://apt.nc.hcc.edu.tw/pub/apt/ ... 386/RPMS.freshrpms/
rpm http://ftp.freshrpms.net/pub/fedora/linux/extras/5/i386/
rpm http://apt.freshrpms.net/
rpm ftp://ftp.uninett.no/pub/linux/apt/fedora/5/i386
rpm http://www.linux.cz/apt-rpm/

写完之后保存,运行apt-get install xine
(在地址ftp://apt.nc.hcc.edu.tw/pub/apt/ ... 386/RPMS.freshrpms/中,有xine的安装软件包,所以我试的是安装xine),报出的错误为:

E: Malformed line 2 in source list /etc/apt/sources.list (dist)
E: The list of sources could not be read.

实在不知道怎么解决了,请各位兄弟指教。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表