Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 :)

Jamie

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

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.