Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2012 12:30:21 +0200
From:      Leslie Jensen <leslie@eskk.nu>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: freebsd-update install question
Message-ID:  <4FD9BD3D.2090601@eskk.nu>
In-Reply-To: <4FD9BA6C.70404@infracaninophile.co.uk>
References:  <4FD9B2D3.5020409@eskk.nu> <4FD9BA6C.70404@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help


2012-06-14 12:18, Matthew Seaman skrev:
> On 14/06/2012 10:45, Leslie Jensen wrote:
>> When I do
>>
>> freebsd-update install
>>
>> I get this error:
>>
>> Installing updates...install: ///usr/src/lib/libc/gen/libc_dlopen.c: No
>> such file or directory
>>
>> I think it's because I do not have all sources installed. So I just want
>> to confirm that it's the case.
>
> If you're using freebsd-update then you don't need the libc sources.
> Does no harm to have them around.
>
> Given you're using a custom kernel then you definitely do need the
> kernel sources: that's everything under /usr/src/sys plus a few other
> bits and pieces.
>
>> Also, should I care and install the source needed?
>
> The default setting for freebsd-update is to install the system sources.
>   If you haven't changed /etc/freebsd-update.conf then something odd is
> happening.  Perhaps you manually deleted the contents of /usr/src ?
>
> If you definitely don't want the system sources, then edit
> /etc/freebsd-update.conf and change this section in the obvious way:
>
> # Components of the base system which should be kept updated.
> Components src world kernel
>
> # Example for updating the userland and the kernel source code only:
> # Components src/base src/sys world
>
> ie. comment out the first 'Components' line and uncomment the second.
>
> 	Cheers,
>
> 	Matthew
>


I use the default kernel, on changes whatsoever.

I haven't changed anything. I installed the sources because it was 
needed for VirtualBox, I think. I didn't install all sources only what 
was needed. I've not touched /etc/frebsd-update.conf at all.

Should I install the libc souces?

thanks

/Leslie






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FD9BD3D.2090601>