I previously wrote:
>> I upgraded a system from 13.2 to 14.0.
Graham Perrin <
graham...@gmail.com> asked:
> Did you perform the minor update before the major upgrade?
Not sure which minor update you mean:
* 13.2-RELEASE-p5 was running at the time of the update, which
should have been the latest 13.2 available at that time.
[There have been security patches to 13.2 and 14.0 since then,
so it's not the latest 13.2 today.]
* pkg was 1.20.9 before 14.0 and the same after installing 14.0
and running "pkg upgrade -f pkg".
>> As a normal part of a major release upgrade, I do pkg upgrade [-f]
>> after the second install reboot.
>> This time, however, I got:
>> pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
>> Unfortunately,
>> # pkg bootstrap -f
>> got
>> pkg: pkg(7) bootstrapper not found at /usr/sbin/pkg
>> (because, indeed, there is no /usr/sbin/pkg; it probably ought to be
>> /usr/local/sbin/pkg).
>> Reinstalling pkg itself with "pkg upgrade -f pkg" appears to have fixed
>> the [warning message] problem, "pkg bootstrap -f" not needed.
Update: I just checked backups: The file /usr/sbin/pkg did not exist
before the upgrade to 14.0 either, so this is not an issue of the
upgrade to 14.0 deleting it. The issue if the combination of
/usr/local/sbin/pkg issuing that Warning AND /usr/local/sbin/pkg
trying to run /usr/sbin/pkg as part of doing "pkg bootstrap -f".
As I noted, "pkg upgrade -f pkg" worked to silence the warning.
-WBE