I want to keep a local PKG_CACHE to speed up updates. Without that, when the same package is re-installed after dependency change, the same package has to be downloaded again

Correct me if I'm wrong, but if I use:

pkg_add -s -ui -F update -F updatedepends or
pkg_add -n -ui -F update -F updatedepends

I can get a list of new packages to add to package cache and just set PKG_PATH to that directory.

The man page did not make it clear if I should use -n or -s

Thanks
Chris Bennett

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein

Reply via email to