Subject: Re: 'make replace' broken ?
To: None <adrianp@stindustries.net>
From: Johnny C. Lam <jlam@netbsd.org>
List: tech-pkg
Date: 09/13/2003 18:09:57
On Sat, Sep 13, 2003 at 03:02:45PM +0100, adrianp@stindustries.net wrote:
[snip]
>
> ===> Replacing p5-Digest-MD5-2.27
> ===> Becoming root@xxx to replace p5-Digest-MD5-2.27.
> /usr/bin/su Password:
> *** WARNING - experimental target - data loss may be experienced ***
> Creating binary package: p5-Digest-MD5-2.24
> Creating package
> /usr/pkgsrc/security/p5-Digest-MD5/work/p5-Digest-MD5-2.24.tgz
> Registering depends: perl>=5.0.
> Registering conflicts: p5-MD5-[0-9]*.
> ===> Deinstalling for p5-Digest-MD5-2.27
> Running /usr/sbin/pkg_delete -K /var/db/pkg p5-Digest-MD5-2.24
> pkg_delete: package `p5-Digest-MD5-2.24' is required by other packages:
> spamassassin-2.55nb2
> p5-Net-DNS-0.33
> p5-Digest-HMAC-1.01
> ===> Checking for vulnerabilities in p5-Digest-MD5-2.27
> ===> Installing for p5-Digest-MD5-2.27
> ===> p5-Digest-MD5-2.24 is already installed - perhaps an older version?
> *** If so, you may use either of:
> *** - "pkg_delete p5-Digest-MD5-2.24" and "make reinstall" to upgrade
> properly
> *** - "make update" to rebuild the package and all of its dependencies
> *** - "make replace" to replace only the package without re-linking
> *** dependencies, risking various problems.
> *** Error code 1
When you do this, what are the contents of ${WRKDIR}/.replace?
Thanks,
-- Johnny Lam <jlam@NetBSD.org>