A.J. Kehoe IV (Nanoman)
nanoman at nanoman.ca
Thu Jan 1 21:36:02 UTC 2015
Paul Schmehl wrote:
>--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
>> pkg support was added to the FreeBSD BSDstats port in 2012:
>> If the file /var/db/pkg/local.sqlite exists on your system, BSDstats
>> should try to use pkg as expected.
># ls -lsa /var/db/pkg/local.sqlite
>15696 -rw-r--r-- 1 root wheel 16044032 Jan 1 19:13
>Maybe there's a logic flaw?
That's possible, but it seems pretty simple:
if [ -e /var/db/pkg/local.sqlite ]; then
echo "pkg_* tools"
Are you using bsdstats-5.3_3 or later? bsdstats-5.5_5 is the current port version.
$ pkg info -E bsdstats
Was it /usr/local/etc/periodic/monthly/300.statistics that gave the package corruption errors?
# /usr/local/etc/periodic/monthly/300.statistics -nodelay
Posting monthly OS statistics to rpt.bsdstats.org
A.J. Kehoe IV (Nanoman) | /"\ ASCII Ribbon Campaign
Nanoman's Company | \ / - No HTML/RTF in E-mail
E-mail: nanoman at nanoman.ca | X - No proprietary attachments
WWW: http://www.nanoman.ca/ | / \ - Respect for open standards
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3924 bytes
Desc: not available
More information about the freebsd-ports