Could not find package - using ports

RW rwmaillists at
Mon Dec 22 15:51:03 UTC 2008

On Mon, 22 Dec 2008 16:29:18 +0100
Polytropon <freebsd at> wrote:

> On Mon, 22 Dec 2008 10:20:24 -0500, "Glen Barber"
> <glen.j.barber at> wrote:
> > Portupgrade won't install packages -- it'll upgrade your ports using
> > the ports tree.  If you want the latest software, you need to
> > compile using ports.  Packages are built once, when the X.X-RELEASE
> > comes out. Did you read the portupgrade man page?
> That's not entirely true. The portupgrade port installs a program
> called portinstall. According to its manpage, portinstall can
> -a- install from ports (compile), -b- install from packages
> or -c- install from packages only (where it works similar to
> pkg_add).

Portinstall is just an alias for portupgrade -N

The reason that portupgrade -P was not using packages is that, by
default it fetches packages  built against the tree that's on the
install disks, so there wont be any for updated ports.

You can set portupgrade to fetch packages for the 7-stable development
branch (you can google for how to do this). For the most part this will
work, but occasionally there will be library problems. 


More information about the freebsd-questions mailing list