免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1930 | 回复: 6
打印 上一主题 下一主题

[FreeBSD] freebsd-update 没有 upgrade 选项? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-24 11:42 |只看该作者 |倒序浏览
# freebsd-update -r 6.3-RELEASE upgrade
usage: freebsd-update [options] command ... [path]

Options:
  -b basedir   -- Operate on a system mounted at basedir
                  (default: /)
  -d workdir   -- Store working files in workdir
                  (default: /var/db/freebsd-update/)
  -f conffile  -- Read configuration options from conffile
                  (default: /etc/freebsd-update.conf)
  -k KEY       -- Trust an RSA key with SHA256 hash of KEY
  -s server    -- Server from which to fetch updates
                  (default: update.FreeBSD.org)
  -t address   -- Mail output of cron command, if any, to address
                  (default: root)
Commands:
  fetch        -- Fetch updates from server
  cron         -- Sleep rand(3600) seconds, fetch updates, and send an
                  email if updates were found
  install      -- Install downloaded updates
  rollback     -- Uninstall most recently installed updates

请问为什么我的这个命令没有 -r  和 upgrade 这个选项呢?

论坛徽章:
0
2 [报告]
发表于 2009-03-24 14:43 |只看该作者
install      -- Install downloaded updates 这个不就行了吗?

论坛徽章:
0
3 [报告]
发表于 2009-03-24 15:28 |只看该作者

回复 #2 axlrose 的帖子

但是官方文档说是这么来升级的
# freebsd-update -r 6.4-RELEASE upgrade

论坛徽章:
0
4 [报告]
发表于 2009-03-24 19:52 |只看该作者
难道你看的官方文档类似于这个?:http://www.daemonology.net/blog/ ... binary-upgrade.html

论坛徽章:
54
2017金鸡报晓
日期:2017-02-08 10:39:42操作系统版块每日发帖之星
日期:2016-03-08 06:20:00操作系统版块每日发帖之星
日期:2016-03-07 06:20:00操作系统版块每日发帖之星
日期:2016-02-22 06:20:00操作系统版块每日发帖之星
日期:2016-01-29 06:20:00操作系统版块每日发帖之星
日期:2016-01-27 06:20:00操作系统版块每日发帖之星
日期:2016-01-20 06:20:00操作系统版块每日发帖之星
日期:2016-01-06 06:20:0015-16赛季CBA联赛之江苏
日期:2015-12-21 20:00:24操作系统版块每日发帖之星
日期:2015-12-21 06:20:00IT运维版块每日发帖之星
日期:2015-11-17 06:20:002015亚冠之广州恒大
日期:2015-11-12 10:58:02
5 [报告]
发表于 2009-03-24 20:31 |只看该作者
我也觉得有点奇怪。

试了好几次,我用那个命令升级都不成功,最后没办法,还是用手册上的方法。

论坛徽章:
0
6 [报告]
发表于 2009-03-24 23:32 |只看该作者
在freebsd官网帮助手册查询的 7.1-RELEASE 的结果 http://www.freebsd.org/cgi/man.c ... ASE&format=html  


  1.      fetch          Based on the currently installed world and the configuration
  2.                   options set, fetch all available binary updates.

  3.      cron          Sleep a random amount of time between 1 and 3600 seconds,
  4.                   then download updates as if the fetch command was used.  If
  5.                   updates are downloaded, an email will be sent (to root or a
  6.                   different address if specified via the -t option or in the
  7.                   configuration file).        As the name suggests, this command is
  8.                   designed for running from cron(8); the random delay serves
  9.                   to minimize the probability that a large number of machines
  10.                   will simultaneously attempt to fetch updates.

  11.      upgrade          Fetch files necessary for upgrading to a new release.
  12.                   Before using this command, make sure that you read the
  13.                   announcement and release notes for the new release in case
  14.                   there are any special steps needed for upgrading.

  15.      install          Install the most recently fetched updates or upgrade.

  16.      rollback          Uninstall the most recently installed updates.

  17.      IDS          Compare the system against a "known good" index of the
  18.                   installed release.
复制代码


这个是查的6.3-RELEASE 的 http://www.freebsd.org/cgi/man.c ... ASE&format=html

利用freebsd-update升级freebsd  http://www.bsdlover.cn/html/21/n-821.html
升级FreeBSD7.0到7.1的方法 http://www.bsdlover.cn/html/40/t-2240.html

不知道是不是版本太老有点不同

[ 本帖最后由 axlrose 于 2009-3-25 09:29 编辑 ]

论坛徽章:
0
7 [报告]
发表于 2009-03-25 10:54 |只看该作者

回复 #6 axlrose 的帖子

我 google 一下见也有很多人在 6.x 上面用这个升级的。奇怪就是怎么自己的就没有这些参数。比较郁闷。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP