Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Jul 2010 17:56:28 +0800
From:      Fbsd8 <fbsd8@a1poweruser.com>
To:        Alejandro Imass <ait@p2ee.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Reinstalling a package
Message-ID:  <4C2C664C.8040800@a1poweruser.com>
In-Reply-To: <AANLkTinUz4a_vgR-DyleJU-Z0K3HR7-LhiCXvOYvU-Po@mail.gmail.com>
References:  <662514.74723.qm@web52907.mail.re2.yahoo.com> <AANLkTinUz4a_vgR-DyleJU-Z0K3HR7-LhiCXvOYvU-Po@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alejandro Imass wrote:
> On Thu, Jul 1, 2010 at 2:10 AM, Chris Stankevitz
> <chrisstankevitz@yahoo.com> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C2C664C.8040800>