Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to update one of packages that I installed earlier but I'm running into this error:

# portupgrade -PP wget
Packages are not yet suported. Use pkg(8) directly.

# uname -a
FreeBSD 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:14:23 UTC 2013  amd64

# portupgrade --help
-p, --package            Build package when each port is installed
-P, --use-packages       Use packages instead of ports whenever available;
                         Specified twice, --use-packages-only is implied
    --use-packages-only  Or -PP; Use no ports but packages only

I can't figure out what I'm doing wrong. How can I have portupgrade to NOT switch to pkgng/pkg(8)?

share|improve this question

I would think the error message is pretty self explanatory:

Packages are not yet suported.

. . . therefore you must . . .

Use pkg(8) directly.

or alternatively don't specify -PP and upgrade wget via the port instead of trying to use the package...

share|improve this answer
sorry, not so clear to me. I DO want to use packages (over /usr/ports) and I'm looking for a way to update them, after some Google-ing this subject i found to use portupgrade -PP or portmaster. – alexus Aug 21 '13 at 22:27
@alexus The error message is telling you "This tool doesn't do that (yet)". – voretaq7 Aug 22 '13 at 15:21
portupgrade is switching to pkgng, and pkg(8) suggests that feature isn't supported, yet portupgrade itself works w/ packages (see output) – alexus Aug 22 '13 at 17:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.