Reinstalling a package

Glen Barber glen.j.barber at
Thu Jul 1 11:18:32 UTC 2010


On 7/1/10 5:28 AM, Alejandro Imass wrote:
> On Thu, Jul 1, 2010 at 2:10 AM, Chris Stankevitz
> <chrisstankevitz at>  wrote:
>> 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.

If you are going to rebuild libpng and libjpg, you will need to rebuild 
all ports that depend on those libraries, not just the gnome-specific ports.

You might want to have a look at ports-mgmt/portmaster.  Also have a 
look at /usr/ports/UPDATING, entry 20100328 for libpng.


Glen Barber

More information about the freebsd-questions mailing list