Dear forum,
What I would like to achieve:
Allow a non-root user to see if there are upgradable packages (without using sudo) on a remote repository. Of course, the actual upgrade would need root.
From my point of view:
Checking local version numbers against remote version numbers should not require a write to a local file, these should be simple read operations.
pkg version -U says "Suppress the automatic update of the local copy of the repository catalogue from remote." sounds like exactly like what I want, especially when this is implied when running as non-root.
What I get:
pkg version -RU needs a previous pkg update by root to show upgradeables ("<"), otherwise it will only show an old status.
Does pkg version really need to write a local file first before it can compare remote versions?
Am I just missing another parameter, or is there really no way to achieve this?
Thanks a lot
Simon
What I would like to achieve:
Allow a non-root user to see if there are upgradable packages (without using sudo) on a remote repository. Of course, the actual upgrade would need root.
From my point of view:
Checking local version numbers against remote version numbers should not require a write to a local file, these should be simple read operations.
pkg version -U says "Suppress the automatic update of the local copy of the repository catalogue from remote." sounds like exactly like what I want, especially when this is implied when running as non-root.
What I get:
pkg version -RU needs a previous pkg update by root to show upgradeables ("<"), otherwise it will only show an old status.
Does pkg version really need to write a local file first before it can compare remote versions?
Am I just missing another parameter, or is there really no way to achieve this?
Thanks a lot
Simon