tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Update Problem



On Wed, Apr 14, 2010 at 03:00:02PM +0200, Joerg Sonnenberger wrote:
> On Wed, Apr 14, 2010 at 08:16:23AM -0400, Greg Troxel wrote:
> > All true, but another workaround is "rm -rf 
> > /var/db/pkg/bootstrap-mk-files*".
> 
> That's just breaking the pkgdb. Please do not recomment operations that
> destroy the parts of the package database when there are perfectly valid
> and working solutions. As written already, "USE_DESTDIR=yes make replace"
> works correctly.

Well, there are a number of issues here.

The move to make the pkg database an integral part of the packaging
mechanism was flawed, in my opinion, since it has shown itself to be
brittle in the past, can be difficult to bootstrap, and is not
absolutely essential in the whole scheme of things.  It also
serialises any package management, like addition or deletion. In general,
our whole package management mechanism needs a complete overhaul, and I
aim to do exactly that over the next few months.

''make replace'' should only be used in the absence of shlib major
bumps - a major bump will render you binaries that will not work -
since the packaging tools have been modified to use libfetch (sigh)
and libarchive, that is now a consideration.

However, these topics are more relevant for tech-pkg, not
pkgsrc-users.  For those of us who use reply-to-list (which some find
intensely annoying as well), please followup accordingly.

Regards,
Alistair


Home | Main Index | Thread Index | Old Index