From owner-freebsd-stable@FreeBSD.ORG Mon Jul 6 18:25:15 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2763D106564A for ; Mon, 6 Jul 2009 18:25:15 +0000 (UTC) (envelope-from tkjacobsen@gmail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id A56238FC08 for ; Mon, 6 Jul 2009 18:25:14 +0000 (UTC) (envelope-from tkjacobsen@gmail.com) Received: by fxm18 with SMTP id 18so3712731fxm.43 for ; Mon, 06 Jul 2009 11:25:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=WFZ8Lbwc6Oj8hxCOOJpDfEHyMUvg2M96+lUqePWVmOA=; b=VbFqY19PkA6CLyGCJ4QOF7kPztwbdX2gS2fdbEhUwWAEn8XTUhEHFTDeGpbLfc+9dI ZV6Rw45DLdwBZVbJeCIZ5J2R5ur16eX1adr1PumLsj/51vpyxqcCfDNXKKu06ybJGjmS mwnfdZiySUkqxrjRGIaLI8c0DhvqKWVIJZnhA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=H33fvyVHlQ4AhXT/uoiQYBMEcmsqiAKsRkYOn4IDvpo1M/o1ZPU4HcmT+KNQcOeWi2 wzYkKirkaHdJhj4OTO4tlQaZn7rsOpOQJ3nRuYBon5Syq/I5jbgJHvwQRbsMhKUttgCo qFU6ZTlHRWYIc6c22k25N0a/QsGdB/LWNofuo= Received: by 10.103.160.10 with SMTP id m10mr2757214muo.50.1246902720066; Mon, 06 Jul 2009 10:52:00 -0700 (PDT) Received: from photon.std (84-238-115-154.u.parknet.dk [84.238.115.154]) by mx.google.com with ESMTPS id t10sm35018617muh.30.2009.07.06.10.51.59 (version=SSLv3 cipher=RC4-MD5); Mon, 06 Jul 2009 10:51:59 -0700 (PDT) From: Troels Kofoed Jacobsen To: freebsd-stable@freebsd.org Date: Mon, 6 Jul 2009 19:51:55 +0200 User-Agent: KMail/1.11.4 (FreeBSD/7.2-STABLE; KDE/4.2.4; amd64; ; ) References: <1246899446.2437.227.camel@strangepork.london.mintel.ad> In-Reply-To: <1246899446.2437.227.camel@strangepork.london.mintel.ad> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200907061951.56023.tkjacobsen@gmail.com> Subject: Re: upgrading ports without recompiling X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2009 18:25:15 -0000 On Monday 06 July 2009 18:57:26 Tom Evans wrote: > On Mon, 2009-07-06 at 11:04 -0500, Ishmael F.E. wrote: > > Hi there > > . > > =C2=BFHow can I upgrade my ports without having to recompile everything? > > . > > I allready did > > # freebsd-update -r 7.2-RELEASE upgrade install > > # reboot > > # freebsd-update install > > . > > But it didn'nt upgrade the ports, so I tryed > > # portupgrade -af > > but it tried to compile everything > > . > > I also tried > > # portsnap fetch > > # portsnap extract > > # portsnap fetch update > > # portupgrade -a --batch -u -P > > . > > but it also tried to compile everything > > . > > so, =C2=BFhow can I upgrade the ports? > > unfortunatley I don't have time to compile my 64bit system > > . > > . > > portupgrade will use packages where available with the -P flag, and will > only use packages with the -PP flag. However, since you say it failed to > find packages with -P, falling back to recompiling, then it will > probably fail even more with -PP. > > man portupgrade for more details. > > Cheers > > Tom > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" Have a look at pkg_upgrade from bsdadminscripts (sysutils/bsdadminscripts). =46rom man page: DESCRIPTION The pkg_upgrade script allows the updating, installing and replacing of packages without using a local copy of the ports tree. Instead most required information is listed in an INDEX file that is kept in sync w= ith the package server by uma(1). I found it to be the best solution when still using packages on my laptop. Best regards Troels Kofoed Jacobsen