From owner-freebsd-newbies@FreeBSD.ORG Tue Jun 3 13:10:20 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88E4037B412 for ; Tue, 3 Jun 2003 13:10:20 -0700 (PDT) Received: from anchor-post-39.mail.demon.net (anchor-post-39.mail.demon.net [194.217.242.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id A93B743F85 for ; Tue, 3 Jun 2003 13:10:19 -0700 (PDT) (envelope-from kevin@caomhin.demon.co.uk) Received: from caomhin.demon.co.uk ([62.49.21.186]) by anchor-post-39.mail.demon.net with esmtp (Exim 3.36 #2) id 19NI6q-0003UK-0U; Tue, 03 Jun 2003 21:10:17 +0100 Message-ID: Date: Tue, 3 Jun 2003 21:10:07 +0100 To: Andrew Robinson From: Kevin Golding References: <200306031216.19062.andrewr@uidaho.edu> In-Reply-To: <200306031216.19062.andrewr@uidaho.edu> MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U cc: freebsd-newbies@freebsd.org Subject: Re: cvsup and portupgrade X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2003 20:10:20 -0000 In article <200306031216.19062.andrewr@uidaho.edu>, Andrew Robinson writes >When I run >portupgrade, it seems to ftp the code to my machine from a remote server. >But, I was under the impression that I was maintaining an up-to-date copy of >the source code via regular use of cvsup and the example code in the >ports-supfile. Can anyone clarify for me? Cvsup updates your ports skeleton. This is the framework you see in /usr/ports which is basically just a pile of information about how to install software on your machine. Portupgrade updates the actual software. Basically it looks at both your ports collection and the software you've previously installed. If you're running an old version of something then portupgrade will update it. When you run portupgrade your machine downloading the actual software for your machine, whereas cvsup is downloading a list of software you can install easily. >What would happen if I ignored >cvsup altogether? You'd end up with a stale ports collection, so when portupgrade looked for updates it would assume you're running the latest versions of everything even though you could be years out of date. In short, don't ignore cvsup. To use portupgrade properly you need an up to date ports collection and cvsup is the simplest and easiest way to get it. Kevin -- kevin@caomhin.demon.co.uk