From owner-freebsd-questions@FreeBSD.ORG Wed Sep 5 20:09:12 2007 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 217F816A41B for ; Wed, 5 Sep 2007 20:09:12 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from smtpclu-3.eunet.yu (smtpclu-3.eunet.yu [194.247.192.228]) by mx1.freebsd.org (Postfix) with ESMTP id A3D0813C46B for ; Wed, 5 Sep 2007 20:09:11 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-223-251.eunet.yu [213.198.223.251]) by smtpclu-3.eunet.yu (8.13.6/8.13.6) with ESMTP id l85K8neO020335; Wed, 5 Sep 2007 22:08:51 +0200 Message-Id: <200709052008.l85K8neO020335@smtpclu-3.eunet.yu> Date: Wed, 5 Sep 2007 22:09:18 +0200 From: Nikola Lecic To: Mel In-Reply-To: <200709052053.24538.fbsd.questions@rachie.is-a-geek.net> References: <46DECE7F.3000909@fid4.com> <200709052053.24538.fbsd.questions@rachie.is-a-geek.net> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_50,UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.0 Cc: freebsd-questions@freebsd.org Subject: Re: /usr/ports & portupgrade when only using packages 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: Wed, 05 Sep 2007 20:09:12 -0000 Mel, On Wed, 5 Sep 2007 20:53:24 +0200 Mel wrote: [...] > You could manage with pkg_add/pkg_delete, but then: > 1) *You* have to find out which packages are eligible for upgrading > 2) Upgrading a package will mean delete the old version before > installing the new one Deleting the old version before installing the new one (obviously!) happens always when you upgrade/downgrade/reinstall something, whatever method you choose (compiling through ports or using packages). If you compile through port, a package will be created on your machine after compile, so the result should be the same (unless you have custom options). > 3) *You* will have to backup libraries manually. Unless you use portupgrade or portmaster, you will have to do a lot of manual job, no matter what method you use. This (and similar) warnings are not specific to use of packages. =20 > (Yes, I realize portupgrade does this) The main strength of portupgrade is that it provides a possibility to mix installations through ports and using packages. If you use -P it will combine them giving a chance to a package first. You can tune this behaviour in pkgtools.conf using USE_PKGS and USE_PKGS_ONLY. If you keep an eye on appereance of newly built packages on FreeBSD servers (sometimes it is announced, e.g. after big Xorg upgrade) you can use -PP more comfortably. Otherwise, some (easily curable) inconsistencies might occur. If you use -PP, make sure you have the correct PKG_SITES variable (pointing to stable dir), or you will fetch very ancient versions. If a machine is slow, it's a good idea to fetch packages first (either with '-P -F' or with '-PP -F') and have a look what will be used in a real install. FYI, > People using reply to all on lists, must think I need 2 copies. People don't need to be subscribed to be able post to FreeBSD lists. Many of them are subscribed to digest versions. That's the reason why Reply-To-All is a convention, and you should do so if you want your answers to reach users you are replying to. Nikola Le=C4=8Di=C4=87