From owner-freebsd-questions@FreeBSD.ORG Thu Jun 14 10:30:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B1C4F106566B for ; Thu, 14 Jun 2012 10:30:30 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3C1718FC08 for ; Thu, 14 Jun 2012 10:30:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 58F345E401; Thu, 14 Jun 2012 12:29:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -1.615 X-Spam-Level: X-Spam-Status: No, score=-1.615 tagged_above=-999 required=5 tests=[AWL=-0.617, BAYES_00=-2.599, RCVD_IN_PBL=0.905, RDNS_DYNAMIC=0.1, SPF_SOFTFAIL=0.596] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0lHcpMrJtidD; Thu, 14 Jun 2012 12:29:19 +0200 (CEST) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-041-102.ekt.thalamus.net [195.216.41.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.bjare.net (Postfix) with ESMTPS id BC3795E318; Thu, 14 Jun 2012 12:29:02 +0200 (CEST) Message-ID: <4FD9BD3D.2090601@eskk.nu> Date: Thu, 14 Jun 2012 12:30:21 +0200 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120610 Thunderbird/13.0 MIME-Version: 1.0 To: Matthew Seaman References: <4FD9B2D3.5020409@eskk.nu> <4FD9BA6C.70404@infracaninophile.co.uk> In-Reply-To: <4FD9BA6C.70404@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: freebsd-update install question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2012 10:30:30 -0000 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