Solved freebsd-update fetch error

Hello,

I have a curious error/warning in my update / install:

Code:
root@cube-box:~ # freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 5 mirrors found.
Fetching metadata signature for 10.0-RELEASE from update6.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 10.0-RELEASE-p11:
/usr/src/contrib/tzdata/zone1970.tab

Code:
root@cube-box:~ # freebsd-update install
Installing updates...install: ///usr/src/contrib/tzdata/zone1970.tab: No such file or directory
done.

Same "problems" on two hosts, same version.
 
mkdir -p /usr/src/contrib/tzdata/

Thank you, this fixed the problem.

ShelLuser, absolutely nothing.

Yet another strange thing:

Code:
root@cube-box:~ # freebsd-version
10.0-RELEASE-p11

Code:
root@cube-box:~ # uname -a
FreeBSD cube-box 10.0-RELEASE-p10 FreeBSD 10.0-RELEASE-p10 #0: Mon Oct 20 12:42:25 UTC 2014  root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

Code:
root@cube-box:~ # uptime
5:11PM  up 8 mins, 1 user, load averages: 0.43, 0.31, 0.19

Fresh reboot after updating.
 
Ok, another thing which can prevent this from happening in the future. As wblock@ SirDice noticed you didn't have a particular directory available. And unless you're planning on actually doing something with the FreeBSD source code there isn't much real need to keep /usr/src around (note: this does depend on what you're doing with your system, some port builds may actually require it).

So you could consider editing /etc/freebsd-update.conf and change the Components option. For example, you could chose to only let it update world and kernel by removing src.

That would allow you to remove /usr/src without freebsd-update giving you any future trouble.

PS: First time since I confused people on this forum, guess there's a first time for everything.
 
So you could consider editing /etc/freebsd-update.conf and change the Components option. For example, you could chose to only let it update world and kernel by removing src.

That would allow you to remove /usr/src without freebsd-update giving you any future trouble.

Thanks for posting this!

I have no plans to ever mess with the source - and this not only solves the current issue, but future proofs it as well.
 
Ok, another thing which can prevent this from happening in the future. As wblock@ SirDice noticed you didn't have a particular directory available. And unless you're planning on actually doing something with the FreeBSD source code there isn't much real need to keep /usr/src around (note: this does depend on what you're doing with your system, some port builds may actually require it).

So you could consider editing /etc/freebsd-update.conf and change the Components option. For example, you could chose to only let it update world and kernel by removing src.

That would allow you to remove /usr/src without freebsd-update giving you any future trouble.

PS: First time since I confused people on this forum, guess there's a first time for everything.

Thanks for that. I won't be encountering errors like this again.
 
Back
Top