Port upgrade: dead in the water

Greg 'groggy' Lehey grog at FreeBSD.org
Sat Jan 16 04:28:12 UTC 2021


On Friday, 15 January 2021 at 22:16:44 -0600, Kyle Evans wrote:
> On Fri, Jan 15, 2021 at 10:00 PM Greg 'groggy' Lehey <grog at freebsd.org> wrote:
>>
>> After years I have finally got round to upgrading my main computer.
>> My intention is to upgrade the ports as well, but pkg doesn't want to
>> play nice:
>>
>>   # pkg-static install -f pkg
>>   pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
>>  ...
>> I'm happy to blow everything away, but is there a way to extract
>> something that pkg can use to determine which packages to install?
>
> `pkg bootstrap -f` should recover pkg to something usable

Thanks.  That seems to help.

Greg
--
Sent from my desktop computer.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20210116/76e55e07/attachment.sig>


More information about the freebsd-ports mailing list