Dear FreeBSD Community,
I hope that this is the right forum to ask for. Since portsnap is not supported in FreeBSD 14.0-RELEASE anymore I've decided it's time to switch to
It sometimes occures when I make a
For example I updated my portstree a few days ago arround 01. december and wanted to install
So when I try updating my portstree again with
Another example would be
Unfortunately I can't recreate this behaviour since it randomly appears.
This behaviour, that git doesn't always update my portstree correctly is quite a nuisance and I don't know why it does not update it correctly. With this I often need to delete the entire portstree and download it with git again which, over time, is quite frustrating and tedious to do.
Maybe I miss a special git configuration? What can I do to further debug this?
Thank you in advance!
For your informations:
- I am behind a proxy (that's why I use
- I am a novice when it comes to git. I can do simple pull, push, merge, commit but beyond that I am clueless
- The same problem also appears when using poudriere ports, which should not an intregal part of this thread
I hope that this is the right forum to ask for. Since portsnap is not supported in FreeBSD 14.0-RELEASE anymore I've decided it's time to switch to
git
for updating my port trees across the different servers. I did this a few weeks ago like described in the FreeBSD Handbook (https://docs.freebsd.org/en/books/handbook/ports/#ports-using). But for some unknown reason my portstree sometimes isn't up to date.It sometimes occures when I make a
sudo -E git pull
in /usr/ports
git will update, merge and commit changes, but when I take a look at the Makefile
of a port it sometimes is a minor or major version behind the latest one. I also checked that I'm not using any quarterly branch and instead using the main / latest branch.For example I updated my portstree a few days ago arround 01. december and wanted to install
www/node20
. When I tried to find it in my portstree there wouldn't be an entry with www/node20
, but when I look at the official github release (https://github.com/freebsd/freebsd-ports/tree/main) there is clearly a www/node20
port in the latest (main) branch.So when I try updating my portstree again with
sudo -E git pull
in /usr/ports
nothing happens. No update is downloaded. But when I delete the whole ports/
directory and make a sudo -E git clone https://github.com/freebsd/freebsd-ports/tree/main /usr/ports
in /usr
and then check if the www/node20
port is available it suddenly exists.Another example would be
ftp/wget
. After updating the portstree with git my version in the Makefile
was 1.20.3
although the latest version is 1.21.4
.Unfortunately I can't recreate this behaviour since it randomly appears.
This behaviour, that git doesn't always update my portstree correctly is quite a nuisance and I don't know why it does not update it correctly. With this I often need to delete the entire portstree and download it with git again which, over time, is quite frustrating and tedious to do.
Maybe I miss a special git configuration? What can I do to further debug this?
Thank you in advance!
For your informations:
- I am behind a proxy (that's why I use
-E
in sudo
calls)- I am a novice when it comes to git. I can do simple pull, push, merge, commit but beyond that I am clueless
- The same problem also appears when using poudriere ports, which should not an intregal part of this thread