Jamers Posted September 17, 2015 Report Share Posted September 17, 2015 一般FREEBSD安装好后,时间久远,需要更新怎么办?重新安装,那样需要配置的东西太多了,用这个命令,可以指定升级到哪个版本。 http://www.freebsd.org/doc/zh_CN/books/handbook/updating-upgrading-freebsdupdate.html freebsd-update fetch install freebsd-update -r 10.2-RELEASE upgrade shutdown -r now freebsd-update install http://kanjuku-tomato.blogspot.com/2014/01/freebsd-92-releasefreebsd-10-release.html 安装有问题,按这个日本博客上的步骤搞定。。国内为毛没有呢?总体思路,原来的freebsd-update有问题,两个补丁打完就可以了。 Link to comment Share on other sites More sharing options...
Jamers Posted June 17, 2019 Author Report Share Posted June 17, 2019 freebsd-update fetch install pkg update && pkg upgrade freebsd-update -r 12.0-RELEASE upgrade freebsd-update install 这里重启一次 reboot freebsd-update install pkg-static install -f pkg pkg update pkg upgrade reboot Link to comment Share on other sites More sharing options...
Jamers Posted June 17, 2019 Author Report Share Posted June 17, 2019 升级过后有时会无法添加用户,出现错误提示: pw: user 'xxx' disappeared during update 同步生成一下密码文件,即可 /usr/sbin/pwd_mkdb -p /etc/master.passwd Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now