portupgrade with ro /usr/ports ?

Stijn Hoop stijn at win.tue.nl
Wed May 21 00:28:03 PDT 2003

On Tue, May 20, 2003 at 11:19:43PM -0600, BSD wrote:
> I'm trying to use portupgrade (arg -ausvyD) to upgrade my installed
> ports. However, since I am nfs mounting /usr/ports from another FreeBSD
> machine readonly, and with WRKDIRPREFIX=/usr/portswork and
> DISTDIR=/usr/portsdist set in /etc/make.conf, portupgrade doesn't seem
> to like that.
> Is it possible to get portupgrade to work with a ro /usr/ports? If so,
> how?

You need to set PORTS_INDEX and PORTS_DBDIR in /usr/local/etc/pkgtools.conf
to e.g. /var/db. There are comments in the top of that file.



In the force if Yoda's so strong, construct a sentence with words in
the proper order then why can't he?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030521/50be1e67/attachment.bin

More information about the freebsd-questions mailing list