Topic: yet another pkgsrc problem

%sudo pkg_add -v
looking up
connecting to


Attempting to record package into /var/db/pkg/zsh-4.2.5nb1..
pkg_add: write_plist: unknown command type -1 (/usr/pkg)

"pkg_add: write_plist: unknown command type -1 (/usr/pkg)" can't be good. Feels like something is wrong.

Also, take a look at this:

digest-20050731     Message digest wrapper utility
pkg_info: read_plist: unknown command '@pkgcfl glibtool-[0-9]*' (package tools out of date?)
pkg_info: read_plist: unknown command '@pkgcfl libtool<=1.3.5nb11' (package tools out of date?)
libtool-base-1.5.18nb6 Generic shared library support script (the script itself)
pkg_info: read_plist: unknown command '@pkgcfl pkgchk-[0-9]*' (package tools out of date?)
pkg_chk-1.62        Check installed package versions against pkgsrc
sudo-1.6.8pl9nb2    Allow others to run commands as root

Why do I get "pkg_info: read_plist: unknown command"?

If it is to any help:

%ls -la /var/db/pkg/
total 32
drwxr-xr-x  6 root  wheel   512 Nov 21 18:08 .
drwxr-xr-x  6 root  wheel   512 Nov 13 23:44 ..
drwxr-xr-x  2 root  wheel   512 Nov 16 01:28 digest-20050731
drwxr-xr-x  2 root  wheel   512 Nov 16 12:44 libtool-base-1.5.18nb6
drwxr-xr-x  2 root  wheel   512 Nov 21 11:03 pkg_chk-1.62
-rw-r--r--  1 root  wheel  8192 Nov 21 11:03 pkgdb.byfile.db
drwxr-xr-x  2 root  wheel   512 Nov 16 12:45 sudo-1.6.8pl9nb2
%pkg_info -P
Package tools revision: 20040629

System is i386/DragonFly 1.3.7-PREVIEW.

Last edited by dentarg (2005-11-21 19:35:20)


Re: yet another pkgsrc problem

A shot in the dark: maybe you're using the original pkg_add from FreeBSD instead of the pkgsrc one?