QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 584|回复: 9

synaptic的配置文件在哪,它 的服务器地址怎么改

[复制链接]
发表于 2005-5-5 00:21:08 | 显示全部楼层 |阅读模式
synaptic的配置文件在哪,它 的服务器地址怎么改
发表于 2005-5-5 09:17:01 | 显示全部楼层
/etc/apt/sources.list
直接改
回复

使用道具 举报

发表于 2005-5-5 12:47:17 | 显示全部楼层
或者在它的设置菜单里选软件库,手工添加。
回复

使用道具 举报

 楼主| 发表于 2005-5-5 20:47:52 | 显示全部楼层
为什么我一改完再一看软件库,老提示无法读取sources.list列表
我都从软件库添加的,把文件改过一次就出现这提示了
回复

使用道具 举报

发表于 2005-5-5 22:25:51 | 显示全部楼层
注意格式,看看出错提示的地址,到底合不合理,是不是确实存在的。
回复

使用道具 举报

 楼主| 发表于 2005-5-6 10:21:33 | 显示全部楼层
我是在源文件上改的光把网址换掉了其它什么也不动呀,为什么老是无法读取
回复

使用道具 举报

发表于 2005-5-6 13:36:48 | 显示全部楼层
贴你的文件内容
回复

使用道具 举报

 楼主| 发表于 2005-5-6 21:28:01 | 显示全部楼层
这是源文件
# List of available apt repositories available from ayo.freshrpms.net.
# This file should contain an uncommented default suitable for your system.

# See http://ayo.freshrpms.net/ for a list of other repositories and mirrors.

# $Id: sources.list.i386,v 1.1 2003/06/20 16:56:30 dude Exp $

# Red Hat Linux 9
# rpm http://ayo.freshrpms.net/ redhat/9/i386 os updates freshrpms
# rpm-src http://ayo.freshrpms.net/ redhat/9/i386 os updates freshrpms

# Red Hat Linux 8.0
# rpm http://ayo.freshrpms.net/ redhat/8.0/i386 os updates freshrpms  
# rpm-src http://ayo.freshrpms.net/ redhat/8.0/i386 os updates freshrpms


# Red Hat Linux 7.3
# rpm http://ayo.freshrpms.net/ redhat/7.3/i386 os updates freshrpms
# rpm-src http://ayo.freshrpms.net/ redhat/7.3/i386 os updates freshrpms

# Red Hat Linux 7.2
# rpm http://ayo.freshrpms.net/ redhat/7.2/i386 os updates freshrpms
# rpm-src http://ayo.freshrpms.net/ redhat/7.2/i386 os updates freshrpms

# Red Hat Linux 7.1
# rpm http://ayo.freshrpms.net/ redhat/7.1/i386 os updates freshrpms
# rpm http://ayo.freshrpms.net/ redhat/7.1/i386 powertools dma
# rpm-src http://ayo.freshrpms.net/ redhat/7.1/i386 os updates freshrpms
# rpm-src http://ayo.freshrpms.net/ redhat/7.1/i386 powertools dma

# Red Hat Linux 7.0
# rpm http://ayo.freshrpms.net/ redhat/7.0/i386 os updates freshrpms
# rpm http://ayo.freshrpms.net/ redhat/7.0/i386 powertools dma
# rpm-src http://ayo.freshrpms.net/ redhat/7.0/i386 os updates freshrpms
# rpm-src http://ayo.freshrpms.net/ redhat/7.0/i386 powertools dma

# Red Hat Linux 6.2
# rpm http://ayo.freshrpms.net/ redhat/6.2/i386 os updates freshrpms
# rpm http://ayo.freshrpms.net/ redhat/6.2/i386 powertools
# rpm-src http://ayo.freshrpms.net/ redhat/6.2/i386 os updates freshrpms
# rpm-src http://ayo.freshrpms.net/ redhat/6.2/i386 powertools


这是改过的文件
# List of available apt repositories available from ftp.freshrpms.net/.
# This file should contain an uncommented default suitable for your system.

# See http://ftp.freshrpms.net/ for a list of other repositories and mirrors.

# $Id: sources.list.i386,v 1.1 2003/06/20 16:56:30 dude Exp $

# Red Hat Linux 9
# rpm http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ os updates freshrpms
# rpm-src http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ os updates freshrpms

# Red Hat Linux 8.0
# rpm http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ os updates freshrpms  
# rpm-src http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ os updates freshrpms


# Red Hat Linux 7.3
# rpm http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ os updates freshrpms
# rpm-src http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ os updates freshrpms

# Red Hat Linux 7.2
# rpm http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ os updates freshrpms
# rpm-src http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ os updates freshrpms

# Red Hat Linux 7.1
# rpm http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ os updates freshrpms  
# rpm http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ powertools dma
# rpm-src http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ os updates freshrpms
# rpm-src http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ powertools dma

# Red Hat Linux 7.0
# rpm http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ os updates freshrpms
# rpm http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ powertools dma
# rpm-src http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ os updates freshrpms
# rpm-src http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ powertools dma

# Red Hat Linux 6.2
# rpm http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ os updates freshrpms
# rpm http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ powertools
# rpm-src http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ os updates freshrpms
# rpm-src http://ftp.freshrpms.net/ pub/freshrpms/redhat/8.0/ powertools
回复

使用道具 举报

发表于 2005-5-6 21:55:47 | 显示全部楼层
不是吧,全部都注释掉了。

应该根据你的版本取消一些注释吧。
回复

使用道具 举报

 楼主| 发表于 2005-5-6 22:13:36 | 显示全部楼层
源文件也是全都注释了呀,照样也能上网下载东西呀,我那是在源文 件上改的,光把网址换了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-25 03:25 , Processed in 0.172083 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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