18 Nov
2010
18 Nov
'10
6:15 a.m.
On Wed, Nov 17, 2010 at 10:53 PM, Evangelos Foutras <foutrelis@gmail.com> wrote:
It is true that special cases exist. Unfortunately, I can't think of a way to handle them.
You might need to store a state on the disk. Could be a 'need_upgrade' flag you enable after a refresh operation and disable after a sysupgrade transaction. When flag is enabled, the only sync operation allowed is sysupgrade. Or a timestamp of last sync and last sysupgrade. Alternatively, without a state, you can just check if there are upgrades before installing. Almost like forcing every -S pkg into a -Su pkg. Probably lots of way to handle it, but I don't think any needs to be implemented.