Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Feb 2009 17:51:35 +0100
From:      Leslie Jensen <leslie@eskk.nu>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        yanefbsd@gmail.com, swhetzel@gmail.com, freebsd-ports@FreeBSD.org
Subject:   Re: Message when updating ports
Message-ID:  <49905F17.1020804@eskk.nu>
In-Reply-To: <498CD6DE.60109@FreeBSD.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49905F17.1020804>