portsnap belated complaint?
RW
rwmaillists at googlemail.com
Fri Aug 21 18:32:51 UTC 2020
On Fri, 21 Aug 2020 11:42:23 -0600
Gary Aitken wrote:
> Can someone explain why the portsnap update below seems to have
> succeeded (patches applied), but then afterwards I get the message
> about needing to run portsnap extract?
>
> 11.3-RELEASE-p6 (upgraded from 10.something some time ago)
> I believe the ports tree was generated when the OS was installed, but
> not sure. I'm also not sure how /usr/ports was upgraded after the OS
> upgrade.
It wont be updated by when updating base.
> # portsnap fetch
This updates the compressed snapshot under /var, not the actual tree.
> Extracting snapshot... done.
...
> /usr/ports was not created by portsnap.
> You must run 'portsnap extract' before running 'portsnap update'.
portsnap has first to write the full tree with a "portsnap extract"
This also writes a hidden data file that identifies file or port
versions under that tree. Once that file is in place you use "update"
instead.
In general it's not a good idea to mix tools on the same tree or adopt
a tree, so I'd delete everything under /usr/ports and run:
portsnap fetch extract
you then subsequently update with
portsnap fetch update
More information about the freebsd-questions
mailing list