sysutils/bsdststs

Paul Schmehl pschmehl_lists at tx.rr.com
Thu Jan 1 20:41:19 UTC 2015


--On January 1, 2015 at 3:32:19 PM -0500 "A.J. Kehoe IV (Nanoman)" 
<nanoman at nanoman.ca> wrote:

> Paul Schmehl wrote:
>> I got my monthly report and noticed that a number of ports were corrupt.
>>
>> pkg_info: the package info for package 'OpenSP-1.5.2_2' is corrupt
>> pkg_info: the package info for package 'apache22-2.2.27_2' is corrupt
>> pkg_info: the package info for package 'autoconf-2.69' is corrupt
>>
>> My ports are fine according to %pkg info.
>>
>> Why is bsdstats still using the old ports utilities?  Is it going to be
>> updated?
>
> pkg support was added to the FreeBSD BSDstats port in 2012:
>
> http://svnweb.freebsd.org/ports/head/sysutils/bsdstats/files/300.statisti
> cs.in?r1=300897&r2=301654&pathrev=301654
>
> If the file /var/db/pkg/local.sqlite exists on your system, BSDstats
> should try to use pkg as expected.

It does.
# ls -lsa /var/db/pkg/local.sqlite
15696 -rw-r--r--  1 root  wheel  16044032 Jan  1 19:13 
/var/db/pkg/local.sqlite

Maybe there's a logic flaw?

Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
*******************************************
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell



More information about the freebsd-ports mailing list