Home arrow Debugging Tips arrow pkg_info: corrupted record (pkgdep line without argument), ignoring
pkg_info: corrupted record (pkgdep line without argument), ignoring PDF
Monday, 13 February 2012
If you get this error when runing pkg_info after you've rebuilt your ports with portmaster:

  pkg_info: corrupted record (pkgdep line without argument), ignoring

then the ports with problem can be found with this command:

  grep "^@pkgdep" /var/db/pkg/*/+CONTENTS | awk '{ if (NF != 2) { print $1 } }' | cut -d':' -f1

In our case this could be the output of the problem line:

/var/db/pkg/kdeartwork-4.7.4/+CONTENTS

To solve the problem we could run:

  portupgrade -f kdeartwork-4.7.4

Portupgrade is located in FreeBSD's ports here: /usr/ports/ports-mgmt/portupgrade

Thanks to this tip goes to: FreeBSD Diary.

Last Updated ( Monday, 13 February 2012 )
 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?