How many use git to update? My surprise was when my installation by internet did not include the ports section. I then read the man and it shows a line to update the port using git but does not say that the user has to cd to the /usr.
This does not really answer your question, but what I do is:
1. delete ports (don't miss the dotfiles. And you may keep /usr/ports/distfiles/)
2. then get a new ports tree with gitup(1)
Since I don't use git (too complex/complicated/strange to use for me/my needs) it was overkill for my sit just for having it only to get (new) ports trees. So I use gitup. It just does the job.
Ok. The git was in the man pages so it was the only help I got. No question, just that it did not say to move to the directory. So I had to re-install FreeBSD15.
Are you using ZFS? If so I think/usr/ports is a dataset, not a simple directory.
git/gitup are used to create a ports source tree and build from the source.
Is that your intention?"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.