LinuxSir.cn,穿越时空的Linuxsir!

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

I just have installed debian, I have no idea how to configure sources.list,hel

[复制链接]
发表于 2009-3-18 14:58:40 | 显示全部楼层 |阅读模式
Hi,guys, I used Mandriva before, problems occurs when i configure the sources.list.
I try to apt-get install software, but it just tell me" can't find the package?"
I have referred to some pages here which tells about apt-get, sources.list... but i just feel...confused...
Is there any way just like the mdv's urpmi to configure sources.list?
I can't type chinese here, so help is appreciated!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2009-3-18 15:47:41 | 显示全部楼层
哈哈,看来还是要发扬DIV的精神啊, 装好了fcitx了
回复 支持 反对

使用道具 举报

发表于 2009-3-18 15:53:31 | 显示全部楼层
Give you a sample of what /etc/apt/sources.list looks like:
  1. deb http://ftp.au.debian.org/debian/ stable main contrib non-free
  2. deb-src http://ftp.au.debian.org/debian/ stable main
复制代码

You can replace the urls with the ones of any debian mirror closest to you. Go to http://www.debian.org/mirror/list for all debian mirrors.

Then run 'apt-get update && apt-get install fcitx' to install fcitx.

I prefer posting in Chinese if you can read Chinese.
回复 支持 反对

使用道具 举报

发表于 2009-3-18 16:17:56 | 显示全部楼层

^-*

You two are so funny!!!
And that 应该是URI(Universal Resource Identifier)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-18 16:28:07 | 显示全部楼层
谢谢, debian真是让人惊讶, 相信不久我就可以恢复到使用mdv的那种状态。
回复 支持 反对

使用道具 举报

发表于 2009-3-18 23:09:52 | 显示全部楼层
[nlu@lenny ~]$ cat /etc/apt/sources.list
deb http://www.anheng.com.cn/debian/ lenny main
deb-src http://www.anheng.com.cn/debian/ lenny main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
回复 支持 反对

使用道具 举报

发表于 2009-3-18 23:29:52 | 显示全部楼层
直接,,sudo nautilus,,,在打开的文件管理器里复制什么的都行,,,
回复 支持 反对

使用道具 举报

发表于 2009-3-18 23:48:50 | 显示全部楼层
楼上你在说什么?咋地读了几遍读不懂哩
回复 支持 反对

使用道具 举报

发表于 2009-3-19 00:01:58 | 显示全部楼层
一般的服务器都会明确的给出自己的源(以一个文本文件的形式,就在ftp的很容易找到的地方),

你把那个文件的内容直接复制到你的sources.list里面就ok了,以后就不用再想这事了,

注意不要混着用,否则会很有趣。
回复 支持 反对

使用道具 举报

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

本版积分规则

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