Your message dated Thu, 18 Aug 2005 01:47:02 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#322847: fixed in approx 1.18
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Aug 2005 01:45:41 +0000
>From [EMAIL PROTECTED] Fri Aug 12 18:45:41 2005
Return-path: <[EMAIL PROTECTED]>
Received: from (localhost.localdomain) [82.160.30.103] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E3l5g-0006pA-00; Fri, 12 Aug 2005 18:45:41 -0700
Received: from miernik by localhost.localdomain with local (Exim 4.52)
        id 1E3l4j-0003t7-U5; Sat, 13 Aug 2005 03:44:41 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Miernik <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: returns corrupted files and is unusable when /var/cache/approx is on a 
vfat
 partition
X-Mailer: reportbug 3.15
Date: Sat, 13 Aug 2005 03:44:41 +0200
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-4.7 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        NORMAL_HTTP_TO_IP,WEIRD_PORT autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

Package: approx
Version: 1.15
Severity: normal

My /var/cache/approx is on a FAT partition like this:

jaworz:~$ df -T | tail -n 3
/dev/sda1              vfat      163472        20    163452   1% /mnt/sda1
/mnt/sda1/approx       none      163472        20    163452   1% 
/var/cache/approx
jaworz:~$ cat /etc/fstab | grep sda
/dev/sda                /media/usb0             auto    rw,user,noauto          
        0       0
/dev/sda1               /mnt/sda1               vfat    
defaults,dmask=0000,fmask=0111  0       0
/mnt/sda1/approx        /var/cache/approx       none    bind
jaworz:~$ cat /proc/mounts | grep sda
/dev/sda1 /mnt/sda1 vfat 
rw,nodiratime,fmask=0111,dmask=0000,codepage=cp437,iocharset=iso8859-1 0 0
/dev/sda1 /var/cache/approx vfat 
rw,nodiratime,fmask=0111,dmask=0000,codepage=cp437,iocharset=iso8859-1 0 0
jaworz:~$

Besides that the partition is on an SD card inserted in an USB flash
card reader, but if it is on an ext3 partition in the same reader it
works correctly. Using mount --bind is also not the problem - testing
with ext3 in the same configuration worked correctly.

Here is what happens:

jaworz:~$ sudo aptitude update
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Get:1 http://192.168.1.14 sid Release.gpg [189B]
Get:2 http://192.168.1.14 sid Release [34.1kB]
Ign http://192.168.1.14 sid Release
Get:3 http://192.168.1.14 sid/main Packages [2857kB]
99% [3 Packages bzip2 0]
bzip2: Compressed file ends unexpectedly;
        perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
        Input file = (stdin), 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.

Err http://192.168.1.14 sid/main Packages
  Sub-process bzip2 returned an error code (2)
Fetched 2891kB in 3s (787kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Deleting obsolete downloaded files
jaworz:~$

My approx config:

jaworz:~$ cat /etc/approx/approx.conf | grep -v '#' | uniq
interval        120
debug           true
debian          http://ftp.cz.debian.org/debian
jaworz:~$ cat /etc/apt/sources.list | grep -v '#'
deb http://192.168.1.14:9999/debian sid main
jaworz:~$

Both aptitude and approx is run on the same machine.

Here is daemon.log output:

Aug 13 03:33:44 localhost approx: Config file: /etc/approx/approx.conf
Aug 13 03:33:44 localhost approx: Port: 9999
Aug 13 03:33:44 localhost approx: Cache: /var/cache/approx
Aug 13 03:33:44 localhost approx: Interval: 2 hours
Aug 13 03:33:44 localhost approx: Debug: true
Aug 13 03:33:56 localhost approx: Connection from 192.168.1.14
Aug 13 03:33:56 localhost approx: Request /debian/dists/sid/Release.gpg
Aug 13 03:33:56 localhost approx:   connection: keep-alive
Aug 13 03:33:56 localhost approx:   host: 192.168.1.14:9999
Aug 13 03:33:56 localhost approx:   user-agent: Debian APT-HTTP/1.3
Aug 13 03:33:56 localhost approx: 
http://ftp.cz.debian.org/debian/dists/sid/Release.gpg
Aug 13 03:33:57 localhost approx:   HTTP/1.1 200 OK
Aug 13 03:33:57 localhost approx:   Date: Sat, 13 Aug 2005 01:33:56 GMT
Aug 13 03:33:57 localhost approx:   Server: Apache/2.0.54 (Debian GNU/Linux) 
mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-15 mod_ssl/2.0.54 OpenSSL/0.9.7e 
mod_perl/1.999.21 Perl/v5.8.4
Aug 13 03:33:57 localhost approx:   Last-Modified: Fri, 12 Aug 2005 19:44:55 GMT
Aug 13 03:33:57 localhost approx:   ETag: "90001115-bd-bf7e3bc0"
Aug 13 03:33:57 localhost approx:   Accept-Ranges: bytes
Aug 13 03:33:57 localhost approx:   Content-Length: 189
Aug 13 03:33:57 localhost approx:   Content-Type: text/plain; charset=ISO-8859-2
Aug 13 03:33:57 localhost approx: HTTP proxy response: 200
Aug 13 03:33:57 localhost approx:   Date: Sat, 13 Aug 2005 01:33:56 GMT
Aug 13 03:33:57 localhost approx:   Server: Apache/2.0.54 (Debian GNU/Linux) 
mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-15 mod_ssl/2.0.54 OpenSSL/0.9.7e 
mod_perl/1.999.21 Perl/v5.8.4
Aug 13 03:33:57 localhost approx:   Last-Modified: Fri, 12 Aug 2005 19:44:55 GMT
Aug 13 03:33:57 localhost approx:   Content-Length: 189
Aug 13 03:33:57 localhost approx:   Content-Type: text/plain; charset=ISO-8859-2
Aug 13 03:33:57 localhost approx:   open cache debian/dists/sid/Release.gpg
Aug 13 03:33:57 localhost approx:   close cache debian/dists/sid/Release.gpg
Aug 13 03:33:57 localhost approx:   setting mtime to Fri, 12 Aug 2005 19:44:55 
GMT
Aug 13 03:33:57 localhost approx:   close cache debian/dists/sid/Release.gpg
Aug 13 03:33:57 localhost approx: Connection from 192.168.1.14
Aug 13 03:33:57 localhost approx: Request /debian/dists/sid/Release
Aug 13 03:33:57 localhost approx:   connection: keep-alive
Aug 13 03:33:57 localhost approx:   host: 192.168.1.14:9999
Aug 13 03:33:57 localhost approx:   user-agent: Debian APT-HTTP/1.3
Aug 13 03:33:57 localhost approx: 
http://ftp.cz.debian.org/debian/dists/sid/Release
Aug 13 03:33:57 localhost approx:   HTTP/1.1 200 OK
Aug 13 03:33:57 localhost approx:   Date: Sat, 13 Aug 2005 01:33:57 GMT
Aug 13 03:33:57 localhost approx:   Server: Apache/2.0.54 (Debian GNU/Linux) 
mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-15 mod_ssl/2.0.54 OpenSSL/0.9.7e 
mod_perl/1.999.21 Perl/v5.8.4
Aug 13 03:33:57 localhost approx:   Last-Modified: Fri, 12 Aug 2005 19:44:55 GMT
Aug 13 03:33:57 localhost approx:   ETag: "90013561-8514-bf7e3bc0"
Aug 13 03:33:57 localhost approx:   Accept-Ranges: bytes
Aug 13 03:33:57 localhost approx:   Content-Length: 34068
Aug 13 03:33:57 localhost approx:   Content-Type: text/plain; charset=ISO-8859-2
Aug 13 03:33:57 localhost approx: HTTP proxy response: 200
Aug 13 03:33:57 localhost approx:   Date: Sat, 13 Aug 2005 01:33:57 GMT
Aug 13 03:33:57 localhost approx:   Server: Apache/2.0.54 (Debian GNU/Linux) 
mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-15 mod_ssl/2.0.54 OpenSSL/0.9.7e 
mod_perl/1.999.21 Perl/v5.8.4
Aug 13 03:33:57 localhost approx:   Last-Modified: Fri, 12 Aug 2005 19:44:55 GMT
Aug 13 03:33:57 localhost approx:   Content-Length: 34068
Aug 13 03:33:57 localhost approx:   Content-Type: text/plain; charset=ISO-8859-2
Aug 13 03:33:57 localhost approx:   close cache debian/dists/sid/Release.gpg
Aug 13 03:33:57 localhost approx: Connection from 192.168.1.14
Aug 13 03:33:57 localhost approx: Request 
/debian/dists/sid/main/binary-i386/Packages.bz2
Aug 13 03:33:57 localhost approx:   connection: keep-alive
Aug 13 03:33:57 localhost approx:   host: 192.168.1.14:9999
Aug 13 03:33:57 localhost approx:   user-agent: Debian APT-HTTP/1.3
Aug 13 03:33:57 localhost approx: 
http://ftp.cz.debian.org/debian/dists/sid/main/binary-i386/Packages.bz2
Aug 13 03:33:58 localhost approx:   HTTP/1.1 200 OK
Aug 13 03:33:58 localhost approx:   Date: Sat, 13 Aug 2005 01:33:58 GMT
Aug 13 03:33:58 localhost approx:   Server: Apache/2.0.54 (Debian GNU/Linux) 
mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-15 mod_ssl/2.0.54 OpenSSL/0.9.7e 
mod_perl/1.999.21 Perl/v5.8.4
Aug 13 03:33:58 localhost approx:   Last-Modified: Fri, 12 Aug 2005 19:14:23 GMT
Aug 13 03:33:58 localhost approx:   ETag: "382b8e36-2b97be-524c21c0"
Aug 13 03:33:58 localhost approx:   Accept-Ranges: bytes
Aug 13 03:33:58 localhost approx:   Content-Length: 2856894
Aug 13 03:33:58 localhost approx:   Content-Type: text/plain; charset=ISO-8859-2
Aug 13 03:33:58 localhost approx: HTTP proxy response: 200
Aug 13 03:33:58 localhost approx:   Date: Sat, 13 Aug 2005 01:33:58 GMT
Aug 13 03:33:58 localhost approx:   Server: Apache/2.0.54 (Debian GNU/Linux) 
mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-15 mod_ssl/2.0.54 OpenSSL/0.9.7e 
mod_perl/1.999.21 Perl/v5.8.4
Aug 13 03:33:58 localhost approx:   Last-Modified: Fri, 12 Aug 2005 19:14:23 GMT
Aug 13 03:33:58 localhost approx:   Content-Length: 2856894
Aug 13 03:33:58 localhost approx:   Content-Type: text/plain; charset=ISO-8859-2
Aug 13 03:33:58 localhost approx:   close cache debian/dists/sid/Release.gpg

When aptitude fails quickly and quits, approx continues downloading the
file at least for some time after, because I see it in tcpdump.

Permissions are OK, because I mounted the FAT partition so it is
world-writable.

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-386
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages approx depends on:
ii  libc6                 2.3.5-3            GNU C Library: Shared libraries an
ii  libcurl3              7.14.0-4           Multi-protocol file transfer libra
ii  libidn11              0.5.18-1           GNU libidn library, implementation
ii  libpcre3              5.0-1.1            Perl 5 Compatible Regular Expressi
ii  libssl0.9.7           0.9.7g-1           SSL shared libraries
ii  wget                  1.10-3+1.10.1beta1 retrieves files from the web
ii  zlib1g                1:1.2.3-3          compression library - runtime

approx recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 322847-close) by bugs.debian.org; 18 Aug 2005 08:54:40 +0000
>From [EMAIL PROTECTED] Thu Aug 18 01:54:40 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E5g3C-0003H2-00; Thu, 18 Aug 2005 01:47:02 -0700
From: Eric Cooper <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#322847: fixed in approx 1.18
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 18 Aug 2005 01:47:02 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: approx
Source-Version: 1.18

We believe that the bug you reported is fixed in the latest version of
approx, which is due to be installed in the Debian FTP archive:

approx_1.18.dsc
  to pool/main/a/approx/approx_1.18.dsc
approx_1.18.tar.gz
  to pool/main/a/approx/approx_1.18.tar.gz
approx_1.18_i386.deb
  to pool/main/a/approx/approx_1.18_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Eric Cooper <[EMAIL PROTECTED]> (supplier of updated approx package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 31 Jul 2005 16:10:13 -0400
Source: approx
Binary: approx
Architecture: source i386
Version: 1.18
Distribution: unstable
Urgency: low
Maintainer: Eric Cooper <[EMAIL PROTECTED]>
Changed-By: Eric Cooper <[EMAIL PROTECTED]>
Description: 
 approx     - caching proxy server for Debian archive files
Closes: 322847
Changes: 
 approx (1.18) unstable; urgency=low
 .
   * Secure APT imposes additional consistency requirements on the cache:
     - Release and Release.gpg files must agree
     - Packages and Sources files must agree with the Release file
       that mentions them
   * Closes: #322847
Files: 
 9ac369d694e528c3b4bf509680dc8be3 764 admin optional approx_1.18.dsc
 019e6f140c8888504a3e897dfe641073 19789 admin optional approx_1.18.tar.gz
 e7b7dc233c6f0163f97871a078e71638 414056 admin optional approx_1.18_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDBEmP1cqbBPLEI7wRAnA8AJ9VInXJmCmPjcqSQ8tbcXRWHFn4+wCfQsF+
cg5rSQB7KFmb1MiZ57KqrB8=
=I9EH
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to