Date: Mon, 6 Jul 2009 19:51:55 +0200 From: Troels Kofoed Jacobsen <tkjacobsen@gmail.com> To: freebsd-stable@freebsd.org Subject: Re: upgrading ports without recompiling Message-ID: <200907061951.56023.tkjacobsen@gmail.com> In-Reply-To: <1246899446.2437.227.camel@strangepork.london.mintel.ad> References: <ed5c0bbe0907060904m2a93aab7r9b17b8b5529dd8f0@mail.gmail.com> <1246899446.2437.227.camel@strangepork.london.mintel.ad>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907061951.56023.tkjacobsen>