Daily backups of pkgdb failure
Jason Hellenthal
jhell at DataIX.net
Wed May 4 23:26:00 UTC 2011
Doug,
On Wed, May 04, 2011 at 12:26:01PM -0700, Doug Barton wrote:
>On 05/04/2011 04:49, Hans Ottevanger wrote:
>> Hi,
>>
>> I upgraded my Soekris 4801 boxes from 8.1 to 8.2-STABLE (r221326) a few
>> days ago and now I get the following error in the daily mail:
>>
>> Backing up package db directory:
>> tar: : Cannot stat: No such file or directory
>> tar: Error exit delayed from previous errors.
>>
>> These messages originate from /etc/periodic/daily/220.backup-pkgdb,
>> apparently a recent addition.
>>
>> The culprit is probably on line 21:
>>
>> make -f/usr/share/mk/bsd.port.mk -V PKG_DBDIR
>> "/usr/share/mk/bsd.port.mk", line 11: Could not find
>> /usr/ports/Mk/bsd.port.mk
>> make: fatal errors encountered -- cannot continue
>
>Thanks, I'll take a look.
>
Move PKG_DBDIR out of ports(7) and/or duplicate it to
/usr/share/mk/bsd.port.mk.
Seems this could be used for far off more things than when ports(7) is
unpacked to its usual location.
--
Regards, (jhell)
Jason Hellenthal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 522 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20110504/647d6d05/attachment.pgp
More information about the freebsd-stable
mailing list