From owner-freebsd-questions@FreeBSD.ORG Sat Oct 29 17:58:07 2011 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 A7DE1106566B for ; Sat, 29 Oct 2011 17:58:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 5FC8D8FC08 for ; Sat, 29 Oct 2011 17:58:07 +0000 (UTC) Received: from r56.edvax.de (port-92-195-104-16.dynamic.qsc.de [92.195.104.16]) by mx02.qsc.de (Postfix) with ESMTP id 9D72024A79; Sat, 29 Oct 2011 19:58:05 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id p9THw4kq004205; Sat, 29 Oct 2011 19:58:04 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 29 Oct 2011 19:58:04 +0200 From: Polytropon To: Huub van Niekerk Message-Id: <20111029195804.f876fcff.freebsd@edvax.de> In-Reply-To: References: <201110291401.08722.jmc-freebsd2@milibyte.co.uk> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Mike Clarke , freebsd-questions@freebsd.org Subject: Re: update packages by pkg_add X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2011 17:58:07 -0000 On Sat, 29 Oct 2011 17:53:28 +0200, Huub van Niekerk wrote: > Thank you for your answer. But how about if the package-to-be-replaced is a > dependency? Just remember the dependency and do the same ? As you're going to reinstall the package immediately, there won't be a problem. Of course, a depending program won't properly run until you've actually replaced the package in question. For keeping track of dependencies, you can also use portmaster or portupgrade and use -P and -PP options to work with packages (like pkg_add does) instead of compiling from sources. The "pkgdb -aF" command will properly store dependency informations. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...