freebsd-update question

William A. Mahaffey III wam at hiwaay.net
Tue Mar 24 19:43:25 UTC 2015


On 03/24/15 13:23, Paul Smith wrote:
>>> It would appear there is nothing in /usr/src.  These errors would be
>>> expected since that doesn't exist.  You should remove the 'src'
>>> keyword current in the default 'Components src world kernel' line in
>>> /etc/freebsd-update.conf.  That would keep freebsd-update(8) from
>>> trying to maintain source and prevent the errors from happening again.
>>>
>>> Jason
>>>
>> Hmmmmm .... OK, give it a go:
>>
>> [root at kabini1, /etc, 10:33:16pm] 351 % freebsd-update fetch
>> Looking up update.FreeBSD.org mirrors... 5 mirrors found.
>> Fetching metadata signature for 9.3-RELEASE from update6.freebsd.org...
>> done.
>> Fetching metadata index... done.
>> Inspecting system... done.
>> Preparing to download files... done.
>>
>> No updates needed to update system to 9.3-RELEASE-p12.
>>   whew !!!! that took (23.643 cpu + 8.602 sys) sec., 0:32.67 elapsed time
>> tot, 98.6% CPU efficiency
>>          (22 text, 524 data, 6644 max) KB, (0+43) io, 0 pfs + 0 swaps
>> [root at kabini1, /etc, 10:34:02pm] 352 % freebsd-update install
>> No updates are available to install.
>
>
> When you ran freebsd-update fetch you received the response "No
> updates needed to update system to 9.3-RELEASE-p12."  So you are at
> 9.3-RELEASE-p12.  As Jason stated, you probably do not have /usr/src
> on that system which caused the "No such file or directory" errors you
> received but the binary updates must have been installed.
>
> --
> Paul Smith
>

I had /usr/src, but it was empty. I removed 'src' from the 
freebsd-update-conf file & got the above. uname thinks I am still @ p10:

[root at kabini1, /etc, 10:44:24am] 333 % uname -a
FreeBSD kabini1.local 9.3-RELEASE-p10 FreeBSD 9.3-RELEASE-p10 #0: Tue 
Feb 24 21:28:03 UTC 2015 
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
[root at kabini1, /etc, 2:48:47pm] 334 %

base DB out of alignment ?

-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.



More information about the freebsd-questions mailing list