Date: Fri, 17 Mar 2006 16:38:50 -0500 From: Frank Laszlo <laszlof@vonostingroup.com> To: FreeBSD Ports <ports@FreeBSD.ORG> Subject: Re: why do I need to run pkg_glob as root? Message-ID: <441B2C6A.70703@vonostingroup.com> In-Reply-To: <20060317205825.GC75135@iib.unsam.edu.ar> References: <20060317205825.GC75135@iib.unsam.edu.ar>
next in thread | previous in thread | raw e-mail | index | archive | help
Fernan Aguero wrote: > [fernan@omega] pkg_glob -R x11-toolkits/gtkmm24 > ** You do not own /var/db/pkg. (use -f to force or run as root) > Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ > > Of course I do not own /var/db/pkg ... but I can read it! > > [fernan@omega] ls -ld /var/db/pkg > drwxr-xr-x 483 root wheel 13824 Mar 17 17:52 /var/db/pkg > > I can even get a list of required packages for gtkmm24 just > by doing something like: > grep pkgdep /var/db/pkg/gtkmm-2.8.3_2/+CONTENTS | awk '{print $2}' > > so why can't pkg_glob? > > Fernan > > Hello Fernan, pkg_glob calls `pkgdb -aFQ` which requires 'write' access to the pkgdb. read the error message completely next time. :) -Frank
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?441B2C6A.70703>