FreeBSD did it again (still)

Matthew Seaman matthew at FreeBSD.org
Thu Jul 6 14:38:34 UTC 2017


On 2017/07/06 14:46, Warren Block wrote:
> On Thu, 6 Jul 2017, Baho Utot wrote:
> 
>> Well FYI the upgrade base 10.1 to 11.0-p10 when as expected. Update
>> the ports to the current quarterly was a tragic happening.  I have
>> done this before upgrade a desktop from 10.3 to 11.0-p0 then to
>> 11.0-p9.  Again the ports just did not work as it resulted in a broken
>> desktop each time.  I started using the quarterly ports branch
>> thinking I get some stablilty.  No stability to be found.  Should I
>> user be able to update without going thru a weeks worth of debugging? 
>> I think that is not too much to ask.
> 
> It might or might not be obvious, but after going from FreeBSD 10 to 11
> all ports must be reinstalled.  It is not possible to upgrade only some
> ports without mysterious breakages.

pkg(8) is actually smart enough to realise that the ABI-version of the
installed packages doesn't match either the ABI-version of the running
kernel[*] or the ABI-version of the repository and it /should/ attempt
to update or reinstall all installed packages to fix that.

Much of the time that will "just work" -- but not always, which is why
the standard advice is still to delete and reinstall all packages on a
major version upgrade.  Working out when and why pkg(8) can fail to do
this correctly and teaching it how to get it right would be a really
useful contribution.

	Cheers,

	Matthew

[*] This can be overridden, so it is possible to run eg. a 10.3 jail on
an 11.0 host and maintain the packages with pkg(8).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 972 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20170706/76dc4ee4/attachment.sig>


More information about the freebsd-questions mailing list