Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 10:02:03 +0300 (EEST)
From:      Maxim Sobolev <sobomax@FreeBSD.ORG>
To:        lioux@uol.com.br (Mario Sergio Fujikawa Ferreira)
Cc:        mharnois@cpinternet.com (Michael Harnois), alex@varju.bc.ca (Alex Varju), freebsd-ports@FreeBSD.ORG
Subject:   Re: libpng version bump
Message-ID:  <200109130702.f8D72if13870@vega.vega.com>
In-Reply-To: <20010912220822.A20985@exxodus.fedaykin.here> from "Mario Sergio Fujikawa Ferreira" at Sep 12, 2001 10:08:22 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> On Wed, Sep 12, 2001 at 07:40:45PM -0500, Michael Harnois wrote:
> > On Wed, 12 Sep 2001 15:26:14 -0700 (PDT), Alex Varju <alex@varju.bc.ca> said:
> > 
> >     > I have a quick question about policy regarding version bumps for
> >     > shared libraries. I have gotten in the habit of removing old
> >     > versions of ports before installing the new one, and found that
> >     > suddenly a large number of things stopped working with the
> >     > libpng major was incremented.
> > 
> > I second the question. I still haven't located all the dependencies I
> > need to fix. It was a minor disaster.
> 
> 	Well, it took me 3 hours to rebuild. At least, I was aware of
> the problem before I began updating but it would have been nice to
> be able to have used automated portupgrade instead of using my own
> hacked scripts to uninstall/reinstall png related ports.

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.

-Maxim

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?200109130702.f8D72if13870>