LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: Freebird

[搞不懂]升级ports怎么老连接不上CVSUP镜像站

[复制链接]
 楼主| 发表于 2003-8-3 20:54:50 | 显示全部楼层
cvsup镜像可以是这个???:ask
发表于 2003-8-3 21:19:15 | 显示全部楼层
为什么不可以?我更新ports和stable都使用的她,很快的
 楼主| 发表于 2003-8-3 21:29:16 | 显示全部楼层
还是同样的显示,现在可以完全肯定不是mirror的原因,肯定是系统的设置出问题了,但我不知错在何处.......:help
发表于 2003-8-4 08:02:48 | 显示全部楼层
突然想起来,你以前问过用代理吧,是不是用了代理?
在把make.conf文件贴出来看
ports-supfile应该没有什么问题,要不也贴上来吧
 楼主| 发表于 2003-8-4 08:17:49 | 显示全部楼层
下面是两文件:/etc/make.conf
  1. # -- use.perl generated deltas -- #
  2. # Created: Mon Jun 23 19:02:00 2003
  3. # Setting to use base perl from ports:
  4. PERL_VER=5.6.1
  5. PERL_VERSION=5.6.1
  6. PERL_ARCH=mach
  7. NOPERL=yo
  8. NO_PERL=yo
  9. NO_PERL_WRAPPER=yo
  10. FETCH_ENV=HTTP_PROXY="http://172.16.51.1:8090"
  11. HTTP_PROXY_AUTH="basic:realm:freebird:123"
  12. MASTER_SITE_OVERRIDE=ftp://ftp.cn.Freebsd.org/pub/Freebsd/
复制代码
/root/ports-supfile:
  1. # $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.26 2002/12/09 01:02:42 lioux Exp $
  2. #
  3. # This file contains all of the "CVSup collections" that make up the
  4. # FreeBSD-current ports collection.
  5. #
  6. # CVSup (CVS Update Protocol) allows you to download the latest CVS
  7. # tree (or any branch of development therefrom) to your system easily
  8. # and efficiently (far more so than with sup, which CVSup is aimed
  9. # at replacing).  If you're running CVSup interactively, and are
  10. # currently using an X display server, you should run CVSup as follows
  11. # to keep your CVS tree up-to-date:
  12. #
  13. #        cvsup ports-supfile
  14. #
  15. # If not running X, or invoking cvsup from a non-interactive script, then
  16. # run it as follows:
  17. #
  18. #        cvsup -g -L 2 ports-supfile
  19. #
  20. # You may wish to change some of the settings in this file to better
  21. # suit your system:
  22. #
  23. # host=CHANGE_THIS.FreeBSD.org
  24. #                This specifies the server host which will supply the
  25. #                file updates.  You must change it to one of the CVSup
  26. #                mirror sites listed in the FreeBSD Handbook at
  27. #                [url]http://www.freebsd.org/doc/handbook/mirrors.html.[/url]
  28. #                You can        override this setting on the command line
  29. #                with cvsup's "-h host" option.
  30. #
  31. # base=/usr
  32. #                This specifies the root where CVSup will store information
  33. #                about the collections you have transferred to your system.
  34. #                A setting of "/usr" will generate this information in
  35. #                /usr/sup.  Even if you are CVSupping a large number of
  36. #                collections, you will be hard pressed to generate more than
  37. #                ~1MB of data in this directory.  You can override the
  38. #                "base" setting on the command line with cvsup's "-b base"
  39. #                option.  This directory must exist in order to run CVSup.
  40. #
  41. # prefix=/usr
  42. #                This specifies where to place the requested files.  A
  43. #                setting of "/usr" will place all of the files requested
  44. #                in "/usr/ports" (e.g., "/usr/ports/devel", "/usr/ports/lang").
  45. #                The prefix directory must exist in order to run CVSup.
  46. # Defaults that apply to all the collections
  47. #
  48. # IMPORTANT: Change the next line to use one of the CVSup mirror sites
  49. # listed at [url]http://www.freebsd.org/doc/handbook/mirrors.html.[/url]
  50. *default host=cvs.jp.Freebsd.org
  51. *default base=/usr
  52. *default prefix=/usr
  53. *default release=cvs tag=.
  54. *default delete use-rel-suffix
  55. # If your network link is a T1 or faster, comment out the following line.
  56. *default compress
  57. ## Ports Collection.
  58. #
  59. # The easiest way to get the ports tree is to use the "ports-all"
  60. # mega-collection.  It includes all of the individual "ports-*"
  61. # collections,
  62. ports-all
  63. # These are the individual collections that make up "ports-all".  If you
  64. # use these, be sure to comment out "ports-all" above.
  65. #
  66. # Be sure to ALWAYS cvsup the ports-base collection if you use any of the
  67. # other individual collections below. ports-base is a mandatory collection
  68. # for the ports collection, and your ports may not build correctly if it
  69. # is not kept up to date.
  70. #ports-base
  71. #ports-archivers
  72. #ports-astro
  73. #ports-audio
  74. #ports-benchmarks
  75. #ports-biology
  76. #ports-cad
  77. #ports-chinese
  78. #ports-comms
  79. #ports-converters
  80. #ports-databases
  81. #ports-deskutils
  82. #ports-devel
  83. #ports-editors
  84. #ports-emulators
  85. #ports-finance
  86. #ports-french
  87. #ports-ftp
  88. #ports-games
  89. #ports-german
  90. #ports-graphics
  91. #ports-hebrew
  92. #ports-hungarian
  93. #ports-irc
  94. #ports-japanese
  95. #ports-java
  96. #ports-korean
  97. #ports-lang
  98. #ports-mail
  99. #ports-math
  100. #ports-mbone
  101. #ports-misc
  102. #ports-multimedia
  103. #ports-net
  104. #ports-news
  105. #ports-palm
  106. #ports-picobsd
  107. #ports-portuguese
  108. #ports-print
  109. #ports-russian
  110. #ports-science
  111. #ports-security
  112. #ports-shells
  113. #ports-sysutils
  114. #ports-textproc
  115. #ports-ukrainian
  116. #ports-vietnamese
  117. #ports-www
  118. #ports-x11
  119. #ports-x11-clocks
  120. #ports-x11-fm
  121. #ports-x11-fonts
  122. #ports-x11-servers
  123. #ports-x11-toolkits
  124. #ports-x11-wm
复制代码
发表于 2003-8-4 08:22:24 | 显示全部楼层
最初由 Freebird 发表
下面是两文件:/etc/make.conf
[/root/ports-supfile:

  1. [color=crimson]*default host=cvs.jp.Freebsd.org[/color]
  2. *default base=/usr
  3. *default prefix=/usr
  4. *default release=cvs tag=.
  5. *default delete use-rel-suffix
复制代码


应该是 *default host=cvsup.jp.Freebsd.org
 楼主| 发表于 2003-8-4 08:30:55 | 显示全部楼层
对对对!,但这个是我现在改的,原来是对的
发表于 2003-8-4 08:31:24 | 显示全部楼层
最初由 Freebird 发表
下面是两文件:/etc/make.conf
  1. [color=red]FETCH_ENV=HTTP_PROXY="http://172.16.51.1:8090"
  2. HTTP_PROXY_AUTH="basic:realm:freebird:123"[/color]
复制代码



是不是这句的问题??
 楼主| 发表于 2003-8-4 08:34:15 | 显示全部楼层
应该是网络的原因吧?因为我通过局域网代理上网的,是不是它的防火墙的限制?但我 这样
#cvsup -P m /root/ports-supfile也不行:ask
 楼主| 发表于 2003-8-4 08:35:29 | 显示全部楼层
最初由 allen1970 发表
是不是这句的问题??

这句就是设的代理,如果不设的话,安装ports都不行
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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