updating on FreeBSD

Lem0nHead

Verified User
Joined
Nov 28, 2004
Messages
265
hello

I searched on forums but didn't find anything very helpful

I'd like to know what's the procedure to update FreeBSD running DA.

I know portupgrade may take care of everything on FreeBSD without
controlpanel... but what for FreeBSD?

that's what I'm thinking:

1) update CVS
2) portsdb -Uu
3) list packages that need to be updated: pkg_version -l '<'
4) do "portupgrade pkg" for all of them except exim, apache and php
(but do for perl and it's "modules", glibc, etc)

is it correct?

thanks
 
Code:
vi /usr/local/etc/pkgtools.cond
HOLD_PKGS = [
   'bsdpan-*',
   'ftp/da_proftpd',
   'mail/da_vm-pop3d',
   'mail/da_exim',
]

portsnap fetch ; portsnap update ; portupgrade -a
 
Last edited:
'bsdpan-*',

Can you explain the above? Does it keep the system from updating Perl?

The only time I have ever had big problems going through the cvsup -> portupgrade process was when portupgrade installed/updated Perl.
 
portsnap is much faster and much more secure then using cvsup to get the ports tree.

If you upgrade Perl through portupgrade you have to make very sure you read /usr/ports/UPDATING. Mostly all to do is running the perl-after-upgrade script.

pkgtools.conf is the file portupgrade uses. You can add build options or in this case the packages it has to skip.

bsdpan-* is standard in the HOLD_PKGS array. The DA packages I added manually.

Cheers.
 
Back
Top