From owner-freebsd-questions@FreeBSD.ORG Mon Jul 3 17:26:38 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BC5016A407 for ; Mon, 3 Jul 2006 17:26:38 +0000 (UTC) (envelope-from freebsd.ph@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32F3745500 for ; Mon, 3 Jul 2006 17:26:32 +0000 (GMT) (envelope-from freebsd.ph@gmail.com) Received: by wr-out-0506.google.com with SMTP id 36so647244wra for ; Mon, 03 Jul 2006 10:26:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=dlHrHIpRc+doiKAs/OxXauuNnZwVlmfBep5Wt9EbuV30TafpTAzSWgjL8yRBoCGplK/LAi/UL7F28sv7j2/+nRLOnlB6CWLPnK3jbFHl0CW3Gz7Jn2Vq4HQQWiiaS9E/P5KGPdPlBCoUlc1xZ2M4/rUMQVVmuaeWnf8QAOcNYAc= Received: by 10.54.62.8 with SMTP id k8mr717293wra; Mon, 03 Jul 2006 10:26:30 -0700 (PDT) Received: by 10.54.122.11 with HTTP; Mon, 3 Jul 2006 10:26:30 -0700 (PDT) Message-ID: Date: Tue, 4 Jul 2006 01:26:30 +0800 From: "jan gestre" To: "Kent Stewart" In-Reply-To: MIME-Version: 1.0 References: <20060702183123.GC12262@tigger.digitaltorque.ca> <20060702183358.GD12262@tigger.digitaltorque.ca> <80f4f2b20607021423h3de5f063raf7ea0f2843c3399@mail.gmail.com> <200607021450.10112.kstewart@owt.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Jim Stapleton , freebsd-questions@freebsd.org Subject: Re: cannot upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jul 2006 17:26:38 -0000 On 7/4/06, jan gestre wrote: > > > > On 7/3/06, Kent Stewart wrote: > > > > On Sunday 02 July 2006 14:23, Jim Stapleton wrote: > > > I would guess that means the file was corrupted somehow, though I > > > don't know how. > > > > > > At any rate, I don't know how to fix that, and not loose the stored > > > information. > > > > You "pkgdb -fu" and it recreates the database. You will also probably > > find that you need to recreate your INDEX[-*].db. After that, > > everything works just fine. All I did is run pkg-version and it rebuilt > > the INDEX.db. > > > i 'm having this same problem :( tried everything that is mentioned in > here but to no avail. i even tried make deinstall and make reinstall and it > didnt work, pkg_delete wont work coz it cant find portupgrade. pls help > > i fixed the problem, i saw a solution in one of the threads and it is now ok. here is what i did: # cd /var/db/pkg/ # mv pkgdb.db pkgdb.db.orig # pkgdb -fu everything went back to normal, portupgrade port was the problem as stated by the maintainer.