From owner-freebsd-questions@FreeBSD.ORG Fri Jul 24 12:53:03 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 8CEB6106566B for ; Fri, 24 Jul 2009 12:53:03 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 4988B8FC27 for ; Fri, 24 Jul 2009 12:53:03 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1MUKGh-0005j7-2O; Fri, 24 Jul 2009 13:53:02 +0100 Received: from mech-cluster238.men.bris.ac.uk ([137.222.187.238]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1MUKGf-0002rL-T8; Fri, 24 Jul 2009 13:52:58 +0100 Received: from mech-cluster238.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-cluster238.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id n6OCqvvf035089; Fri, 24 Jul 2009 13:52:57 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster238.men.bris.ac.uk (8.14.3/8.14.3/Submit) id n6OCquYv035088; Fri, 24 Jul 2009 13:52:56 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster238.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 24 Jul 2009 13:52:56 +0100 From: Anton Shterenlikht To: Ewald Jenisch Message-ID: <20090724125256.GA35045@mech-cluster238.men.bris.ac.uk> References: <20090724120343.GA74404@aurora.oekb.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090724120343.GA74404@aurora.oekb.co.at> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -3.2 X-Spam-Level: --- Cc: freebsd-questions@freebsd.org Subject: Re: jpeg-7 - rebuild all dependencies - how? 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: Fri, 24 Jul 2009 12:53:03 -0000 On Fri, Jul 24, 2009 at 02:03:43PM +0200, Ewald Jenisch wrote: > Hi, > > 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 > depends on jpeg-* is gone - this involves little wonders like the > complete gnome2 environment plus e.g. firefox, gimp, > openoffice. > > 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. > > 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. > > So here are my questions: > > 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) > > o) Is there a less painful way to upgrade everything that depends on jpeg-* try portmaster -r jpeg > 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.... yes, this wasn't the best advice -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423