From owner-freebsd-questions@FreeBSD.ORG Fri Jul 24 12:55:52 2009 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 6A827106564A for ; Fri, 24 Jul 2009 12:55:52 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout03-winn.ispmail.ntl.com (mtaout03-winn.ispmail.ntl.com [81.103.221.49]) by mx1.freebsd.org (Postfix) with ESMTP id 390EB8FC19 for ; Fri, 24 Jul 2009 12:55:46 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090724125546.CCOF5579.mtaout03-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Fri, 24 Jul 2009 13:55:46 +0100 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090724125546.URKA2093.aamtaout03-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Fri, 24 Jul 2009 13:55:46 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 730B266E0; Fri, 24 Jul 2009 13:55:43 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id DE6E36182 for ; Fri, 24 Jul 2009 13:55:42 +0100 (BST) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Fri, 24 Jul 2009 13:55:42 +0100 From: "Daniel Bye" Date: Fri, 24 Jul 2009 13:55:42 +0100 To: freebsd-questions@freebsd.org Message-ID: <20090724125542.GC51640@torus.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20090724120343.GA74404@aurora.oekb.co.at> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E/DnYTRukya0zdZ1" Content-Disposition: inline In-Reply-To: <20090724120343.GA74404@aurora.oekb.co.at> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 7.2-STABLE i386 X-Cloudmark-Analysis: v=1.0 c=1 a=7QgYbqNC9vYA:10 a=ehNlctqhnw0A:10 a=ORJALDf0XBjkvpYNH4AA:9 a=MReO97ZSmFK4b4vjR6sA:7 a=hi1PjqHoSuefmpWbMoL6MB2I0oUA:4 a=11WtD5kvRHvqdrlwwmEA:9 a=Qh5MTusy3UTGRNYIVarj6ylAERUA:4 Subject: Re: jpeg-7 - rebuild all dependencies - how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jul 2009 12:55:52 -0000 --E/DnYTRukya0zdZ1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 24, 2009 at 02:03:43PM +0200, Ewald Jenisch wrote: > Hi, >=20 > Updating one of my sytems I followed /usr/ports/UPDATING and did a > "pkg_delete -r jpeg-6b_7" - only to discover that everything that Au contraire, Blackadder. UPDATING says to run either of=20 portmaster -r jpeg* OR portupgrade -fr graphics/jpeg It says nothing of pkg_delete. > depends on jpeg-* is gone - this involves little wonders like the > complete gnome2 environment plus e.g. firefox, gimp, > openoffice.=20 pkg_delete -r - recursively delete and all others that= =20 depend on it. >=20 > What's really bad however is that all information about the > dependencies that were there before is now gone, i.e. the system has > no clue that e.g. gnome2 was installed. Yep, because pkg_delete removed their entries from the registry. >=20 > Fortunately, in my particular case, I did a "pkg_info -Rx jpeg-" prior > to that pkg_delete so at least I have clue as to the state of my ports > that depend on jpeg-* before that pkg_delete. >=20 > So here are my questions: >=20 > o) Do I really have to re-build every port that depends on jpeg-* from > scratch; i.e. "make && make install"ing every port? (i.e. take the > list from pkg_info (see above) and build everything by hand) That's going to be the best bet, yes. >=20 > o) Is there a less painful way to upgrade everything that depends on jpeg= -* You could try installing prebuilt packages, but they might not all have been updated yet to use the new version of jpeg.=20 > PS: To my understanding the information in /usr/ports/UPDATING is a > little misleading without mentioning anything that "pkg_delete" > basically removing all dependencies leaving the system in a state with > the dependent packages deleted having no clue as to what was there > before. Maybe a little hint about this would possibly keep others from > falling into similar traps.... Read the relevant entry again. It mentions nothing about running pkg_delete. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --E/DnYTRukya0zdZ1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkppr04ACgkQixf5fBYiFmpHPgCbByzRKWR7bdzwQlMZHox/Ofbg tY0AoI7hQLlF8O9CDg2V6cZ6ta+tfSrI =cuCV -----END PGP SIGNATURE----- --E/DnYTRukya0zdZ1--