Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 16:11:26 +0900
From:      "Akinori MUSHA" <knu@iDaemons.org>
To:        Maxim Sobolev <sobomax@FreeBSD.ORG>
Cc:        lioux@uol.com.br (Mario Sergio Fujikawa Ferreira), mharnois@cpinternet.com (Michael Harnois), alex@varju.bc.ca (Alex Varju), freebsd-ports@FreeBSD.ORG
Subject:   Re: libpng version bump
Message-ID:  <86wv33r2e9.wl@archon.local.idaemons.org>
In-Reply-To: <200109130702.f8D72if13870@vega.vega.com>
References:  <20010912220822.A20985@exxodus.fedaykin.here> <200109130702.f8D72if13870@vega.vega.com>

next in thread | previous in thread | raw e-mail | index | archive | help
ZAt Thu, 13 Sep 2001 10:02:03 +0300 (EEST),
sobomax wrote:
> Folks, as I said earlier several times, there are some 600 packages that
> depend on png, therefore such massive PORTREVISION bump would be a big
> PITA to perform and would introduce big repo bloat. Therefore, correct
> procedure for dealing with such cases (i.e. version bumps) should be as
> follows:
> 
> 1. Remove old png and all packages that depend on it:
> 
> # pkg_delete `cat /var/db/pkg/png-X.Y/+REQUIRED_BY` && pkg_delete png-X.Y
> 
> 2. Rebuild/reinstall all from scratch.

Or install sysutils/portupgrade and do this:

    pkgdepfix -o		# Fix stale dependencies first of all

    portupgrade png		# Upgrade png but leave png.4

    portupgrade -fr png -x png	# Rebuild & reinstall all the
				# dependents except png itself

    portsclean -L		# Put away png.4 and other old shared
				# libraries

And later, remove no longer needed old shared libraries in
${PREFIX}/lib/compat/pkg manually. (Or leave them if you are not sure)

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"Freeze this moment a little bit longer, make each impression
  a little bit stronger..  Experience slips away -- Time stand still"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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