Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2018 17:52:51 -0400
From:      William Dudley <wfdudley@gmail.com>
To:        Jim Ohlstein <jim@mailman-hosting.com>,  freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: sudo,pkg,Mailman all broken after upgrade from 10.3 to 11.2
Message-ID:  <CAFsnNZ+eh4vvcZCd_Y1yzE3fdPjbZT8ugRR7V5bDSOW8r4Mibg@mail.gmail.com>
In-Reply-To: <1ad541c0eb960ab8bf970f8461fef4fb@mailman-hosting.com>
References:  <CAFsnNZ+KM=D5TcyVXrHNPo53GDbkrdc8cFL9uxNGEBFzpQk18g@mail.gmail.com> <CAFsnNZL5xNDBNT=HdR5TOFyzaj+9MKr=K1CCWv2aCKKT8U=9OA@mail.gmail.com> <20180913153344.GA50367@gmail.com> <1ad541c0eb960ab8bf970f8461fef4fb@mailman-hosting.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Yes, it does.

I read this:

https://www.freebsd.org/releases/11.2R/installation.html

which doesn't tell the whole story, or else it should say
"make sure you read the page in the handbook".

I think it should.

Bill Dudley


This email is free of malware because I run Linux.

On Thu, Sep 13, 2018 at 5:29 PM, <jim@mailman-hosting.com> wrote:

> On 2018-09-13 11:33, Matt Smith 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.
>>
>
> This is in the handbook at https://www.freebsd.org/doc/ha
> ndbook/updating-upgrading-freebsdupdate.html in 23.2.3.2. "Upgrading
> Packages After a Major Version Upgrade".
>



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAFsnNZ+eh4vvcZCd_Y1yzE3fdPjbZT8ugRR7V5bDSOW8r4Mibg>