From owner-freebsd-questions@FreeBSD.ORG Fri Jul 24 12:58:38 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 1BC851065673 for ; Fri, 24 Jul 2009 12:58:38 +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 6EF288FC2B for ; Fri, 24 Jul 2009 12:58:37 +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 <20090724125832.CFBL5579.mtaout03-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Fri, 24 Jul 2009 13:58:32 +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 <20090724125832.USMI2093.aamtaout03-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Fri, 24 Jul 2009 13:58:32 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 9EAF266E0; Fri, 24 Jul 2009 13:58:29 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id 128056182 for ; Fri, 24 Jul 2009 13:58:28 +0100 (BST) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Fri, 24 Jul 2009 13:58:28 +0100 From: "Daniel Bye" Date: Fri, 24 Jul 2009 13:58:28 +0100 To: freebsd-questions@freebsd.org Message-ID: <20090724125828.GD51640@torus.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20090724120343.GA74404@aurora.oekb.co.at> <20090724125542.GC51640@torus.slightlystrange.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DiL7RhKs8rK9YGuF" Content-Disposition: inline In-Reply-To: <20090724125542.GC51640@torus.slightlystrange.org> 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=U_EfOmm9gu2TA77HE-MA:9 a=wNYeqTWLXVZa2xPLKI4A:7 a=OTcDigCm-1Kxe3fWo7PslHPIXIkA:4 a=vEJfwckf7fPqxHAIg7gA:9 a=Fwh7hbB27yR1t-dllJuvnIgjHi8A: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:58:38 -0000 --DiL7RhKs8rK9YGuF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ooops! My apologies - it seems that an earlier version of UPDATING did inde= ed say to pkg_delete. Ewald, I'm sorry for sounding so patronising - I feel like a total fool now. ~blush Dan On Fri, Jul 24, 2009 at 01:55:42PM +0100, Daniel Bye wrote: > 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 >=20 > Au contraire, Blackadder. UPDATING says to run either of=20 >=20 > portmaster -r jpeg* >=20 > OR >=20 > portupgrade -fr graphics/jpeg >=20 > It says nothing of pkg_delete. >=20 > > depends on jpeg-* is gone - this involves little wonders like the > > complete gnome2 environment plus e.g. firefox, gimp, > > openoffice.=20 >=20 > pkg_delete -r - recursively delete and all others tha= t=20 > depend on it. >=20 > >=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. >=20 > Yep, because pkg_delete removed their entries from the registry. >=20 > >=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) >=20 > That's going to be the best bet, yes. >=20 > >=20 > > o) Is there a less painful way to upgrade everything that depends on jp= eg-* >=20 > You could try installing prebuilt packages, but they might not all have b= een > updated yet to use the new version of jpeg.=20 >=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.... >=20 > Read the relevant entry again. It mentions nothing about running pkg_dele= te. >=20 > Dan >=20 > --=20 > Daniel Bye > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X > - proprietary attachments in e-mail / \ --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --DiL7RhKs8rK9YGuF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkppr/QACgkQixf5fBYiFmoeVgCcDjv9VpeadSMut1J/Vb2eLsXl +egAn1oEt7BSYWlALiJ6YXPbI5g1ZqXb =ml75 -----END PGP SIGNATURE----- --DiL7RhKs8rK9YGuF--