Does anyone know how to do this? I just want a one-shot command to "update everything" over the command line? This is for a remote server so it must be over the command line.

I used:

$ sudo pkg list -u

to see the list of packages that are out of date, but I cannot for the life of me figure out how to say, "ok, update them".

I have scoured the web for clues, but to no avail :(

This is classic Sun Solaris-type patching that is the exact reason I am now on Linux.

Please help!! Thanks :)



In case someone else reads this:

sudo pkg image-update

and I guess you will need a glassfish restart after that...!

I actually found the answer here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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