From owner-freebsd-questions@FreeBSD.ORG Sun Sep 12 11:34:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44D4A106566B for ; Sun, 12 Sep 2010 11:34:56 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id C61F58FC1A for ; Sun, 12 Sep 2010 11:34:55 +0000 (UTC) Received: by eyx24 with SMTP id 24so2774741eyx.13 for ; Sun, 12 Sep 2010 04:34:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=wuz0RcBJ2c1veq4d+wORpP4LRPAykiwhT6OC2y8dGg4=; b=XodVjOPaC1n5/pC7j9WcqsxPyV41MmdsexrYM7z39sthjcjD0Q9cfnW8kRlFVyHJmy LWWjFyFDQtTLlQVqC+ewVZImMjztx9rGnWIR5kYTn8i1dBf+vBBTVUJs1c7vpKOwwyLO gJ5yJMriSid0y+GZc6eneLa2cA4U0vrrHpWRk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=imfvOmDlIXHcY3f6+zsSGZyJTiP7ePEOUw99cRztBE2hWWkS6g0hT+ru/b92gQH7Ic CBIM7EjrpfjdBCR988i9wurOubpXfASbELO4bYH9DMDIfWfW7qfVR4Kphak2+reAfxmj nWUAVzxX3+ju6/lj2pBNPa903ShW7UJtZaM/Q= Received: by 10.213.27.68 with SMTP id h4mr901813ebc.98.1284291294744; Sun, 12 Sep 2010 04:34:54 -0700 (PDT) Received: from [172.16.0.4] ([212.156.209.87]) by mx.google.com with ESMTPS id z55sm7309776eeh.3.2010.09.12.04.34.53 (version=SSLv3 cipher=RC4-MD5); Sun, 12 Sep 2010 04:34:53 -0700 (PDT) Message-ID: <4C8CBADC.3070904@gmail.com> Date: Sun, 12 Sep 2010 14:34:52 +0300 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: Michael Powell References: <4C8C0110.20801@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading packages - portupgrade confusion 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: Sun, 12 Sep 2010 11:34:56 -0000 [...] > Have you refreshed the ports tree(s) with csup using the same supfile to > ensure the ports trees are up to date ( and therefore identical)? Since you > are using portugrade, as I do, this is what I do to see what needs to be > done: > > I cd to /usr/sup which is where I keep my supfiles and the housekeeping. > Then using this command sequence will refresh the ports tree, the ports > index database, and ensure the package database is clean and synced. > Portversion then just tells you with a "<" symbol any that are old and in > need of an update. > > csup -L 2 ports&& portsdb -uF&& pkgdb -u&& portversion > > where "ports" above is my supfile for ports refresh and looks like this: > > *default host=cvsup.nl.freebsd.org > *default base=/usr > *default prefix=/usr > *default release=cvs tag=. > *default delete use-rel-suffix compress > ports-all > > Then a portupgrade -a as required. If all symbols in the right column are > "=" everything is up to date and nothing is required. Adjust server location > for mirror near you (or one that works best). > > -Mike > > > > _______________________________________________ > 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" > Thanks alot Mike for the response!! I didn't actually refresh the ports tree so I'm gona have to do that. The thing I don't quite understand though is that if the ports tree gets refreshed, do the packages get upgraded or will I need to rebuild them?? I slightly recall the csup commnad, however I've never actually performed an inplace upgrade of a package in BSD. Only done this kind of thing in Linux - Debian/Ubuntu, CentOS and Solaris - OpenSolaris, Belenix where they have package managers. What's the process for upgrading a package? make reinstall clean?? Many Thanks Kaya