From amdmi3@amdmi3.ru  Wed Sep 19 12:12:27 2007
Return-Path: <amdmi3@amdmi3.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 501BF16A469
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Sep 2007 12:12:27 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from cp65.agava.net (cp65.agava.net [89.108.66.215])
	by mx1.freebsd.org (Postfix) with ESMTP id 0816313C469
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Sep 2007 12:12:26 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from [213.148.20.85] (helo=nexii.panopticon)
	by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.44 (FreeBSD))
	id 1IXyPo-000KIi-S4
	for FreeBSD-gnats-submit@freebsd.org; Wed, 19 Sep 2007 16:12:24 +0400
Received: from hades.panopticon (hades.panopticon [192.168.0.2])
	by nexii.panopticon (Postfix) with ESMTP id 5F56017055
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Sep 2007 16:11:43 +0400 (MSD)
Received: by hades.panopticon (Postfix, from userid 1000)
	id 1BB7140A3; Wed, 19 Sep 2007 16:13:41 +0400 (MSD)
Message-Id: <20070919121341.1BB7140A3@hades.panopticon>
Date: Wed, 19 Sep 2007 16:13:41 +0400 (MSD)
From: Dmitry Marakasov <amdmi3@amdmi3.ru>
Reply-To: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: portaudit fails to download a database
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         116462
>Category:       ports
>Synopsis:       ports-mgmt/portaudit fails to download a database
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    secteam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 19 12:20:06 GMT 2007
>Closed-Date:    Wed Sep 19 14:47:18 GMT 2007
>Last-Modified:  Wed Sep 19 14:47:18 GMT 2007
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE-p12 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 23:12:21 MSK 2007 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
portaudit-0.5.11 fails to download a database:

# portaudit -F
auditfile.tbz                                            0  B    0  Bps

bzip2: Compressed file ends unexpectedly;
        perhaps it is corrupted?  *Possible* reason follows.
bzip2: Unknown error: 0
        Input file = /var/db/portaudit/auditfile.tbz, output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Error opening archive: Empty input file: Inappropriate file type or format

bzip2: Compressed file ends unexpectedly;
        perhaps it is corrupted?  *Possible* reason follows.
bzip2: Unknown error: 0
        Input file = /var/db/portaudit/auditfile.tbz, output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Error opening archive: Empty input file: Inappropriate file type or format
portaudit: Database corrupt.
Old database restored.
portaudit: Download failed.

>How-To-Repeat:
run portaudio -F
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->secteam 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Sep 19 13:30:47 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116462 
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Wed Sep 19 14:47:16 UTC 2007 
State-Changed-Why:  
The file had been updated manually; and I can confirm that this works 
again. This was probably caused by a crashing machine, our apologies for 
any inconvience this might have caused. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116462 
>Unformatted:
