Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 2008 13:29:33 +0100
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: updating a port with problems (libxml2)
Message-ID:  <20081017132933.1fe0bc9f@gumby.homeunix.com.>
In-Reply-To: <20028504.post@talk.nabble.com>
References:  <20028504.post@talk.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 Oct 2008 01:01:09 -0700 (PDT)
Colin Brace <cb@lim.nl> wrote:


> $ cd /usr/ports/textproc/libxml2
> $ sudo make deinstall
> $ sudo make reinstall clean
> ...
> It would appear that the port has not yet been updated. Is this some
> temporary glitch? Otherwise, the approach I use is not very robust,
> since I have now managed to deinstall a library upon which a dozen or
> so programs depend.

portupgrade builds before deinstalling, and creates a backup
package in case the port builds but fails to install.

BTW you don't need reinstall in the above case, it's only needed if you
want to install twice without using the deinstall or clean
targets in between.

e.g. 

make install 
pkg_delete <package name of current port>
make reinstall




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