Re: how get /var/db/pkg?

2006-05-03 Thread Björn König
xiang schrieb: Today,i run pkgdb -F,but get a error message:you do not own /var/db/pkg,becouse i had delete /var/db/pkg by oversight just the other day. and i install som ports by pkg_add just now, then i can get /var/db/pkg,but only a record of few ports in /var/db/pkg. As a result,It do not

how get /var/db/pkg?

2006-05-03 Thread Robert Huff
xiang writes: Today,i run pkgdb -F,but get a error message:you do not own /var/db/pkg,becouse i had delete /var/db/pkg by oversight just the other day. how can i do now? If you have deleted all contents of /var/db/pkg, and you don't have a backup, you're screwed. You'll have

Re: how get /var/db/pkg?

2006-05-03 Thread Tom Grove
Robert Huff wrote: xiang writes: Today,i run pkgdb -F,but get a error message:you do not own /var/db/pkg,becouse i had delete /var/db/pkg by oversight just the other day. how can i do now? If you have deleted all contents of /var/db/pkg, and you don't have a backup, you're

Re: how get /var/db/pkg?

2006-05-03 Thread Robert Huff
Tom Grove writes: If you haven't run locate since you delete /var/db/pkg you could run: locate /var/db/pkg This will at least give you a partial (maybe a full) listing of everything you have installed. From there you could do a script that does something like: for $program

how get /var/db/pkg?

2006-05-02 Thread xiang
Today,i run pkgdb -F,but get a error message:you do not own /var/db/pkg,becouse i had delete /var/db/pkg by oversight just the other day. and i install som ports by pkg_add just now, then i can get /var/db/pkg,but only a record of few ports in /var/db/pkg. As a result,It do not show all ports