From owner-freebsd-ports@FreeBSD.ORG Mon Feb 9 16:51:39 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B565E106564A; Mon, 9 Feb 2009 16:51:39 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 45ED98FC18; Mon, 9 Feb 2009 16:51:39 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 2DBBB5E043; Mon, 9 Feb 2009 17:51:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -0.812 X-Spam-Level: X-Spam-Status: No, score=-0.812 tagged_above=-999 required=5 tests=[AWL=1.788, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WGvTgtao8NEt; Mon, 9 Feb 2009 17:51:35 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from blj01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id 3C0E75E231; Mon, 9 Feb 2009 17:51:35 +0100 (CET) Message-ID: <49905F17.1020804@eskk.nu> Date: Mon, 09 Feb 2009 17:51:35 +0100 From: Leslie Jensen User-Agent: Thunderbird 2.0.0.19 (X11/20090127) MIME-Version: 1.0 To: Doug Barton References: <498088F7.5000800@eskk.nu> <790a9fff0901281130l31a35ba9pc4bde54f54ed1fec@mail.gmail.com> <4980D4BE.8050104@eskk.nu> <790a9fff0901291123s12108fcex358a448572d20154@mail.gmail.com> <498B2F54.2000602@eskk.nu> <498CD6DE.60109@FreeBSD.org> In-Reply-To: <498CD6DE.60109@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: yanefbsd@gmail.com, swhetzel@gmail.com, freebsd-ports@FreeBSD.org Subject: Re: Message when updating ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 16:51:40 -0000 Doug Barton skrev: > Leslie Jensen wrote: >> I've obviously got a problem with several of my +CONTENTS files. >> >> I've got help from the list to edit some of the files, but I get a >> feeling that I need to replace the /var/db/pkg/* infrastructure. Can it >> be done and how do I go about it? >> >> Otherwise I'd be glad if someone will give me a suggestion on how I >> should solve the problem below? >> >> : Leaving directory `/usr/ports/devel/gio-fam-backend/work/glib-2.18.4/g >> io/fam' >> ===> Registering installation for gio-fam-backend-2.18.4 >> ===> Cleaning for gio-fam-backend-2.18.4 >> >> ===>>> Updating package dependency entry for each dependent port >> ===>>> devel/dbus-glib is listed as a dependency >> ===>>> but there is no installed version > > As Scot told you a while ago, your /var/db/pkg/* files are corrupt. To > fix this exact problem you need to do 'portmaster devel/dbus-glib' > which will rebuild the port and fix all the +CONTENTS files. > > You should do this for each port that comes up with this problem. You > might also consider using the --check-depends option. > > > hope this helps, > > Doug > OK! Thank you Doug and Scot. Here's what I did: Portmaster --check-depends I deleted all the dependencies that was not ok. After that I reinstalled the ports that had had the wrong dependencies and then I ran Portmaster --check-depends again and everything looked good :-) As Garrett points out, I would also very much like to know how did those entries get in there?? /Leslie