From owner-freebsd-questions@FreeBSD.ORG Mon May 27 19:11:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EBF6991B for ; Mon, 27 May 2013 19:11:21 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-ea0-x22f.google.com (mail-ea0-x22f.google.com [IPv6:2a00:1450:4013:c01::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 87ECF75C for ; Mon, 27 May 2013 19:11:21 +0000 (UTC) Received: by mail-ea0-f175.google.com with SMTP id h10so3999076eaj.34 for ; Mon, 27 May 2013 12:11:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=G5PhntEBSVPYkCGNQ5zPQvg+NTJfQxrxMeyD1h1wJZg=; b=U6m7VYuIXUdKpcl1iLajzGMwe6n+SVLMH0wex77Y9FH7w6q36Om1YesfMVdyxYnElk ndc6bvrnH7JOE57qbbJjL01XnzjxYD4KpUDh2GJ0nScZQdTtNZKL7IZAY1FVzOZgHLR3 e389OYag/9hXbGb8gOBYj2MrX03Ds4vuuY3/Y75IlMCKTQhuKPkRWdfMjGV9lvzOmR2a 5nk9n9lY1vtWWABGunuTNHtmC/tEhB5kBSHM/F9wZo65B2zyeNflky/rnAWjH0CNiegw rmRdGPBPjCJ01wRFQecMlkeoHWMMOUgdSmkuZVWplfU5jJ0I/XdeSG/F85877gHDBfZb SgaQ== MIME-Version: 1.0 X-Received: by 10.15.24.194 with SMTP id j42mr10993614eeu.93.1369681879671; Mon, 27 May 2013 12:11:19 -0700 (PDT) Received: by 10.14.69.200 with HTTP; Mon, 27 May 2013 12:11:19 -0700 (PDT) In-Reply-To: References: <51A3A2FD.4000304@FreeBSD.org> Date: Mon, 27 May 2013 12:11:19 -0700 Message-ID: Subject: Re: pkg_version says my ports need to be updated? From: Kurt Buff To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 19:11:22 -0000 Read the relevant portions of the handbook Chapter 5: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Chapter 25: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html Then also: man portmaster man freebsd-update On Mon, May 27, 2013 at 11:49 AM, Ed Flecko wrote: > Thank you both! > > Since I want to know the "correct" way (or one of I'm sure many correct > ways) of initially installing the OS and then getting it up to date (and > staying up to date), can you tell me what I did wrong and/or what I might > want to do differently? > > Ed > > > On Mon, May 27, 2013 at 11:16 AM, Matthew Seaman wrote: > >> On 27/05/2013 19:00, Ed Flecko wrote: >> > Clearly, I'm doing something wrong. >> > >> > :-) >> > >> > I thought I was using svn to keep my ports, src and docs up to date, but >> > pkg_version seems to disagree. >> > >> > I'm running 9.1 and I've installed ports, src, and docs as part of my >> > install. After that, I use subversion to (I thought) make sure everything >> > was up to date. >> > >> > I ran these commands: >> > >> > /usr/local/bin/svn up /usr/src >> > >> > /usr/local/bin/svn up /usr/ports >> > >> > /usr/local/bin/svn up /usr/doc >> > >> > and then I ran: >> > >> > >> > pkg_version -vIL = >> > >> > >> > >> > and it says "< needs updating (index has ...) on about 1 dozen items. So >> my >> > "index" is out of sync with my ports??? >> > >> > What did I screw up and how do I correct it? >> >> You seem to have updated the ports tree, which is a collection of >> recipes for how to build ported software, but not actually updated by >> rebuilding any of the ported software that has become out of date. >> >> Try installing ports-mgmt/portmaster and then running >> >> portmaster -a >> >> Cheers, >> >> Matthew >> -- >> Dr Matthew J Seaman MA, D.Phil. >> PGP: http://www.infracaninophile.co.uk/pgpkey >> >> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"