Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2005 18:55:40 -0800
From:      "Michael C. Shultz" <reso3w83@verizon.net>
To:        Paul Schmehl <pauls@utdallas.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Updated perl - broke stuff
Message-ID:  <200502131855.40636.reso3w83@verizon.net>
In-Reply-To: <2147483647.1108327067@[192.168.2.100]>
References:  <200501271852.j0RIqQ9t010411@mp.cs.niu.edu> <200502131815.21142.reso3w83@verizon.net> <2147483647.1108327067@[192.168.2.100]>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 13 February 2005 06:37 pm, Paul Schmehl wrote:
> --On Sunday, February 13, 2005 6:15 PM -0800 "Michael C. Shultz"
>
> <reso3w83@verizon.net> wrote:
> > Pkgdb -F is what screws up the installed ports registry. Here is an
> > example of what happens:
> >
> > 1. port-A needs dependency port-B installed
> > 2. port-B is installed
> > 3. port-A is installed and marks its registry as being dependent on
> > port-B
> >
> > and here is where things go wrong using sysutils/portupgrade:
> >
> > 4. port-B gets upgraded to port-B.1 and portupgrade reports port-A
> > has a stale dependency.
> >
> >   Then you run pkgdb -F and port-A's registry is changed to say it
> > was built with port-B.1, portupgrade claims this "fixes" the
> > registry when it really breaks it.
> >
> > Remember, port-A was built with port-B, not port-B.1 and the
> > correct way to "fix" the stale dependency is to upgrade port-A so
> > it is built with the newer dependency.
> >
> > sysutils/portmanager also updates ports, put it doesn't cheat. When
> > port-B became port-B.1 portmanager will rebuild port-A using
> > port-B.1 as the dependency.  port-A's registry stays reliable,
> > reflecting how the port was really build instead of how we wished
> > it were built.
>
> Thanks, Mike.  I believe I start reading the man page for
> portmanager.
>
Your welcome

-Mike



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