Solved [FreeBSD 12.1] freeb-update throws error

tuxador

Member

Reaction score: 7
Messages: 24

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?
 
OP
tuxador

tuxador

Member

Reaction score: 7
Messages: 24

Thank you Zirias for your quick reply, running the command gives:
Code:
ls: /var/db/freebsd-update: No such file or directory
 

Zirias

Aspiring Daemon

Reaction score: 356
Messages: 826

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
 
OP
tuxador

tuxador

Member

Reaction score: 7
Messages: 24

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!
 
Top