d18a
![]() |
|
|
|
|
|||||||
| Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
I have just installed FreeBSD production release version 9.0. The first thing I did was to run:
'Portsnap fetch extract update'. I have had problems in the past keeping my system up to date and want to make sure everything works smoothly this time. Is there anything else that I need to do at this stage to keep updated? |
|
#2
|
|||
|
|||
|
The first time you run portsnap(8) (when /usr/ports is empty) the command is
# portsnap fetch extractAfter this you never use extract anymore unless you want to completely overwrite /usr/ports again. The command to update the ports tree from this on is # portsnap fetch updateThat's only the ports tree part of keeping up to date. You have to then decide if you want to use pre-built packages for updates or compile everything yourself using ports. See this post by vermaden for more information: http://forums.freebsd.org/showpost.p...68&postcount=3 |
|
#3
|
|||
|
|||
|
You might want to update your base system also
![]() Code:
man freebsd-update |
|
#4
|
||||
|
||||
|
Quote:
1. Ok, I read the post by vermaden and installed the update tools referred to in it. The system reported that I should run /usr/local/sbin/portaudit -Fda , which I did. I then got the report 'portaudit-0.5.17' has a problem with remote code execution and it is recommended that I update or deinstall it immediately. This is strange as I just installed it. In any case, how to I update this particular binary? 2. The shell script functions that vermaden provides ie. function ports-check, ports-update and ports-build all go in the shell startup profile. Does this mean that they will be run each and every time I start my computer? If so, this might not be a suitable method for me as I tend to start and turn off my laptop several times a day. Is this advice geared more towards a server system that does not reboot frequently? |
|
#5
|
|||
|
|||
|
1. Your ports-mgmt/portaudit is too old, update it first by doing
# cd /usr/ports/ports-mgmt/portaudit# make install cleanIt's a good idea to set PACKAGESITE environment variable in your shell init file to this value if you plan on using pre-built packages: Code:
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest/ 2. The shell functions are defined for use, not run automatically. You don't have to follow vermaden's guide to the letter, it should give you a rough outline what should be run and in which order to update installed ports/packages. |
| The Following User Says Thank You to kpa For This Useful Post: | ||
neilms (August 4th, 2012) | ||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Portsnap fetch update not working | JoeyKrizzal | Installation and Maintenance of FreeBSD Ports or Packages | 5 | February 16th, 2011 16:24 |
| [Solved] portsnap fetch extract | jesse | Installation and Maintenance of FreeBSD Ports or Packages | 3 | October 26th, 2010 00:40 |
| [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 |
| FreeBSD-8 and #portsnap fetch extract | tekinerdem | Installation and Maintenance of FreeBSD Ports or Packages | 8 | May 6th, 2010 23:13 |
| [Solved] portsnap fetch extract | jus71n742 | Installation and Maintenance of FreeBSD Ports or Packages | 5 | March 1st, 2010 21:30 |