Page 1 of 1
ports git pull message
Posted: Thu Jun 24, 2021 12:58 am
by nevets
Hi.
I get this message when updating ports tree...
What does this mean please....
Steve
Re: ports git pull message
Posted: Thu Jun 24, 2021 6:51 am
by ericbsd
I rename the master branch to main like FreeBSD ports repository.
You should install ports with pkg, and the something is you need src.
Code: Select all
sudo pkg install ports
sudo pkg install src
Re: ports git pull message
Posted: Thu Jun 24, 2021 9:46 am
by nevets
Thanks Eric,
I installed both 'ports' and 'src' packages - but got the same error message when I tried to update the ports with 'git pull'...
POST git-upload-pack (144 bytes)
From
https://github.com/ghostbsd/ghostbsd-ports
= [up to date] main -> origin/main
Your configuration specifies to merge with the ref 'refs/heads/master'
from the remote, but no such ref was fetched.
Is there a command [when in the ports directory /usr/ports/ghostbsd-ports] to run that updates the new branch name?
Or perhaps a configuration file to amend in the root of the ports tree?
There's a file called 'update-branch-os.sh' that references the old trueos master...?
Thanks
Re: ports git pull message
Posted: Thu Jun 24, 2021 10:32 am
by ericbsd
why not just use ports from packages, it will be updated when a new ports tree package comes.
The git repo is for developers and the ports package is compatible with the installed packages, not the git repos.
The ports package installs ports tree in /usr/ports.
Also to fix your issue with git repos you need to move your HEAD master branch to main or reclone the repos.