From owner-freebsd-questions@FreeBSD.ORG Thu Jul 1 09:56:33 2010 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 270351065670 for ; Thu, 1 Jul 2010 09:56:33 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 125978FC08 for ; Thu, 1 Jul 2010 09:56:32 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.216]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 1 Jul 2010 02:56:32 -0700 Message-ID: <4C2C664C.8040800@a1poweruser.com> Date: Thu, 01 Jul 2010 17:56:28 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Alejandro Imass References: <662514.74723.qm@web52907.mail.re2.yahoo.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Jul 2010 09:56:33.0334 (UTC) FILETIME=[AFB01560:01CB1903] X-Sender: fbsd8@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: Reinstalling a package 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: Thu, 01 Jul 2010 09:56:33 -0000 Alejandro Imass wrote: > On Thu, Jul 1, 2010 at 2:10 AM, Chris Stankevitz > wrote: >> http://lists.freebsd.org/pipermail/freebsd-gnome/2010-June/024394.html >> >> In the above post, a FreeBSD GNOME team member recommends "rebuilding and reinstalling sysutils/polkit, sysutils/policykit, and sysutils/consolekit". >> >> Q: How do I "rebuild and reinstall" these applications when they were installed originally via "pkg_add -r gnome2"? >> >> A: "pkg_add -r polkit" [fails with the message "already installed"] > > I have the same problem and asked a while back but got no answer. My > Gnome is partially broken because of a stupid libpng and libjpg > upgrade and I would like to re-install the whole thing from binary. > >> Thank you, >> >> Chris To reinstall a package you must first delete it. Do pkg_info | grep pkgname to get its full name. Then pkg_delete fullpkgname them pkg_add -r pkgname