From owner-freebsd-stable@FreeBSD.ORG Tue Jul 28 07:23:13 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ED2E106564A for ; Tue, 28 Jul 2009 07:23:13 +0000 (UTC) (envelope-from v.haisman@sh.cvut.cz) Received: from service2.sh.cvut.cz (unknown [IPv6:2001:718:2:0:217:a4ff:fe3f:b3d5]) by mx1.freebsd.org (Postfix) with ESMTP id B6D748FC08 for ; Tue, 28 Jul 2009 07:23:12 +0000 (UTC) (envelope-from v.haisman@sh.cvut.cz) Received: from localhost (localhost [127.0.0.1]) by service2.sh.cvut.cz (Postfix) with ESMTP id ADD63137A0A; Tue, 28 Jul 2009 09:23:11 +0200 (CEST) Received: from service2.sh.cvut.cz ([127.0.0.1]) by localhost (service2.sh.cvut.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10241-03; Tue, 28 Jul 2009 09:23:04 +0200 (CEST) Received: from [192.168.111.233] (eccam.com [82.113.60.26]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by service2.sh.cvut.cz (Postfix) with ESMTP id 75A26137A03; Tue, 28 Jul 2009 09:23:04 +0200 (CEST) Message-ID: <4A6EA757.8060600@sh.cvut.cz> Date: Tue, 28 Jul 2009 09:23:03 +0200 From: =?ISO-8859-1?Q?V=E1clav_Haisman?= User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Andrew Reilly References: <20090726222403.GA19875@duncan.reilly.home> <20090728001238.GA97218@duncan.reilly.home> In-Reply-To: <20090728001238.GA97218@duncan.reilly.home> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at service2.sh.cvut.cz X-Spam-Status: No, hits=0.0 tagged_above=-255.0 required=5.0 tests=AWL, CRM114_HAM_00, JR_RCVD_TOO_FEW_HOPS X-Spam-Level: Cc: freebsd-stable@freebsd.org Subject: Re: Weird portmaster behaviour -- everything fails to install X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2009 07:23:13 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Andrew Reilly wrote: > Problem solved! > > In case anyone is interested, or has encountered a similar > problem, I believe that my problem was that somehow my > /var/db/pkg directory had a whole pile of near-duplicate entries > corresponding to port revisions. Portmaster was checking the > installed version against the MD5 hashes in the "old" version > +CONTENTS file, and they weren't matching. I assume that I > acquired all of these out-of-date pkg entries through a backup > restore mishap: I've been having gmirror issues lately (not > gmirror's fault, I think -- just a series of dodgy hard drives.) > > All is good again. No duplicate db/pkg entries at last, and > portmaster runs to completion as intended. How have you managed to fix the duplicate entries? Can pkgdb -Ffu or such fix that? - -- VH -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkpup1cACgkQjksRtmO2spePJQCeNiTwzOsDRpPhYpHX0ARHy4+T wekAnjeNFuaXfQwOqrD6eS3YXLJKO6ma =zyfE -----END PGP SIGNATURE-----