(Apologies for the late reply, I was debugging libvirt, so the FreeBSD VM was offline for a while).
Anyway,
synth upgrade-system
didn't work, for some reason
(synth got so confused at one point that on consecutive runs either built some packages, or reported that all is OK.)
So, in the spirit of the old adage 'When in doubt, nuke.', I did just that.
Default configuration,
synth prepare-system
did its thing, all good.
And I think I know why
synth upgrade-system
doesn't reinstall the freshly built packages.
If I am understanding
pkg.conf(5) correctly, because of the
pkg() prefers to use the repository from which the packages were originally installed (upstream FreeBSD, in my case), and since
I am trying to reinstall and not update, it just does what its supposed to do when this option is set.
What I do not understand is how and when is the repository priority evaluated?
Just on the package update (when the package in Synth repo has higher port version/revision number than upstream),
or if the repo has higher priority than the official one, then it is used to update
and reinstall packages, provided it has the package and
all its dependencies)?
(Also, how high does the priority number go?
pkg.conf(5) just says "Higher values are preffered, default is 0.")
So, Synth helpfully built all the packages I needed, now to figure out how to actually install them, preferably without
breaking something
Off-topic: marino@, I very much enjoyed your interview on BSDNow, particularly the story about Ada.
Question, if I may: what does
when
synth prepare-system
is run actually do?
I haven't had the chance to look at the source yet.
I'll stop here with the questions
(I am new to FreeBSD, so naturally I have a
lots of them).