我用sudo apt-get install 了tochnog,我想获得tochnog的原码,我该怎么做?谢谢。
我的sources.list是
deb http://archive.ubuntu.org.cn/ubuntu breezy main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu breezy-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu breezy-updates main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu-cn ubuntu.org.cn main universe multiverse restricted
请问,我怎么获得软件包的原代码?
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 51
- 注册时间: 2005-07-13 10:15
- 来自: shenzhen
-
- 帖子: 51
- 注册时间: 2005-07-13 10:15
- 来自: shenzhen
谢谢,我现在 把 sources.list 改成 了:
deb http://archive.ubuntu.org.cn/ubuntu breezy main restricted universe multiverse
deb-src http://archive.ubuntu.org.cn/ubuntu breezy main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu breezy-security main restricted universe multiverse
deb-src http://archive.ubuntu.org.cn/ubuntu breezy-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu breezy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.org.cn/ubuntu breezy-updates main restricted universe multiverse
但还是下载不了tochnog的源代码:
"无法下载 http://archive.ubuntu.org.cn/ubuntu/dis ... Sources.gz MD5 校验和不符
正在读取软件包列表... 完成
E: 有一些索引文件不能下载,它们可能被忽略了,也可能转而使用了旧的索引文件。
wzp@ubuntu:~$ sudo apt-get source tochnog
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
E: 无法打开文件 /var/lib/apt/lists/archive.ubuntu.org.cn_ubuntu_dists_breezy-security_universe_source_Sources - open (2 没有那个文件或目录)"
我改sources.list 后用了sudo apt-get update 了。
deb http://archive.ubuntu.org.cn/ubuntu breezy main restricted universe multiverse
deb-src http://archive.ubuntu.org.cn/ubuntu breezy main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu breezy-security main restricted universe multiverse
deb-src http://archive.ubuntu.org.cn/ubuntu breezy-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu breezy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.org.cn/ubuntu breezy-updates main restricted universe multiverse
但还是下载不了tochnog的源代码:
"无法下载 http://archive.ubuntu.org.cn/ubuntu/dis ... Sources.gz MD5 校验和不符
正在读取软件包列表... 完成
E: 有一些索引文件不能下载,它们可能被忽略了,也可能转而使用了旧的索引文件。
wzp@ubuntu:~$ sudo apt-get source tochnog
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
E: 无法打开文件 /var/lib/apt/lists/archive.ubuntu.org.cn_ubuntu_dists_breezy-security_universe_source_Sources - open (2 没有那个文件或目录)"
我改sources.list 后用了sudo apt-get update 了。
- leal
- 帖子: 1119
- 注册时间: 2005-08-29 14:49
- 来自: 杭州
- 联系:
- leal
- 帖子: 1119
- 注册时间: 2005-08-29 14:49
- 来自: 杭州
- 联系:
- oneleaf
- 论坛管理员
- 帖子: 10441
- 注册时间: 2005-03-27 0:06
- 系统: Ubuntu 12.04
由于服务器空间不够完全镜像需要150G,所以取消了源的镜像,因此Georock 写了:谢谢,我现在 把 sources.list 改成 了:
deb http://archive.ubuntu.org.cn/ubuntu breezy main restricted universe multiverse
deb-src http://archive.ubuntu.org.cn/ubuntu breezy main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu breezy-security main restricted universe multiverse
deb-src http://archive.ubuntu.org.cn/ubuntu breezy-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu breezy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.org.cn/ubuntu breezy-updates main restricted universe multiverse
但还是下载不了tochnog的源代码:
"无法下载 http://archive.ubuntu.org.cn/ubuntu/dis ... Sources.gz MD5 校验和不符
正在读取软件包列表... 完成
E: 有一些索引文件不能下载,它们可能被忽略了,也可能转而使用了旧的索引文件。
wzp@ubuntu:~$ sudo apt-get source tochnog
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
E: 无法打开文件 /var/lib/apt/lists/archive.ubuntu.org.cn_ubuntu_dists_breezy-security_universe_source_Sources - open (2 没有那个文件或目录)"
我改sources.list 后用了sudo apt-get update 了。
deb-src 必须使用 http://archive.ubuntu.com/ubuntu
-
- 帖子: 51
- 注册时间: 2005-07-13 10:15
- 来自: shenzhen
换了 deb-src http://archive.ubuntu.com/ubuntu 的 源后搞好了,谢谢你们哦.