红联Linux门户
Linux帮助

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

发布时间:2006-07-09 13:36:59来源:红联作者:HumanPaladin
初学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.

实在不知道怎么解决了,请各位兄弟指教。
文章评论

共有 0 条评论