a47b
![]() |
|
|
|
|
|||||||
| Installing & Upgrading Installing and upgrading FreeBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Speaking of updating, this is a little off topic, but is it ok after installing FreeBSD 9.0, Gnome2, Xorg, Firefox, Samba 3.6, to do a
# freebsd-update fetch install and # portsnap fetch extract, or will that mess up the system?
Last edited by wblock@; November 5th, 2012 at 00:01. Reason: please keep threads to one topic. see http://forums.freebsd.org/showthread.php?t=8816 for use of cmd tags |
|
#2
|
||||
|
||||
|
You only run
# portsnap fetch extractto initially populate your ports tree. To update it anytime thereafter run # portsnap fetch updateIt won't hurt anything and you want to keep it up to date as you install programs. I run # freebsd-update fetchafter I've installed everything, but am already up to date at FreeBSD 9.0-RELEASE-p3 if I run it now. As to whether or not it could cause a problem there is at least one thread addressing problems that it has caused lately , but it's never caused one for me. On the subject of updating ports, just in case you weren't aware of it, it's essential to install /ports-mgmt/portaudit and to run # portaudit -Fdaon a daily basis to stay current on any vulnerabilities, then use /ports-mgmt/portupgrade to upgrade any ports that it lists as having a vulnerability to the newest version, making sure to update your ports tree before you do so. Last edited by Trihexagonal; November 5th, 2012 at 05:23. |
|
#3
|
|||
|
|||
|
Updating FreeBSD using freebsd-update should not mess up existing userland software when you stay within the same FreeBSD major version (e.g. 9.0 -> 9.1 will be fine, but 8.3 -> 9.0 will require you to rebuild all ports to fix library version bumps).
In case you do need to do extra steps after an upgrade, freebsd-update will tell you about it. With security updates within a release branch a single # freebsd-update fetch install will do the trick (+ a reboot in case /boot/kernel/kernel has been updated).
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 9.0 release - freebsd-update and updating src-all | sigo | Installing & Upgrading | 3 | July 16th, 2012 10:27 |
| stuck in portsnap fetch update | panjiesw | Installation and Maintenance of FreeBSD Ports or Packages | 0 | November 13th, 2011 14:46 |
| FreeBSD update, portsnap, UPDATING all in one | derekschrock | Installing & Upgrading | 3 | August 19th, 2011 00:02 |
| [Solved] Portsnap not updating amule port | Psychokiller | Installation and Maintenance of FreeBSD Ports or Packages | 1 | September 22nd, 2010 13:14 |
| [Solved] FreeBSD 8.1 (amd64) update confusing after portsnap fetch extract | ahavatar | Installation and Maintenance of FreeBSD Ports or Packages | 10 | September 8th, 2010 14:40 |