Hi,
Today I wanted to grab patch security, I see that as an upgrade but I have a problem.
I need some help to understand what should I do.
It appears that I do not have the src part. I think I already saw that message once but didn't really catch my attention as today.
On my way to try to fix the problem I did some research and found this:
https://forums.freebsd.org/threads/freebsd-13-0-release-source-not-available.80664/#post-515012
So I did what is described by SirDice which is to delete the src directory:
As expected it was empty, and then I downloaded the src via the git command :
After git grab the src the folder is now about 2G.
But I've got some doubts about what should I do now, do I also need to recompile everything on the system (if so how do I do, a link to the documentation would be nice or a thread in the forum) or it's unnecessary ? I am a bit confused.
Thanks.
Some info:
I use only pkg binaries, no ports are installed ... yet(need some work to understand it better).
Today I wanted to grab patch security, I see that as an upgrade but I have a problem.
I need some help to understand what should I do.
Code:
~ : doas freebsd-update fetch && doas freebsd-update install
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 13.0-RELEASE from update2.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
No updates needed to update system to 13.0-RELEASE-p2.
src component not installed, skipped
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.
It appears that I do not have the src part. I think I already saw that message once but didn't really catch my attention as today.
On my way to try to fix the problem I did some research and found this:
https://forums.freebsd.org/threads/freebsd-13-0-release-source-not-available.80664/#post-515012
So I did what is described by SirDice which is to delete the src directory:
# rm -rf /usr/src/* /usr/src/.[^.]*
As expected it was empty, and then I downloaded the src via the git command :
# git clone -b releng/13.0 https://git.freebsd.org/src.git /usr/src
After git grab the src the folder is now about 2G.
But I've got some doubts about what should I do now, do I also need to recompile everything on the system (if so how do I do, a link to the documentation would be nice or a thread in the forum) or it's unnecessary ? I am a bit confused.
Thanks.
Some info:
I use only pkg binaries, no ports are installed ... yet(need some work to understand it better).
uname -r: 13.0-RELEASE-p1
Filesystem: ZFS