Solved [FreeBSD 12.1] freeb-update throws error

Hi, i have a ivyBridge i5 desktop machine with newly installed FreeBSD
Code:
sudo freebsd-update fetch
Mot de passe?:
src component not installed, skipped
freebsd-update: Directory does not exist or is not writable: /var/db/freebsd-update
this is the output of uname -a
Code:
uname -a
FreeBSD FreeBSD 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-p3 GENERIC  amd64
Am i missing something?
 
Thank you Zirias for your quick reply, running the command gives:
Code:
ls: /var/db/freebsd-update: No such file or directory
 
Well, then you somehow managed to have that removed. Try this (as root):
Code:
mkdir /var/db/freebsd-update
chmod 700 /var/db/freebsd-update
 
This worked, i guess my install media was corrupted, i ran to many issues before i get a working station. Thank you for your help!
 
Back
Top