bsd10 said:I don't need to update to the most recent version of the ports tree. I'm just interested in making sure I get security updates.
phoenix said:I believe you are looking for sysutils/bsdadminscripts which includes the handy pkg_upgrade tool. No need for /usr/ports to even exist on your system, as it uses only binary packages.
Alternatively, you can use ports-mgmt/portmaster with the --index-only and --packages-only switches. This does a binary packages only upgrade, and does not need /usr/ports installed.
bsd10 said:Is there a better url to set PACKAGESITE to? The stock portmaster finds packages that are older than ports I have already installed.
DutchDaemon said:If you're on FreeBSD 8, one of these will work fine:
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest/
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8-stable/Latest/
[/usr/ports/databases/postgresql84-server] # grep -i brok Makefile
BROKEN= "You must remove heimdal's /usr/bin/krb5-config and /usr/lib/libkrb5.so*, and set NO_KERBEROS=true in /etc/make.conf to
build successfully with MIT-KRB"
BROKEN= incomplete plist
phoenix said:Alternatively, you can use ports-mgmt/portmaster with the --index-only and --packages-only switches. This does a binary packages only upgrade, and does not need /usr/ports installed.
"/usr/share/mk/bsd.port.mk", line 11: Could not find /usr/ports/Mk/bsd.port.mk
make: fatal errors encountered -- cannot continue
===>>> The value of PORTSDIR cannot be empty
===>>> Aborting update
hansivers said:Thanks for this helpful advice.
I've installed portmaster (pkg_add -r portmaster) on a 7.3 RELEASE server where no port tree has ever been installed. But when I start it (portmaster --index-only --packages-only OR portmaster -L), I got this error message :
Code:"/usr/share/mk/bsd.port.mk", line 11: Could not find /usr/ports/Mk/bsd.port.mk make: fatal errors encountered -- cannot continue ===>>> The value of PORTSDIR cannot be empty ===>>> Aborting update