Subject: Re: make update broken?
To: Martin Husemann <martin@duskware.de>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: tech-pkg
Date: 12/14/2002 07:08:55
On Fri, 13 Dec 2002 @ 9:06pm (+0100), Martin Husemann wrote:

MH> What's wrong here?
MH>
MH> (I know how to work around it, but this isn't expected behaviour, right?)
MH>
MH> Martin
MH>
MH> [/usr/pkgsrc/www/apache] root@night-porter # make update
MH> ===> Resuming update for apache-1.3.27nb3
MH> ===> Installing for apache-1.3.27nb3

...it's always done that, at least in the near-recent past.

Normally (spoken: when called from pkg_chk -vu), however it does a
pkg_delete(8) with -r OR -R, which is where things get messy, especially if
the process get's interrupted.

I don't know about you but I prefer the manual intervention here.  Other
packaging systems will try to automate everything for you and cause you
heartburn, headaches, pain, and suffering.

-lava

MH> ===>  apache-1.3.22 is already installed - perhaps an older version?
MH> *** If so, you may wish to ``pkg_delete apache-1.3.22'' and install
MH> *** this package again by ``make reinstall'' to upgrade it properly,
MH> *** or use ``make update'' to upgrade it and all of its dependencies.
MH> *** If you really wish to overwrite the old package of apache-1.3.22
MH> *** without deleting it first, set the variable "FORCE_PKG_REGISTER"
MH> *** in your environment or the "make install" command line.
MH> *** Error code 1
MH>

later -           | _BonaFide[] = { coder, author, | /~\ The ASCII Ribbon
Brian A. Seklecki | problem solver, scholar, BOFH, | \ / Campaign Against
                  | vegetarian, runner, NetBSD     |  X  Exchange, Outlook
                  | advocate, spiritual machine }; | / \ & HTML Email

PGP: 0111 4618 0111 4618 4AB2 24EB C853 6611 75C4 A91E A7A7 4973

"Any sufficiently advanced card game is indistinguishable from magic."