Re: Find a corrupt port

2011-02-27 Thread Michel Talon
Doug Barton wrote: > The problem with this is that dependencies are actually recorded as a > pair. For example: > > @pkgdep pkg-config-0.25_1 > @comment DEPORIGIN:devel/pkg-config > > Someone else already was kind enough to mention 'portmaster > --check-depends' which will prompt you to do t

Re: Find a corrupt port

2011-02-26 Thread Doug Barton
On 02/26/2011 08:34, Sergio de Almeida Lenzi wrote: I use this script to get rid of the problem the script detects @pkgdep record without argument and deletes it from the +CONTENTS file in the /var/db/pkg/* directory === for i in /var/db/pkg/*/+CONTENTS do

Re: Find a corrupt port

2011-02-26 Thread jhell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Transfer-Encoding: QUOTED-PRINTABLE These are all very good suggestions but a simpler solution that someone dearly known as Doug Barton (dougb@) has already put a lot of work into. So instead of hacking it up and throwing a bunch of script

Re: Find a corrupt port

2011-02-26 Thread David Demelier
On 26/02/2011 17:34, Sergio de Almeida Lenzi wrote: I use this script to get rid of the problem the script detects @pkgdep record without argument and deletes it from the +CONTENTS file in the /var/db/pkg/* directory === for i in /var/db/pkg/*/+CONTENTS do

Re: Find a corrupt port

2011-02-26 Thread Sergio de Almeida Lenzi
I use this script to get rid of the problem the script detects @pkgdep record without argument and deletes it from the +CONTENTS file in the /var/db/pkg/* directory === for i in /var/db/pkg/*/+CONTENTS do if grep -q "@pkgdep $" $i then

Re: Find a corrupt port

2011-02-26 Thread Peter Pentchev
On Sat, Feb 26, 2011 at 03:22:28PM +0100, David Demelier wrote: > Hello, > > It seems I have a corrupted port on my system : > > $ pkg_info > [...] > dmxproto-2.3DMX extension headers > pkg_info: corrupted record (pkgdep line without argument), ignoring > pkg_info: corrupted record (pkgde