Search This Blog

Monday, April 29, 2013

freebsd-update error

Freebsd-update error:


root@FreeBSD:/ # freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 9.1-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

The following files will be added as part of updating to 9.1-RELEASE-p2:
/usr/src/crypto/openssl/ssl/s3_cbc.c



root@FreeBSD:/ # freebsd-update install
Installing updates...install: ///usr/src/crypto/openssl/ssl/s3_cbc.c: No such file or directory
 done.

to solve it, just create that missing folder - mkdir -p /usr/src/crypto/openssl/ssl

This happens if you did not install sources tree.

1 comment:

Lic. Matias Colli said...

Hi, there are two workarounds:

1.Disable updating /usr/src: setting the /etc/freebsd-update.conf configuration file excluding src from Components line.

2. Create manually a missing directory: # mkdir -p /usr/src/crypto/openssl/ssl.

Matias Colli
UNIX SysAdmin