sudo,pkg,Mailman all broken after upgrade from 10.3 to 11.2
William Dudley
wfdudley at gmail.com
Thu Sep 13 19:37:14 UTC 2018
Is there a way to file a bug report against the upgrade instructions to fix
this?
It should say:
run pkg -f upgrade and possibly rebuild all your ports
if pkg fails to run, use:
pkg-static -f install pkg
pkg -f upgrade
Right now, it fails entirely to mention pkg, and it also
doesn't mention that pkg may break and you need to use pkg-static.
Bill Dudley
This email is free of malware because I run Linux.
On Thu, Sep 13, 2018 at 11:33 AM, Matt Smith <matt.xtaz at gmail.com> wrote:
> On Sep 13 09:29, William Dudley wrote:
>
>> replying to my own questions.
>>
>> The upgrade directions didn't state that I had to run pkg-static to
>> upgrade
>> pkg,
>> and then do pkg upgrade. They just said "rebuild ports", of which I have
>> none.
>>
>> So some googling revealed the missing instructions, and I am running pkg
>> upgrade
>> as I write this.
>>
>> Here, so the answers will be found by a search, is the missing
>> documentation:
>>
>> After the final freebsd-update install and reboot, do this:
>>
>> pkg-static -f install pkg
>> pkg upgrade (or possibly "pkg -f upgrade")
>>
>>
> This is the problem. You run freebsd-update three times. The final time
> deletes the old shared libraries and binaries that were on the old system
> and are no longer on the new system.
>
> What you should do is run it twice, then run pkg upgrade to reinstall all
> the packages, and then run it the final time.
>
> The workaround if you do what you did is to use pkg-static instead, so
> it's good that you found this out. But I agree it should be mentioned in
> the upgrade instructions. This happens quite often.
>
> --
> Matt
>
More information about the freebsd-questions
mailing list