Error when trying to update

Hi

I am new to FreeBSD and recently i I have installed the latest version following the documentation and various articles. Once the installation was finished i I tried to run the command :

freebsd-update fetch install

and got the following error:

Code:
Directory does not exist or is not writable: /var/db/freebsd-update

Since indeed the folder does exist i I assumed that i I needed root privileges to update hence i I run again the command with su as root:

su -m root freebsd-update fetch install

and got the following error:

Code:
freebsd-update: 1: Syntax error: word unexpected (expecting ")")

Any ideas of what the problem is?

Thanks in advance
 
to fetch avaiable security patches for your system:
# freebsd-update fetch
to install it;
# freebsd-update install
and follow instructions afterwards

do not mix fetch and install commands

EDIT: forgive me, Beastie ;]
 
Thanks alot for the quick reply. I was breaking my head down to figure out what was wrong but never thought the the specific "mixed" command from a magazine could be wrong.

Thanks

SOLVED
 
Back
Top