[FreeBSD] Setting up pkgng - BSD

Users browsing this thread: 1 Guest(s)
yebyen
Registered
(19-10-2012, 07:11 PM)29a Wrote:
(19-10-2012, 03:07 PM)NeoTerra Wrote:
(19-10-2012, 08:55 AM)29a Wrote: I don't have a "pkg" directory under /usr/ports/ports-mgmt/
When I cd /usr/ports/ports-mgmt/pkg
I get an error: "No such file or directory."

I'm using FreeBSD 9 RELEASE

What dumb mistake am I making?

Did you type everything perfectly? Happens to me where I'll type the name of something but forget a hyphen or something silly like that.

Nope... I have no "pkg" subdirectory under "/usr/ports/ports-mgmt/"

then... you haven't updated your local ports tree

portsnap fetch update
or if you've never done it before, more likely
portsnap fetch extract

Since I haven't seen it mentioned already, you're going to have problems with whatever tool you're used to using for compiling and upgrading ports (for me it was portmaster) unless you

cd /usr/ports/ports-mgmt/portmaster
make deinstall clean
make config
make install

and enable the PKGNG patch in the config step.


Messages In This Thread
[FreeBSD] Setting up pkgng - by Amzo - 31-08-2012, 06:49 AM
RE: [FreeBSD] Setting up pkgng - by FreeBSD - 03-09-2012, 10:32 PM
RE: [FreeBSD] Setting up pkgng - by zygotb - 19-10-2012, 08:55 AM
RE: [FreeBSD] Setting up pkgng - by Amzo - 19-10-2012, 10:01 AM