Message when updating ports

Garrett Cooper yanefbsd at gmail.com
Sun Feb 8 15:00:16 PST 2009


On Fri, Feb 6, 2009 at 4:33 PM, Doug Barton <dougb at freebsd.org> wrote:
> 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

Running through --check-depends will solve that issue as you have a
bunch of bad entries in the +CONTENTS files. I'd really like to figure
out how those entries got in there because I encountered the same
issue about 3 weeks ago... at least it's easy (albeit timeconsuming)
to fix ;).
-Garrett


More information about the freebsd-ports mailing list